documentationfor yFiles for HTML 2.6

LeftRightNodePlacer

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

Inheritance Hierarchy
RotatableNodePlacerBase
LeftRightNodePlacer
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 branch count, 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
verticalDistance20

Type Details

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

See Also

Constructors

Properties

Methods

Fields

Constants

Static Methods