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

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

public class DavidsonHarelLayouter
extends OgdfLayouter

The Davidson-Harel layout algorithm from the OGDF library.

Rating red

Field Summary
 
Fields inherited from class de.cau.cs.kieler.kiml.ogdf.OgdfLayouter
DEF_BORDER_SPACING, DEF_LABEL_EDGE_DIST, DEF_LABEL_MARGIN_DIST, LABEL_EDGE_DIST, LABEL_EDGE_DIST_ID, LABEL_MARGIN_DIST, LABEL_MARGIN_DIST_ID
 
Constructor Summary
DavidsonHarelLayouter()
           
 
Method Summary
 void initDefaults(IPropertyHolder defaultsHolder)
          Initialize the default values for the layout provider.
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, postProcess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DavidsonHarelLayouter

public DavidsonHarelLayouter()
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

initDefaults

public void initDefaults(IPropertyHolder defaultsHolder)
Initialize the default values for the layout provider. Subclasses should extend this method with their own default values.

Overrides:
initDefaults in class OgdfLayouter
Parameters:
defaultsHolder - the layout options holder for default values