This interface is used by HierarchicalLayoutCore to calculate the order of the nodes within each layer.
Inheritance Hierarchy
Remarks
Implementations are used during the second phase of the hierarchical layout process and can be set using method fixedElementsSequencer or fromScratchSequencer.
Type Details
- yFiles module
- algorithms
See Also
Methods
Calculates the sequence of the nodes within each layer of the layers list in the given layoutContext
.
Remarks
This method is called by HierarchicalLayoutCore during the second phase and finally writes back the calculated sequence using the setNodeOrder method.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- graph - LayoutGraph
- the input graph
- layoutContext - HierarchicalLayoutContext
- The HierarchicalLayoutContext instance which provides access to context information about the nodes and edges of the graph, as well as the ItemFactory used temporarily for modifying the graph instance.