documentationfor yFiles for HTML 3.0.0.2

LeftRightSubtreePlacer

The LeftRightSubtreePlacer arranges the children in a subtree on the left and the right of a vertical bus.

Inheritance Hierarchy
LeftRightSubtreePlacer
Implemented Interfaces

Remarks

Layout Style

The default settings generate a layout with a single vertical bus, where children are placed left and right of it. By adjusting the branchCount, it is possible to generate multiple vertical buses (i.e. branches) that are placed next to each other, below the root node.

Default, single-branch layout

Layout with three branches

Default Values of Properties

branchCount1The layout consists of a single branch.
horizontalDistance20
placeLastOnBottomtrueThe last child is centered below its siblings
spacing20
verticalDistance20

Type Details

yFiles module
algorithms

See Also

Constructors

Properties

Methods

Constants