de.cau.cs.kieler.kiml.ogdf
Class SpringEmbedderFRLayouter
java.lang.Object
de.cau.cs.kieler.kiml.ogdf.OgdfLayouter
de.cau.cs.kieler.kiml.ogdf.SpringEmbedderFRLayouter
public class SpringEmbedderFRLayouter
- extends OgdfLayouter
The Spring Embedder algorithm by Fruchterman and Reingold.
- Rating

Method Summary |
Object |
getDefault(String optionId)
Returns the default value for the given layout option. |
protected void |
prepareLayouter(KNode layoutNode)
Sets the layout specific options and modules depending on the options
defined in the node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringEmbedderFRLayouter
public SpringEmbedderFRLayouter()
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
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