de.cau.cs.kieler.kiml.graphviz.layouter
Class GraphvizLayouter
java.lang.Object
de.cau.cs.kieler.kiml.graphviz.layouter.GraphvizLayouter
public class GraphvizLayouter
- extends Object
Layouter that calls Graphviz through a child process to perform layout. The graph structure and
layout information is passed through a textual format called Dot, see the Dot language specification. Serialization
and parsing of this textual format is done using Xtext.
- Rating

- (2009-12-11) msp
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphvizLayouter
public GraphvizLayouter()
layout
public void layout(KNode parentNode,
IKielerProgressMonitor progressMonitor,
KGraphDotTransformation.Command command)
- Performs the actual work of the layout process. Translates the KNode into a structure
GraphViz understands, calls the desired GraphViz layouter and annotates the KLayoutGraph with
the position and size information provided by GraphViz.
- Parameters:
parentNode
- the node to processprogressMonitor
- a monitor to which progress is reportedcommand
- Graphviz command to use, determines the layout algorithm