layout_centrality_group | R Documentation |
arranges nodes in concentric circles according to a centrality index and keeping groups within a angle range
layout_with_centrality_group(g, cent, group, shrink = 10, ...)
layout_igraph_centrality_group(g, cent, group, shrink = 10, circular, ...)
g |
igraph object |
cent |
centrality scores |
group |
vector indicating grouping of nodes |
shrink |
shrink the reserved angle range for a group to increase the gaps between groups |
... |
additional arguments to layout_with_centrality The layout_igraph_* function should not be used directly. It is only used as an argument for plotting with 'igraph'. 'ggraph' natively supports the layout. |
circular |
not used |
matrix of xy coordinates
layout_centrality
library(igraph)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.