add_centrality | R Documentation |
Add centrality to your graph
add_centrality( graph, size = 12 )
graph |
igraph object representing your graph |
size |
Default 12, size of the vertice nodes, scales with centrality value |
## Not run: graph <- example_graph() graph <- add_centrality(graph) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.