documentationfor yFiles for HTML 2.6

IHierarchicLayoutNodePlacer

This interface is responsible for the assignment of the x-(sequence) and preliminary y-coordinates of the nodes in a hierarchic layout.

Inheritance Hierarchy
IHierarchicLayoutNodePlacer

Remarks

Implementations of this interface are used during the drawing phase of HierarchicLayoutCore. They determine preliminary y-coordinates (which may be adjusted during the final edge routing) and the resulting x-coordinates of all elements that are part of the graph during the node placement phase.

The minimum distance between each pair of nodes of the graph is determined by a IDrawingDistanceCalculator instance.

The default implementation used by the HierarchicLayoutCore is SimplexNodePlacer. Custom implementations of IHierarchicLayoutNodePlacer interface can be used for hierarchic layout algorithms using methods nodePlacer or nodePlacer.

Type Details

yfiles module
layout-hierarchic
yfiles-umd modules
layout-familytree, layout-hierarchic, layout-radial, layout
Legacy UMD name
yfiles.hierarchic.INodePlacer

See Also

Methods