public enum EdgeRoutingStrategy extends Enum<EdgeRoutingStrategy>
PartialLayout.getEdgeRoutingStrategy()
Enum Constant and Description |
---|
AUTOMATIC
Automatically chooses a suitable routing strategy for partial edges and inter-edges by analyzing the routes of the fixed
edges.
|
OCTILINEAR
A routing strategy that produces octilinear routes for partial edges and inter-edges.
|
ORGANIC
A routing strategy that produces organic routes for partial edges and inter-edges.
|
ORTHOGONAL
A routing strategy that produces orthogonal routes for partial edges and inter-edges.
|
STRAIGHTLINE
A routing strategy that produces straight-line routes for partial edges and inter-edges.
|
Modifier and Type | Method and Description |
---|---|
static EdgeRoutingStrategy |
fromOrdinal(int ordinal) |
int |
value() |
static EdgeRoutingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EdgeRoutingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EdgeRoutingStrategy AUTOMATIC
Inter-edges are edges between fixed and partial nodes as well as edges between different subgraph components.
public static final EdgeRoutingStrategy OCTILINEAR
A route of an edge is called octilinear if the slope of each segment is a multiple of 45
degrees.
Inter-edges are edges between fixed and partial nodes as well as edges between different subgraph components.
public static final EdgeRoutingStrategy ORGANIC
Inter-edges are edges between fixed and partial nodes as well as edges between different subgraph components.
public static final EdgeRoutingStrategy ORTHOGONAL
A route of an edge is called orthogonal if it only consists of vertical and horizontal segments.
Inter-edges are edges between fixed and partial nodes as well as edges between different subgraph components.
public static final EdgeRoutingStrategy STRAIGHTLINE
Inter-edges are edges between fixed and partial nodes as well as edges between different subgraph components.
public static final EdgeRoutingStrategy fromOrdinal(int ordinal)
public int value()
public static EdgeRoutingStrategy valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.public static EdgeRoutingStrategy[] values()
for (EdgeRoutingStrategy c : EdgeRoutingStrategy.values()) System.out.println(c);