Usage
layout_igraph_hive(graph, axis, axis.pos = NULL, sort.by = NULL, divide.by = NULL, divide.order = NULL, normalize = TRUE, center.size = 0.1, divide.size = 0.05, use.numeric = FALSE, offset = pi/2, split.axes = "none", split.angle = pi/6, circular = FALSE)
Arguments
axis
The node attribute to use for assigning nodes to axes
axis.pos
The relative distance to the prior axis. Default
(NULL
) places axes equidistant.
sort.by
The node attribute to use for placing nodes along their axis.
Defaults (NULL
) places nodes sequentially.
divide.by
An optional node attribute to subdivide each axis by.
divide.order
The order the axis subdivisions should appear in
normalize
Logical. Should axis lengths be equal or reflect the number
of nodes in each axis. Defaults to TRUE
.
center.size
The size of the blank center, that is, the start position
of the axes.
divide.size
The distance between subdivided axis segments.
use.numeric
Logical, If the sort.by
attribute is numeric,
should these values be used directly in positioning the nodes along the axes.
Defaults to FALSE
which sorts the numeric values and positions them
equidistant from each other.
offset
Change the overall rotation of the hive plot by changing the
offset of the first axis.
split.axes
Should axes be split to show edges between nodes on the
same axis? One of:
split.angle
The angular distance between the two axes resulting from a
split.