Description Usage Arguments Value Examples
Works by drawing a scatter3d of the vertices and tracing each edge with its own scatter3d. Procs one RColorBrewer palette warning per edge, but don't worry about it.
1 | plotligraph(graph_obj, layout = NA, ...)
|
graph_obj |
'igraph' object |
layout |
optional 'igraph' layout matrix, preferably in 3 dimensions. Will generate with 'layout.fruchterman.reingold' and dim = 3 otherwise. |
... |
additional arguments passed to 'plot_ly'. |
plot_ly object
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.