public enum LayeredRoutingStyle extends Enum<LayeredRoutingStyle>
LayeredNodePlacer.getRoutingStyle()
Enum Constant and Description |
---|
ORTHOGONAL
Routing style specifier which defines that edges are routed in an orthogonal, bus-like fashion.
|
STRAIGHT
Routing style specifier which defines that edges consist of one straight segment.
|
Modifier and Type | Method and Description |
---|---|
static LayeredRoutingStyle |
fromOrdinal(int ordinal) |
int |
value() |
static LayeredRoutingStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LayeredRoutingStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LayeredRoutingStyle ORTHOGONAL
public static final LayeredRoutingStyle STRAIGHT
node labels are considered
,
there might also be edge overlaps with node labels that are placed above the according node.LayeredNodePlacer.setRoutingStyle(LayeredRoutingStyle)
public static final LayeredRoutingStyle fromOrdinal(int ordinal)
public int value()
public static LayeredRoutingStyle 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 LayeredRoutingStyle[] values()
for (LayeredRoutingStyle c : LayeredRoutingStyle.values()) System.out.println(c);