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

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

public class SpringEmbedderFRLayouter
extends OgdfLayouter

The Spring Embedder algorithm by Fruchterman and Reingold.

Rating red

Field Summary
static float DEF_PAGE_RATIO
          default value for page ratio.
 
Fields inherited from class de.cau.cs.kieler.kiml.ogdf.OgdfLayouter
DEF_BORDER_SPACING, DEF_LABEL_EDGE_DIST, DEF_LABEL_MARGIN_DIST, INPUT_FORMAT, LABEL_EDGE_DIST, LABEL_EDGE_DIST_ID, LABEL_MARGIN_DIST, LABEL_MARGIN_DIST_ID
 
Constructor Summary
SpringEmbedderFRLayouter()
          Constructs a SpringEmbedderFRLayouter.
 
Method Summary
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
addInformation, addOption, applyLayout, doLayout, postProcess, prepareLabelLayout, setDebugCanvas
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEF_PAGE_RATIO

public static final float DEF_PAGE_RATIO
default value for page ratio.

See Also:
Constant Field Values
Constructor Detail

SpringEmbedderFRLayouter

public SpringEmbedderFRLayouter()
Constructs a SpringEmbedderFRLayouter.

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