public static interface Edge.Routing
extends java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
NO_PREFERENCE |
Modifier and Type | Method and Description |
---|---|
int |
getPreferredLineStyle(EdgeView edge)
Returns the preferred line style for this routing.
|
java.util.List |
route(GraphLayoutCache cache,
EdgeView edge)
Returns the points to be used for the edge.
|
static final int NO_PREFERENCE
java.util.List route(GraphLayoutCache cache, EdgeView edge)
cache
- TODOedge
- The edge view to route the points for.int getPreferredLineStyle(EdgeView edge)
NO_PREFERENCE
means no preference.Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.