Examples for 'visNetwork::visHierarchicalLayout'


Network visualization Hierarchical layout options

Aliases: visHierarchicalLayout

Keywords:

### ** Examples


nodes <- data.frame(id = 1:10)
edges <- data.frame(from = round(runif(8)*10), to = round(runif(8)*10))

visNetwork(nodes, edges) %>%
 visHierarchicalLayout()
Error in loadNamespace(name): there is no package called 'webshot'
visNetwork(nodes, edges) %>%
 visHierarchicalLayout(direction = "LR")
Error in loadNamespace(name): there is no package called 'webshot'

[Package visNetwork version 2.1.2 Index]