de.cau.cs.kieler.kiml.ogdf.options
Enum LayoutAlgorithm

java.lang.Object
  extended by java.lang.Enum<LayoutAlgorithm>
      extended by de.cau.cs.kieler.kiml.ogdf.options.LayoutAlgorithm
All Implemented Interfaces:
Comparable<LayoutAlgorithm>

public enum LayoutAlgorithm
extends Enum<LayoutAlgorithm>

Definition of available layout algorithms.

Rating red

Enum Constant Summary
CIRCULAR
          The circular layout algorithm.
DAVIDSON_HAREL
          The Davidson-Harel layout algorithm.
FMMM
          The FMMM layout algorithm.
FRUCHTERMAN_REINGOLD
          The Fruchterman-Reingold algorithm.
GEM
          The GEM algorithm.
PLANARIZATION
          The planarization layout algorithm.
RADIAL_TREE
          The radial tree layout algorithm.
SUGIYAMA
          Sugiyama's layout algorithm.
TREE
          The tree layout algorithm.
UPWARD_PLANARIZATION
          The upward-planarization layout algorithm.
 
Method Summary
static LayoutAlgorithm valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LayoutAlgorithm[] 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

SUGIYAMA

public static final LayoutAlgorithm SUGIYAMA
Sugiyama's layout algorithm.


PLANARIZATION

public static final LayoutAlgorithm PLANARIZATION
The planarization layout algorithm.


FMMM

public static final LayoutAlgorithm FMMM
The FMMM layout algorithm.


DAVIDSON_HAREL

public static final LayoutAlgorithm DAVIDSON_HAREL
The Davidson-Harel layout algorithm.


FRUCHTERMAN_REINGOLD

public static final LayoutAlgorithm FRUCHTERMAN_REINGOLD
The Fruchterman-Reingold algorithm.


GEM

public static final LayoutAlgorithm GEM
The GEM algorithm.


CIRCULAR

public static final LayoutAlgorithm CIRCULAR
The circular layout algorithm.


TREE

public static final LayoutAlgorithm TREE
The tree layout algorithm.


RADIAL_TREE

public static final LayoutAlgorithm RADIAL_TREE
The radial tree layout algorithm.


UPWARD_PLANARIZATION

public static final LayoutAlgorithm UPWARD_PLANARIZATION
The upward-planarization layout algorithm.

Method Detail

values

public static LayoutAlgorithm[] 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 (LayoutAlgorithm c : LayoutAlgorithm.values())
    System.out.println(c);

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

valueOf

public static LayoutAlgorithm 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