de.cau.cs.kieler.kiml.ogdf
Class FMMMDetailLayouter

java.lang.Object
  extended by de.cau.cs.kieler.kiml.ogdf.OgdfLayouter
      extended by de.cau.cs.kieler.kiml.ogdf.FMMMDetailLayouter

public class FMMMDetailLayouter
extends OgdfLayouter

The FMMM layouter from the OGDF library with low-level options enabled instead of only the high-level ones.

Rating red

Field Summary
static String COOL_TEMPERATURE
          the cool temperature option.
static String COOL_VALUE
          the cool value option.
static boolean DEF_COOL_TEMPERATURE
          the default value for the cool temperature option.
static float DEF_COOL_VALUE
          the default value for the cool value option.
static float DEF_FINE_TUNE_SCALAR
          the default value for the fine tune scalar option.
static int DEF_FINE_TUNING_ITERATIONS
          the default value for the fine tuning iterations option.
static int DEF_FIXED_ITERATIONS
          the default value for the fixed iterations option.
static float DEF_FORCE_SCALING_FACTOR
          the default value for the force scaling option.
static int DEF_GRID_QUOTIENT
          the default value for the grid quotient option.
static int DEF_MAX_ITER_FACTOR
          the default value for the max iter option.
static float DEF_MIN_DIST_CC
          the default value for the min dist cc option.
static int DEF_MIN_GRAPH_SIZE
          the default value for the min graph size option.
static int DEF_PARTICLES_IN_LEAVES
          the default value for the particles in leaves option.
static float DEF_POST_SPRING_STRENGTH
          the default value for the post spring strength option.
static float DEF_POST_STRENGTH_OF_REP_FORCES
          the default value for the post strength of rep forces option.
static int DEF_PRECISION
          the default value for the precision option.
static int DEF_RANDOM_TRIES
          the default value for the random tries option.
static float DEF_REP_FORCES_STRENGTH
          the default value for the the rep forces strength option.
static float DEF_SPRING_STRENGTH
          the default value for the spring strength option.
static int DEF_STEPS_FOR_ROTATING_COMPONENTS
          the default value for the steps for rotating components option.
static float DEF_THRESHOLD
          the default value for the threshold option.
static String FINE_TUNE_SCALAR
          the fine tune scalar option.
static String FINE_TUNING_ITERATIONS
          the fine tuning iterations option.
static String FIXED_ITERATIONS
          the fixed iterations option.
static String FORCE_SCALING_FACTOR
          the force scaling option.
static String GRID_QUOTIENT
          the grid quotient option.
static String MAX_ITER_FACTOR
          the max iter option.
static String MIN_DIST_CC
          the min dist cc option.
static String MIN_GRAPH_SIZE
          the min graph size option.
static String PARTICLES_IN_LEAVES
          the particles in leaves option.
static String POST_SPRING_STRENGTH
          the post spring strength option.
static String POST_STRENGTH_OF_REP_FORCES
          the post strength of rep forces option.
static String PRECISION
          the precision option.
static String RANDOM_TRIES
          the random tries option.
static String REP_FORCES_STRENGTH
          the the rep forces strength option.
static String SPRING_STRENGTH
          the spring strength option.
static String STEPS_FOR_ROTATING_COMPONENTS
          the steps for rotating components option.
static String THRESHOLD
          the threshold option.
 
Fields inherited from class de.cau.cs.kieler.kiml.ogdf.OgdfLayouter
OPT_LABEL_EDGE_DISTANCE, OPT_LABEL_MARGIN_DISTANCE
 
Constructor Summary
FMMMDetailLayouter()
           
 
Method Summary
 Object getDefault(String optionId)
          Returns the default value for the given layout option.
protected  void postProcess(KNode layoutNode)
          Performs post-processing on the given node.
protected  void prepareLayouter(KNode layoutNode)
          Sets the layout specific options and modules depending on the options defined in the node.
 
Methods inherited from class de.cau.cs.kieler.kiml.ogdf.OgdfLayouter
applyLayout, doLayout, isUmlGraph, layoutLabels
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COOL_TEMPERATURE

public static final String COOL_TEMPERATURE
the cool temperature option.

See Also:
Constant Field Values

DEF_COOL_TEMPERATURE

public static final boolean DEF_COOL_TEMPERATURE
the default value for the cool temperature option.

See Also:
Constant Field Values

COOL_VALUE

public static final String COOL_VALUE
the cool value option.

See Also:
Constant Field Values

DEF_COOL_VALUE

public static final float DEF_COOL_VALUE
the default value for the cool value option.

See Also:
Constant Field Values

FINE_TUNE_SCALAR

public static final String FINE_TUNE_SCALAR
the fine tune scalar option.

See Also:
Constant Field Values

DEF_FINE_TUNE_SCALAR

public static final float DEF_FINE_TUNE_SCALAR
the default value for the fine tune scalar option.

See Also:
Constant Field Values

FINE_TUNING_ITERATIONS

public static final String FINE_TUNING_ITERATIONS
the fine tuning iterations option.

See Also:
Constant Field Values

DEF_FINE_TUNING_ITERATIONS

public static final int DEF_FINE_TUNING_ITERATIONS
the default value for the fine tuning iterations option.

See Also:
Constant Field Values

