layout_igraph_treemap(graph, algorithm = "split", weight = NULL, circular = FALSE, sort.by = NULL, direction = "out", height = 1, width = 1)
'out'
(default)
means that parents point towards their children, while 'in'
means that
children point towards their parent.x
, y
, width
,
height
, leaf
, depth
, circular
as well as any
information stored as vertex attributes on the igraph object.
Algorithms
Split (default)
The Split algorithm was developed by Bjorn Engdahl in order to address the downsides of both the original slice-and-dice algorithm (poor aspect ratio) and the popular squarify algorithm (no ordering of nodes). It works by finding the best cut in the ordered list of children in terms of making sure that the two rectangles associated with the split will have optimal aspect ratio.
Johnson, B., & Ben Shneiderman. (1991). Tree maps: A Space-Filling Approach to the Visualization of Hierarchical Information Structures. IEEE Visualization, 284-291. http://doi.org/10.1109/VISUAL.1991.175815
layout_igraph_auto
,
layout_igraph_circlepack
,
layout_igraph_dendrogram
,
layout_igraph_hive
,
layout_igraph_linear
,
layout_igraph_manual
,
layout_igraph_partition