add_layout | R Documentation |
Calculate layout for nodes in graph
add_layout( graph, iterations = 2000 )
graph |
igraph object representing your graph |
iterations |
Integer representing number of iterations |
## Not run: graph <- example_graph() graph <- add_layout(graph) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.