|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgraph.util.JGParallelEdgeRouter
Algorithm which create intermediates points for parallel edges
Constructor Summary | |
JGParallelEdgeRouter()
|
Method Summary | |
static double |
getEdgeDeparture()
Getter to obtain the distance between intermediate and source/target points |
static double |
getEdgeSeparation()
Getter to obtain the distance between each parallel edge |
static JGParallelEdgeRouter |
getSharedInstance()
Getter for singleton managing parallel edges |
void |
route(EdgeView edge,
java.util.List points)
Calc of intermediates points |
static void |
setEdgeDeparture(double edgeDeparture)
Setter to define distance between intermediate and source/target points |
static void |
setEdgeSeparation(double edgeSeparation)
Setter to define distance between each parallel edge |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JGParallelEdgeRouter()
Method Detail |
public static JGParallelEdgeRouter getSharedInstance()
public void route(EdgeView edge, java.util.List points)
edge
- Edge for which routing is demandingpoints
- List of points for this edgepublic static double getEdgeSeparation()
public static void setEdgeSeparation(double edgeSeparation)
edgeSeparation
- New distancepublic static double getEdgeDeparture()
public static void setEdgeDeparture(double edgeDeparture)
edgeDeparture
- New distance
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |