View source: R/layout-circle.R
| layout_circle | R Documentation |
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.
layout_circle(network, order = NULL, start_angle = pi/2, clockwise = TRUE, ...)
network |
A |
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
|
start_angle |
Angle in radians of the reference position. Default
|
clockwise |
Logical. Default |
... |
Ignored. |
A data frame with columns x and y and one row per
node, in node order.
layout_circle(CographNetwork$new(regulation_net))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.