documentationfor yFiles for HTML 2.6

AssistantNodePlacer

The AssistantNodePlacer places nodes that are marked as assistants left and right of their parents and all other nodes below the assistant nodes.

Inheritance Hierarchy
RotatableNodePlacerBase
AssistantNodePlacer
Implemented Interfaces

Remarks

Layout Style

Assistants are marked

Concept

This ITreeLayoutNodePlacer delegates the placement of all assistant nodes to an instance of LeftRightNodePlacer. The non-assistant nodes are handled by another node placer. To be able to do this, AssistantNodePlacer uses a IProcessor which prepares the graph for node placing.

A IDataProvider that is registered using ASSISTANT_NODE_DP_KEY returns true for assistant nodes and false for all other nodes.

Default Values of Properties

childNodePlacerSimpleNodePlacerA with local roots is used.
spacing20

Type Details

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

See Also

This node placer produces the best results when using a ITreeLayoutPortAssignment that starts all edges at the same port. If the ports are distributed along the border, edge crossings may occur.

Constructors

Properties

Methods

Fields

Constants

Static Methods