|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.layout.planar.EdgeRouter
Instances of this class route edges through a planar graph using it's dual graph
Constructor Summary | |
EdgeRouter(PlanarInformation _planar)
|
Method Summary | |
boolean |
getUseSmartrouting()
Returns if smart routing should be used. |
void |
insertEdges(EdgeList edges)
Inserts a list of edges into the graph by routing through the dual graph. |
void |
rerouteEdges(EdgeList edges)
this method tries to find better paths for all edges that caused crossings. |
void |
rerouteEdges(int iter,
EdgeList edges)
this method tries to find better paths for all edges that caused crossings. |
void |
setUseSmartRouting(boolean value)
Sets if smart routing should be used. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EdgeRouter(PlanarInformation _planar)
Method Detail |
public void setUseSmartRouting(boolean value)
public boolean getUseSmartrouting()
public void insertEdges(EdgeList edges)
edges
- the edges to be routed routed.public void rerouteEdges(int iter, EdgeList edges)
Precondition is a valid dual graph
iter
- number of iterations to perform, a value less or equal to
zero causes the the method
to run until the best possible result is foundpublic void rerouteEdges(EdgeList 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 |