Learn R Programming

visNetwork (version 2.0.9)

visNetworkEditor: Visualize, customize and get back a visNetwork object. Need shiny package

Description

Visualize, customize and get back a visNetwork object. Need shiny package

Usage

visNetworkEditor(object, filter = NULL, showButton = NULL)

Arguments

object

: a visNetwork object

filter
showButton

Value

a visNetwork object

References

See online documentation http://datastorm-open.github.io/visNetwork/

See Also

visConfigure, visTree, visNetworkEditorServer

Examples

Run this code
# NOT RUN {
# }
# 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

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab