This interface serves as a callback for HierarchicalLayoutCore after the layering and sequencing phases.
Inheritance Hierarchy
IPortCandidateSelector
Remarks
Implementations of this interface may choose/modify the selected port candidate information via selectedSourcePortCandidate and selectedTargetPortCandidate.
Type Details
- yFiles module
- algorithms
Methods
Assigns new selected port candidates after the layering information has been determined.
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 containing information about the elements, as well as the ItemFactory instance to set the selected port candidates with.
See Also
Assigns new selected port candidates after the sequence of the nodes has been determined.
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 providing context information about the graph elements, as well as the ItemFactory instance to set the selected port candidates with.