de.cau.cs.kieler.klay.layered.properties
Enum EdgeType

java.lang.Object
  extended by java.lang.Enum<EdgeType>
      extended by de.cau.cs.kieler.klay.layered.properties.EdgeType
All Implemented Interfaces:
Comparable<EdgeType>

public enum EdgeType
extends Enum<EdgeType>

Definition of edge types used in the layered approach.

Rating red

Enum Constant Summary
COMPOUND_DUMMY
          a dummy edge created for the layering phase of compound graphs.
COMPOUND_SIDE
          a dummy edge created to connect COMPOUND_SIDE dummy nodes for the drawing of compound node side borders.
NORMAL
          a normal edge is created from an edge of the original graph.
 
Method Summary
static EdgeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EdgeType[] 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

NORMAL

public static final EdgeType NORMAL
a normal edge is created from an edge of the original graph.


COMPOUND_DUMMY

public static final EdgeType COMPOUND_DUMMY
a dummy edge created for the layering phase of compound graphs.


COMPOUND_SIDE

public static final EdgeType COMPOUND_SIDE
a dummy edge created to connect COMPOUND_SIDE dummy nodes for the drawing of compound node side borders.

Method Detail

values

public static EdgeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (EdgeType c : EdgeType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EdgeType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null