|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EdgeReverser
Interface for implementations that perform their work after the first phase.
HierarchicLayouter
Method Summary | |
---|---|
void |
normalizeEdges(LayoutGraph graph,
LayoutDataProvider ldp)
Called at the beginning of the layout algorithm. |
void |
restoreEdgeDirections(LayoutGraph graph,
LayoutDataProvider ldp)
Called at the end of the layout algorithm. |
void |
reverse(LayoutGraph graph,
LayoutDataProvider ldp,
Edge edge)
May be called by the incremental parts of the layout algorithm. |
Method Detail |
---|
void normalizeEdges(LayoutGraph graph, LayoutDataProvider ldp)
graph
- the graph that contains the elementsldp
- the LayoutDataProvider that can be queried to receive the
layering informationLayoutDataProvider.getNodeData(y.base.Node)
,
NodeData.getLayer()
void reverse(LayoutGraph graph, LayoutDataProvider ldp, Edge edge)
graph
- the graph that contains the elementsldp
- the LayoutDataProvider that can be queried to receive the
layering informationedge
- the edge to reverseLayoutDataProvider.getNodeData(y.base.Node)
,
NodeData.getLayer()
void restoreEdgeDirections(LayoutGraph graph, LayoutDataProvider ldp)
graph
- the graph that contains the elementsldp
- the LayoutDataProvider that can be queried to receive the
layering information
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |