Description Usage Arguments Value Note See Also
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.
1 2 | layout_igraph_dendrogram(graph, circular = FALSE, offset = pi/2,
direction = "out")
|
graph |
An igraph object |
circular |
Logical. Should the layout be transformed to a circular
representation. Defaults to |
offset |
If |
direction |
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.
This function is not intended to be used directly but by setting
layout = 'dendrogram'
in create_layout
Other layout_igraph_*: layout_igraph_auto
,
layout_igraph_circlepack
,
layout_igraph_hive
,
layout_igraph_linear
,
layout_igraph_manual
,
layout_igraph_partition
,
layout_igraph_treemap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.