This layout mimicks the layout_as_tree
algorithm
supplied by igraph, but puts all leaves at 0 and builds it up from there,
instead of starting from the root and building it from there. The height of
branch points are related to the maximum distance to an edge from the branch
node.
layout_igraph_dendrogram(graph, circular = FALSE, offset = pi/2,
direction = "out")
An igraph object
Logical. Should the layout be transformed to a circular
representation. Defaults to FALSE
.
If circular = TRUE
, where should it begin. Defaults to
pi/2
which is equivalent to 12 o'clock.
The direction to the leaves. Defaults to 'out'
A data.frame with the columns x
, y
, circular
and
leaf
as well as any information stored as vertex attributes on the
igraph object.
Other layout_igraph_*: layout_igraph_auto
,
layout_igraph_circlepack
,
layout_igraph_hive
,
layout_igraph_linear
,
layout_igraph_manual
,
layout_igraph_partition
,
layout_igraph_treemap