Use visConfigure() to configure and view options directly on your network

Don’t show here. Test and open the network in a web browser. Can be very usefull to configure your network as wanted !

nodes <- data.frame(id = 1:3, label = LETTERS[1:3])
edges <- data.frame(from = c(1,2), to = c(1,3))

# don't look in RStudio viewer
visNetwork(nodes, edges, width = "100%") %>%
 visConfigure(enabled = TRUE)

Drawing

© 2016-2017 DataStorm

Fork me on GitHub