de.cau.cs.kieler.klodd.hierarchical
Class HierarchicalDataflowLayoutProvider

java.lang.Object
  extended by de.cau.cs.kieler.kiml.AbstractLayoutProvider
      extended by de.cau.cs.kieler.klodd.hierarchical.HierarchicalDataflowLayoutProvider

public class HierarchicalDataflowLayoutProvider
extends AbstractLayoutProvider

Layout provider for the KLoDD hierarchical dataflow diagram layouter.

Rating proposed yellow
(2009-12-11) msp

Field Summary
static int DEF_CROSSRED_PASSES
          default value for the number of passes for crossing reduction.
static float DEF_MIN_DIST
          default value for minimal distance.
static IProperty<InteractionLevel> INTERACTIVE
          level of interaction property.
static String INTERACTIVE_ID
          layout option identifier: level of interaction.
static String PREF_BALANCE_VS_SIZE
          preference identifier for the priority of node balancing over diagram size.
static String PREF_CROSSRED_PASSES
          preference identifier for the number of passes for crossing reduction.
static String PREF_CYCLE_REM
          preference identifier for cycle remover module.
static String PREF_LAYER_ASS
          preference identifier for layer assignment module.
static String PREF_LAYER_EDGEROUTER
          preference identifier for layerwise edge placement module.
static String VAL_BAL_LAYER_ASS
          value for balancing layer assignment module.
static String VAL_DFS_CYCLE_REM
          value for DFS cycle remover module.
static String VAL_GREEDY_CYCLE_REM
          value for greedy cycle remover module.
static String VAL_LONGP_LAYER_ASS
          value for longest path layer assignment module.
static String VAL_SORT_LAYER_EDGEROUTER
          value for sorting layerwise edge placer module.
static String VAL_TOPO_LAYER_EDGEROUTER
          value for topological numbering layerwise edge placer module.
 
Constructor Summary
HierarchicalDataflowLayoutProvider()
           
 
Method Summary
 void doLayout(KNode layoutNode, IKielerProgressMonitor progressMonitor)
          Performs the actual layout process, that is attaches layout information to the given node object.
static void setPreferenceStore(IKielerPreferenceStore thepreferenceStore)
          Sets the preference store.
 
Methods inherited from class de.cau.cs.kieler.kiml.AbstractLayoutProvider
dispose, getDebugCanvas, initialize, setDebugCanvas, supportsHierarchy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEF_MIN_DIST

public static final float DEF_MIN_DIST
default value for minimal distance.

See Also:
Constant Field Values

PREF_CYCLE_REM

public static final String PREF_CYCLE_REM
preference identifier for cycle remover module.

See Also:
Constant Field Values

VAL_DFS_CYCLE_REM

public static final String VAL_DFS_CYCLE_REM
value for DFS cycle remover module.

See Also:
Constant Field Values

VAL_GREEDY_CYCLE_REM

public static final String VAL_GREEDY_CYCLE_REM
value for greedy cycle remover module.

See Also:
Constant Field Values

PREF_LAYER_ASS

public static final String PREF_LAYER_ASS
preference identifier for layer assignment module.

See Also:
Constant Field Values

VAL_LONGP_LAYER_ASS

public static final String VAL_LONGP_LAYER_ASS
value for longest path layer assignment module.

See Also:
Constant Field Values

VAL_BAL_LAYER_ASS

public static final String VAL_BAL_LAYER_ASS
value for balancing layer assignment module.

See Also:
Constant Field Values

PREF_LAYER_EDGEROUTER

public static final String PREF_LAYER_EDGEROUTER
preference identifier for layerwise edge placement module.

See Also:
Constant Field Values

VAL_SORT_LAYER_EDGEROUTER

public static final String VAL_SORT_LAYER_EDGEROUTER
value for sorting layerwise edge placer module.

See Also:
Constant Field Values

VAL_TOPO_LAYER_EDGEROUTER

public static final String VAL_TOPO_LAYER_EDGEROUTER
value for topological numbering layerwise edge placer module.

See Also:
Constant Field Values

PREF_CROSSRED_PASSES

public static final String PREF_CROSSRED_PASSES
preference identifier for the number of passes for crossing reduction.

See Also:
Constant Field Values

DEF_CROSSRED_PASSES

public static final int DEF_CROSSRED_PASSES
default value for the number of passes for crossing reduction.

See Also:
Constant Field Values

PREF_BALANCE_VS_SIZE

public static final String PREF_BALANCE_VS_SIZE
preference identifier for the priority of node balancing over diagram size.

See Also:
Constant Field Values

INTERACTIVE_ID

public static final String INTERACTIVE_ID
layout option identifier: level of interaction.

See Also:
Constant Field Values

INTERACTIVE

public static final IProperty<InteractionLevel> INTERACTIVE
level of interaction property.

Constructor Detail

HierarchicalDataflowLayoutProvider

public HierarchicalDataflowLayoutProvider()
Method Detail

setPreferenceStore

public static void setPreferenceStore(IKielerPreferenceStore thepreferenceStore)
Sets the preference store.

Parameters:
thepreferenceStore - the preference store to set

doLayout

public void doLayout(KNode layoutNode,
                     IKielerProgressMonitor progressMonitor)
Performs the actual layout process, that is attaches layout information to the given node object.

Specified by:
doLayout in class AbstractLayoutProvider
Parameters:
layoutNode - the parent node which should be laid out
progressMonitor - progress monitor used to keep track of progress