View source: R/visNetworkEditor.R
visNetworkEditor | R Documentation |
visNetwork
object. Need shiny packageVisualize, customize and get back a visNetwork
object. Need shiny package
visNetworkEditor(object, filter = NULL, showButton = NULL)
object |
: a |
filter |
: see visConfigure |
showButton |
: see visConfigure |
a visNetwork
object
See online documentation https://datastorm-open.github.io/visNetwork/
visConfigure, visTree, visNetworkEditorServer
## Not run: nodes <- data.frame(id = 1:3, label = paste("Node", 1:3)) edges <- data.frame(from = c(1,2), to = c(1,3), label = paste("Edge", 1:2)) network <- visNetwork(nodes, edges) custom_network <- visNetworkEditor(object = network) custom_network custom_network <- visNetworkEditor(object = network, filter = "nodes,edges") custom_network ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.