FIXED_ITERATIONS

public static final String FIXED_ITERATIONS
the fixed iterations option.

See Also:
Constant Field Values

DEF_FIXED_ITERATIONS

public static final int DEF_FIXED_ITERATIONS
the default value for the fixed iterations option.

See Also:
Constant Field Values

FORCE_SCALING_FACTOR

public static final String FORCE_SCALING_FACTOR
the force scaling option.

See Also:
Constant Field Values

DEF_FORCE_SCALING_FACTOR

public static final float DEF_FORCE_SCALING_FACTOR
the default value for the force scaling option.

See Also:
Constant Field Values

GRID_QUOTIENT

public static final String GRID_QUOTIENT
the grid quotient option.

See Also:
Constant Field Values

DEF_GRID_QUOTIENT

public static final int DEF_GRID_QUOTIENT
the default value for the grid quotient option.

See Also:
Constant Field Values

MAX_ITER_FACTOR

public static final String MAX_ITER_FACTOR
the max iter option.

See Also:
Constant Field Values

DEF_MAX_ITER_FACTOR

public static final int DEF_MAX_ITER_FACTOR
the default value for the max iter option.

See Also:
Constant Field Values

MIN_DIST_CC

public static final String MIN_DIST_CC
the min dist cc option.

See Also:
Constant Field Values

DEF_MIN_DIST_CC

public static final float DEF_MIN_DIST_CC
the default value for the min dist cc option.

See Also:
Constant Field Values

MIN_GRAPH_SIZE

public static final String MIN_GRAPH_SIZE
the min graph size option.

See Also:
Constant Field Values

DEF_MIN_GRAPH_SIZE

public static final int DEF_MIN_GRAPH_SIZE
the default value for the min graph size option.

See Also:
Constant Field Values

PARTICLES_IN_LEAVES

public static final String PARTICLES_IN_LEAVES
the particles in leaves option.

See Also:
Constant Field Values

DEF_PARTICLES_IN_LEAVES

public static final int DEF_PARTICLES_IN_LEAVES
the default value for the particles in leaves option.

See Also:
Constant Field Values

PRECISION

public static final String PRECISION
the precision option.

See Also:
Constant Field Values

DEF_PRECISION

public static final int DEF_PRECISION
the default value for the precision option.

See Also:
Constant Field Values

POST_SPRING_STRENGTH

public static final String POST_SPRING_STRENGTH
the post spring strength option.

See Also:
Constant Field Values

DEF_POST_SPRING_STRENGTH

public static final float DEF_POST_SPRING_STRENGTH
the default value for the post spring strength option.

See Also:
Constant Field Values

POST_STRENGTH_OF_REP_FORCES

public static final String POST_STRENGTH_OF_REP_FORCES
the post strength of rep forces option.

See Also:
Constant Field Values

DEF_POST_STRENGTH_OF_REP_FORCES

public static final float DEF_POST_STRENGTH_OF_REP_FORCES
the default value for the post strength of rep forces option.

See Also:
Constant Field Values

RANDOM_TRIES

public static final String RANDOM_TRIES
the random tries option.

See Also:
Constant Field Values

DEF_RANDOM_TRIES

public static final int DEF_RANDOM_TRIES
the default value for the random tries option.

See Also:
Constant Field Values

REP_FORCES_STRENGTH

public static final String REP_FORCES_STRENGTH
the the rep forces strength option.

See Also:
Constant Field Values

DEF_REP_FORCES_STRENGTH

public static final float DEF_REP_FORCES_STRENGTH
the default value for the the rep forces strength option.

See Also:
Constant Field Values

SPRING_STRENGTH

public static final String SPRING_STRENGTH
the spring strength option.

See Also:
Constant Field Values

DEF_SPRING_STRENGTH

public static final float DEF_SPRING_STRENGTH
the default value for the spring strength option.

See Also:
Constant Field Values

STEPS_FOR_ROTATING_COMPONENTS

public static final String STEPS_FOR_ROTATING_COMPONENTS
the steps for rotating components option.

See Also:
Constant Field Values

DEF_STEPS_FOR_ROTATING_COMPONENTS

public static final int DEF_STEPS_FOR_ROTATING_COMPONENTS
the default value for the steps for rotating components option.

See Also:
Constant Field Values

THRESHOLD

public static final String THRESHOLD
the threshold option.

See Also:
Constant Field Values

DEF_THRESHOLD

public static final float DEF_THRESHOLD
the default value for the threshold option.

See Also:
Constant Field Values
Constructor Detail

FMMMDetailLayouter

public FMMMDetailLayouter()
Method Detail

prepareLayouter

protected void prepareLayouter(KNode layoutNode)
Sets the layout specific options and modules depending on the options defined in the node.

Specified by:
prepareLayouter in class OgdfLayouter
Parameters:
layoutNode - the parent node

postProcess

protected void postProcess(KNode layoutNode)
Performs post-processing on the given node. The default implementation does nothing.

Overrides:
postProcess in class OgdfLayouter
Parameters:
layoutNode - the parent node

getDefault

public Object getDefault(String optionId)
Returns the default value for the given layout option.

Specified by:
getDefault in class OgdfLayouter
Parameters:
optionId - a layout option identifier
Returns:
the corresponding default value, or null if the option is not known