documentationfor yFiles for HTML 3.0.0.3

ICoordinateAssigner

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

Inheritance Hierarchy
ICoordinateAssigner

Remarks

Implementations of this interface are used during the drawing phase of HierarchicalLayout. 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 HierarchicalLayout is CoordinateAssigner. Custom implementations of ICoordinateAssigner interface can be specified for the hierarchical layout algorithm using property coordinateAssigner of the respective core.

Type Details

yFiles module
algorithms

See Also

Methods