g_layout_polygon: Layout with group as a polygon

g_layout_polygonR Documentation

Layout with group as a polygon

Description

Layout with group as a polygon

Layout with group as a polyarc

Layout with group as a polyarc

Usage

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
)

Arguments

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

Value

coors

See Also

Other g_layout: g_layout()

Examples

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)

MetaNet documentation built on May 29, 2024, 1:21 a.m.