public interface IPortAllocator
IPortAllocator
is used by HierarchicLayoutCore
after the sequencing phase.
HierarchicLayoutCore
Modifier and Type | Method and Description |
---|---|
void |
assignPorts(LayoutGraph graph,
ILayers layers,
ILayoutDataProvider ldp,
IItemFactory itemFactory)
Assigns to each edge of the graph a source port and target port coordinate pair.
|
void assignPorts(LayoutGraph graph, ILayers layers, ILayoutDataProvider ldp, IItemFactory itemFactory)
This method is called by HierarchicLayoutCore
after the sequencing phase.
graph
- the input graphlayers
- the given ILayers
instance containing the elements in the layeringldp
- the ILayoutDataProvider
containing layering information about the nodes and edges of the graphitemFactory
- the IItemFactory
used temporarily for modifying the graph instance