I

ISequencer

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.

See Also

API

fixedElementsSequencer, fromScratchSequencer

Members

No filters for this type

Methods

Calculates the sequence of the nodes within each layer of the layers list in the given layoutContext.
This method is called by HierarchicalLayoutCore during the second phase and finally writes back the calculated sequence using the setNodeOrder method.
abstract

Parameters

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.