g_layout_polygon | R Documentation |
Layout with group as a polygon
Layout with group as a polyarc
Layout with group as a polyarc
g_layout_polygon(
go,
group = "v_group",
group_order = NULL,
group2 = NULL,
group2_order = NULL,
line_curved = 0.5
)
g_layout_polyarc(
go,
group = "v_group",
group_order = NULL,
group2 = NULL,
group2_order = NULL,
space = pi/4,
scale_node_num = TRUE
)
g_layout_polycircle(
go,
group = "v_group",
group_order = NULL,
group2 = NULL,
group2_order = NULL
)
go |
igraph |
group |
group name (default:v_group) |
group_order |
group_order |
group2 |
group2 name, will order nodes in each group according to group2_order |
group2_order |
group2_order |
line_curved |
line_curved 0~1 |
space |
the space between each arc, default: pi/4 |
scale_node_num |
scale with the node number in each group |
coors
Other g_layout:
g_layout()
g_layout_polygon(multi1) -> oridata
c_net_plot(multi1, oridata)
g_layout_polyarc(multi1, group2 = "v_class", group2_order = c(LETTERS[4:1])) -> oridata
c_net_plot(multi1, oridata)
g_layout_polycircle(co_net2, group2 = "v_class") -> oridata
c_net_plot(co_net2, oridata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.