java.lang.Object
iiuf.swing.graph.StraightLineRouter
- All Implemented Interfaces:
- GraphRouter
- public class StraightLineRouter
- extends java.lang.Object
- implements GraphRouter
Straight line edge router, connects directly two points doesn't check any crossing etc..
(c) 2000, 2001, IIUF, DIUF
- Version:
- $Name: $ $Revision: 1.1 $
|
Field Summary |
private static double |
PI2
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PI2
private static final double PI2
- See Also:
- Constant Field Values
StraightLineRouter
public StraightLineRouter()
init
public void init()
- Specified by:
init in interface GraphRouter
setupEdges
public void setupEdges(GraphPanel panel,
GraphEdge[] edges,
java.awt.Component[] nodes)
- Specified by:
setupEdges in interface GraphRouter