|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<GraphProperties>
de.cau.cs.kieler.klay.layered.properties.GraphProperties
public enum GraphProperties
An enumeration of properties a graph may have. These can be used as part of an
EnumSet
to base decisions on graph properties. For example, self-loop
processing may be skipped if the graph doesn't contain self-loops in the first
place.
An EnumSet
for this enumeration can be attached to a graph via the
Properties.GRAPH_PROPERTIES
property.
Enum Constant Summary | |
---|---|
COMMENTS
The graph contains comment boxes. |
|
EXTERNAL_PORTS
The graph contains dummy nodes representing external ports. |
|
FLAT_HIERARCHICAL
The graph is a flattened hierarchical graph. |
|
HYPEREDGES
The graph contains hyperedges. |
|
HYPERNODES
The graph contains hypernodes (nodes that are marked as such). |
|
NON_FREE_PORTS
The graph contains ports that are not free for positioning. |
|
NORTH_SOUTH_PORTS
The graph contains ports on the northern or southern side. |
|
SELF_LOOPS
The graph contains self-loops. |
Method Summary | |
---|---|
static GraphProperties |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GraphProperties[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final GraphProperties COMMENTS
public static final GraphProperties EXTERNAL_PORTS
public static final GraphProperties FLAT_HIERARCHICAL
public static final GraphProperties HYPEREDGES
public static final GraphProperties HYPERNODES
public static final GraphProperties NON_FREE_PORTS
public static final GraphProperties NORTH_SOUTH_PORTS
public static final GraphProperties SELF_LOOPS
Method Detail |
---|
public static GraphProperties[] values()
for (GraphProperties c : GraphProperties.values()) System.out.println(c);
public static GraphProperties valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |