Places the nodes at evenly spaced positions on a circle of radius 0.4 centered at (0.5, 0.5). A single node is placed at the center.
Arguments
- network
A
CographNetworkorcograph_networkobject.- order
Optional vector of node indices or labels. Its i-th element is the node placed at the i-th position. Labels are matched only for a
CographNetworkobject. An order of the wrong length, or with unmatched labels, raises a warning and the default order is used.- start_angle
Angle in radians of the reference position. Default
pi/2(top of the circle).- clockwise
Logical. Default
TRUEplaces the positions clockwise, with the last position atstart_angleand the first position one step clockwise of it.FALSEplaces the first position atstart_angleand continues counterclockwise.- ...
Ignored.
Examples
layout_circle(CographNetwork$new(regulation_net))
#> x y
#> 1 0.7351141 0.8236068
#> 2 0.8804226 0.6236068
#> 3 0.8804226 0.3763932
#> 4 0.7351141 0.1763932
#> 5 0.5000000 0.1000000
#> 6 0.2648859 0.1763932
#> 7 0.1195774 0.3763932
#> 8 0.1195774 0.6236068
#> 9 0.2648859 0.8236068
#> 10 0.5000000 0.9000000
