documentationfor yFiles for HTML 2.6

RotatableNodePlacerBase

Abstract base class for ITreeLayoutNodePlacers that support rotations of the subtrees.

Remarks

The direction specified in this RotatableNodePlacerBase (defined by a transformation matrix) rotates the subtree that is placed. This is the final direction of this subtree. Rotations are not accumulated.

ITreeLayoutNodePlacers of this type will only implement the default direction (i.e. top-to-bottom). The other directions are calculated using the specified modification RotatableNodePlacerMatrix. The direction used by the implementing ITreeLayoutNodePlacers is called the model direction while the actual direction in the graph is the real direction.

Note that using rotatable ITreeLayoutNodePlacers has some pitfalls. Calculations must be aware of the rotations. Especially operations on BorderLines should not be called directly (e.g. mergeWithMin, mergeWithMax). The corresponding methods of RotatableNodePlacerBase already support the different directions.

Subclasses just need to override the following two abstract methods: placeSubtreeOfNode and determineChildConnectors.

Default Values of Properties

spacing20

Type Details

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

See Also

Constructors

Properties

Methods

Fields

Static Methods