documentationfor yFiles for HTML 3.0.0.2

LevelAlignedSubtreePlacer

A LevelAlignedSubtreePlacer arranges the nodes of a subtree into layers such that nodes on the same level/depth are aligned.

Inheritance Hierarchy
LevelAlignedSubtreePlacer
Implemented Interfaces

Remarks

Layout Style

Nodes that have the same depth in the tree will be placed in the same horizontal layer. They will be vertically aligned.

Default Values of Properties

busAlignment0.5
dendrogramStylefalseThe nodes are assigned to the topmost layer.
edgeRoutingStyleSTRAIGHT_LINE
layerSpacing40
rootAlignmentTRAILING
spacing20
verticalAlignment0.5Nodes are center aligned.

Type Details

yFiles module
algorithms

See Also

Changing the orientation within the LevelAlignedSubtreePlacer may lead to misaligned nodes, as the transformation is applied after the layering process.

Constructors

Properties

Methods