|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.layout.hierarchic.EdgeReverser
Helper that reverses edges that are oriented in the wrong direction.
Constructor Summary | |
EdgeReverser()
|
Method Summary | |
void |
reverseEdges(Graph g,
EdgeList edgeList)
Reverses the edges contained ion the given edge list |
static EdgeList |
reverseUpwardEdges(Graph g,
NodeMap layerMap)
Reverses edges in the given graph whose source node has a larger layer ID than the target node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EdgeReverser()
Method Detail |
public static EdgeList reverseUpwardEdges(Graph g, NodeMap layerMap)
g
- target graphlayerMap
- node map that contains a layer ID for each node
public void reverseEdges(Graph g, EdgeList edgeList)
g
- the graph containing the edges in edgeListedgeList
- contains to be reversed edges.
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |