documentationfor yFiles for HTML 3.0.0.2

DoubleLayerSubtreePlacer

The DoubleLayerSubtreePlacer arranges the subtrees of a local root alternating in two layers.

Inheritance Hierarchy
DoubleLayerSubtreePlacer
Implemented Interfaces

Remarks

Layout Style

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

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

Default Values of Properties

layerSpacingRatio0.33The distance between the two layers of subtrees is a third of the distance between the root and the upper layer.
rootAlignmentTRAILING
spacing20

Type Details

yFiles module
algorithms

See Also

Constructors

Properties

Methods