documentationfor yFiles for HTML 2.6

DoubleLineNodePlacer

The DoubleLineNodePlacer arranges the children of a local root alternating in two lines.

Inheritance Hierarchy
RotatableNodePlacerBase
DoubleLineNodePlacer
Implemented Interfaces

Remarks

Layout Style

This ITreeLayoutNodePlacer arranges nodes from top to bottom. It places the subtrees in two horizontal lines below the root. They are distributed in an alternating fashion, i.e., adjacent subtrees are in different lines.

This node placer is especially useful for leaves with a large width.

Default Values of Properties

doubleLineSpacingRatio0.33The distance between the two lines of subtrees is a third of the distance between the root and the upper line.
rootAlignmentCENTER
spacing20

Type Details

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

See Also

Constructors

Properties

Methods

Fields