|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.properties.MapPropertyHolder
de.cau.cs.kieler.kiml.AbstractLayoutProvider
de.cau.cs.kieler.kiml.graphviz.layouter.GraphvizLayoutProvider
public class GraphvizLayoutProvider
Layout provider for the Graphviz layout tool. The actual interface to
Graphviz is implemented in GraphvizLayouter
.
The actual Graphviz layout that is applied is determined by the parameter
passed in the initialize(String)
method. If no parameter is passed,
the Dot layouter is applied as default.
Constructor Summary | |
---|---|
GraphvizLayoutProvider()
Initialize default options for the layout provider. |
Method Summary | |
---|---|
void |
doLayout(KNode layoutNode,
IKielerProgressMonitor progressMonitor)
Performs the actual layout process, that is attaches layout information to the given node object. |
void |
initialize(String parameter)
Initializes the Graphviz layout provider with the given parameter string as command. |
boolean |
supportsHierarchy(KNode layoutNode)
Determines whether this layout provider would handle the complete hierarchy of the given layout node. |
Methods inherited from class de.cau.cs.kieler.kiml.AbstractLayoutProvider |
---|
getDebugCanvas, setDebugCanvas |
Methods inherited from class de.cau.cs.kieler.core.properties.MapPropertyHolder |
---|
copyProperties, getAllProperties, getProperty, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphvizLayoutProvider()
Method Detail |
---|
public void initialize(String parameter)
initialize
in class AbstractLayoutProvider
parameter
- parameter string that is interpreted as Graphviz commandpublic void doLayout(KNode layoutNode, IKielerProgressMonitor progressMonitor) throws KielerException
doLayout
in class AbstractLayoutProvider
layoutNode
- the parent node which should be laid outprogressMonitor
- progress monitor used to keep track of progress
KielerException
- if the method fails to perform layoutpublic boolean supportsHierarchy(KNode layoutNode)
supportsHierarchy
in class AbstractLayoutProvider
layoutNode
- the parent node for which layout is requested
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |