This interface is responsible for assigning port coordinates to the adjacent edges of each node of the graph.
Inheritance Hierarchy
IHierarchicalLayoutPortAssigner
Remarks
IHierarchicalLayoutPortAssigner is used by HierarchicalLayoutCore after the sequencing phase.
Type Details
- yFiles module
- algorithms
Methods
Assigns to each edge of the graph a source port and target port coordinate pair.
Remarks
This method is called by HierarchicalLayoutCore after the sequencing phase.
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 layering information about the nodes and edges of the graph, as well as the ItemFactory instance used temporarily for modifying the graph.