public class OrthogonalRouting
extends org.jgraph.graph.DefaultEdge.DefaultRouting
| Constructor and Description |
|---|
OrthogonalRouting() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPreferredLineStyle(org.jgraph.graph.EdgeView edge)
Returns the preferred line style for this routing.
|
java.util.List |
route(org.jgraph.graph.GraphLayoutCache cache,
org.jgraph.graph.EdgeView edge)
Returns the points to be used for the edge.
|
public java.util.List route(org.jgraph.graph.GraphLayoutCache cache,
org.jgraph.graph.EdgeView edge)
org.jgraph.graph.Edge.Routingroute in interface org.jgraph.graph.Edge.Routingroute in class org.jgraph.graph.DefaultEdge.LoopRoutingcache - TODOedge - The edge view to route the points for.public int getPreferredLineStyle(org.jgraph.graph.EdgeView edge)
org.jgraph.graph.Edge.RoutingEdge.Routing.NO_PREFERENCE means no preference.getPreferredLineStyle in interface org.jgraph.graph.Edge.RoutinggetPreferredLineStyle in class org.jgraph.graph.DefaultEdge.LoopRouting