layout_star | R Documentation |
Default layout function that arranges nodes in a star pattern with
one node (pkg
) at its center.
layout_star(graph, pkg, layout = "layout_as_star", ...)
graph |
: a visNetwork object |
pkg |
Name of the node to place at the center of the plot (e.g. "echolocatoR"). |
layout |
: Character Name of igraph layout function to use. Default to "layout_nicely" |
... |
Additional arguments passed to visIgraphLayout. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.