Description Usage Arguments Examples
Plot a network from an igraph object.
1 2 3 | igraph_nodes(g)
igraph_links(g)
|
g |
igraph object |
1 2 3 4 5 6 7 8 9 | g <- igraph::make_directed_graph(LETTERS)
nodes <- igraph_nodes(g)
links <- igraph_links(g)
echart() %>%
eforce_() %>%
enodes_(nodes, "name", ) %>%
elinks_(links, "source", "target")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.