|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortAllocator
This interface is responsible for assigning port coordinates to the adjacent edges of each node of the graph.
PortAllocator
is used by HierarchicLayouter
after the sequencing phase.
HierarchicLayouter
Method Summary | |
---|---|
void |
assignPorts(LayoutGraph graph,
Layers layers,
LayoutDataProvider ldp,
ItemFactory itemFactory)
Assigns to each edge of the graph a source port and target port coordinate pair. |
Method Detail |
---|
void assignPorts(LayoutGraph graph, Layers layers, LayoutDataProvider ldp, ItemFactory itemFactory)
This method is called by HierarchicLayouter
after the sequencing phase.
graph
- the input graphlayers
- the given Layers
instance containing the elements in the layeringldp
- the LayoutDataProvider
containing layering information about the nodes and edges of the graphitemFactory
- the ItemFactory
used temporarily for modifying the graph instance
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |