|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortAllocator
Interface used by HierarchicLayouter
during the layout.
Instances of this class are responsible for assigning port coordinates to
the adjacent edges of each node in the graph.
HierarchicLayouter
Method Summary | |
---|---|
void |
assignPorts(LayoutGraph graph,
Layers layers,
LayoutDataProvider ldp,
ItemFactory itemFactory)
Called by HierarchicLayouter before the actual node placing takes
place (phase three). |
Method Detail |
---|
void assignPorts(LayoutGraph graph, Layers layers, LayoutDataProvider ldp, ItemFactory itemFactory)
HierarchicLayouter
before the actual node placing takes
place (phase three).
This method must assign each edge in the graph a source port and target
port coordinate pair.
graph
- the graph which contains all the elementslayers
- the layers object that contains the elements in the layeringldp
- the LayoutDataProvider that can be queried for the NodeData
and EdgeData
instancesitemFactory
- the ItemFactory that can be used to temporarily modify
the graph instance
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |