Usage
layout_igraph_partition(graph, weight = NULL, circular = FALSE, height = NULL, sort.by = NULL, direction = "out", offset = pi/2, const.area = TRUE)
Arguments
weight
An optional vertex attribute to use as weight. Will only affect
the weight of leaf nodes as the weight of non-leaf nodes are derived from
their children.
circular
Logical. Should the layout be transformed to a circular
representation. If TRUE
the resulting layout will be a sunburst
diagram.
height
An optional vertex attribute to use as height. If NULL
all nodes will be given a height of 1.
sort.by
The name of a vertex attribute to sort the nodes by.
direction
The direction of the tree in the graph. 'out'
(default)
means that parents point towards their children, while 'in'
means that
children point towards their parent.
offset
If circular = TRUE
, where should it begin. Defaults to
pi/2
which is equivalent to 12 o'clock.
const.area
Logical. Should 'height' be scaled for area proportionality
when using circular = TRUE
. Defaults to TRUE
.