documentationfor yFiles for HTML 2.6

LayeredNodePlacer

A LayeredNodePlacer arranges the nodes of a subtree respecting layers.

Inheritance Hierarchy
RotatableNodePlacerBase
LayeredNodePlacer
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.
layerSpacing40
rootAlignmentCENTER_OVER_CHILDREN
routingStyleSTRAIGHT
spacing20
verticalAlignment0.5Nodes are center aligned.

Type Details

yfiles module
layout-tree
yfiles-umd modules
layout-orthogonal-compact, layout-orthogonal, layout-tree, layout
Legacy UMD name
yfiles.tree.LayeredNodePlacer

See Also

Changing the orientation within the LayeredNodePlacer is strongly discouraged because it causes problems with the layering.

Constructors

Properties

Methods

Fields