|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kiml.graphviz.layouter.GraphvizLayouter
public class GraphvizLayouter
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.
Field Summary | |
---|---|
static String |
CIRCO_COMMAND
command for Circo layout. |
static float |
DEF_MIN_SPACING
default value for minimal spacing. |
static String |
DOT_COMMAND
command for Dot layout. |
static boolean |
ENABLE_DEBUG
if true, debug output is enabled, which writes dot files to the home folder. |
static String |
FDP_COMMAND
command for Fdp layout. |
static double |
FONT_SIZE_MULT
default multiplier for font sizes. |
static String |
NEATO_COMMAND
command for Neato layout. |
static String |
OPT_LABEL_DISTANCE
layout option identifier for label distance. |
static String |
TWOPI_COMMAND
command for Twopi layout. |
Constructor Summary | |
---|---|
GraphvizLayouter()
|
Method Summary | |
---|---|
void |
layout(KNode parentNode,
IKielerProgressMonitor progressMonitor,
String command)
Performs the actual work of the layout process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String OPT_LABEL_DISTANCE
public static final String DOT_COMMAND
public static final String NEATO_COMMAND
public static final String TWOPI_COMMAND
public static final String FDP_COMMAND
public static final String CIRCO_COMMAND
public static final float DEF_MIN_SPACING
public static final double FONT_SIZE_MULT
public static final boolean ENABLE_DEBUG
Constructor Detail |
---|
public GraphvizLayouter()
Method Detail |
---|
public void layout(KNode parentNode, IKielerProgressMonitor progressMonitor, String command) throws KielerException
parentNode
- the node to processprogressMonitor
- a monitor to which progress is reportedcommand
- Graphviz command to use, determines the layout algorithm
KielerException
- if Graphviz layout fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |