|
Kieker 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.tools.traceAnalysis.plugins.visualization.util.dot.DotFactory
public class DotFactory
This class provides a collection of static methods to compile Graphviz Dot elements from string attributes and properties. These elements may be compiled to complete Dot files externally.
Field Summary | |
---|---|
static String |
DOT_ARROWHEAD_OPEN
|
static double |
DOT_DEFAULT_FONTSIZE
|
static String |
DOT_DOT_RANKDIR_LR
|
static String |
DOT_FILLCOLOR_WHITE
|
static String |
DOT_SHAPE_BOX
|
static String |
DOT_SHAPE_BOX3D
|
static String |
DOT_SHAPE_NONE
|
static String |
DOT_SHAPE_OVAL
|
static String |
DOT_STYLE_DASHED
|
static String |
DOT_STYLE_FILLED
|
Method Summary | |
---|---|
static StringBuilder |
createCluster(String prefix,
String name,
String label,
String shape,
String style,
String framecolor,
String fillcolor,
String fontcolor,
double fontsize,
String misc)
Constructs dot code for a cluster from the specified elements. |
static String |
createConnection(String prefix,
String from,
String to,
double taillabel,
double headlabel)
Creates dot code for a connection. |
static String |
createConnection(String prefix,
String from,
String to,
String style,
String arrowhead)
Creates dot code for a connection. |
static String |
createConnection(String prefix,
String from,
String to,
String label,
String style,
String arrowhead)
Creates dot code for a connection. |
static StringBuilder |
createEdgeDefaults(String style,
String arrowhead,
String labelfontname)
Constructs dot code for the edge defaults. |
static StringBuilder |
createHeader(String name,
String label,
String fontcolor,
String fontname,
double fontsize)
Constructs dot code for a directed graph (digraph) file header. |
static StringBuilder |
createNode(String prefix,
String nodeId,
String label,
String shape,
String style,
String framecolor,
String fillcolor,
String fontcolor,
double fontsize,
String imageFilename,
String misc)
Constructs dot code for a node from the specified elements. |
static StringBuilder |
createNodeDefaults(String style,
String shape,
String framecolor,
String fontcolor,
String fontname,
double fontsize,
String imagescale)
Constructs dot code for the node defaults. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DOT_SHAPE_BOX
public static final String DOT_SHAPE_BOX3D
public static final String DOT_SHAPE_NONE
public static final String DOT_SHAPE_OVAL
public static final String DOT_STYLE_DASHED
public static final String DOT_ARROWHEAD_OPEN
public static final double DOT_DEFAULT_FONTSIZE
public static final String DOT_DOT_RANKDIR_LR
public static final String DOT_FILLCOLOR_WHITE
public static final String DOT_STYLE_FILLED
Method Detail |
---|
public static StringBuilder createHeader(String name, String label, String fontcolor, String fontname, double fontsize)
nodeId
- label
- text to show at the label locacion (specified elsewhere) with HTML braces (<>)fontcolor
- fontname
- fontsize
-
public static StringBuilder createNodeDefaults(String style, String shape, String framecolor, String fontcolor, String fontname, double fontsize, String imagescale)
style
- shape
- framecolor
- fontcolor
- fontname
- fontsize
-
public static StringBuilder createEdgeDefaults(String style, String arrowhead, String labelfontname)
style
- arrowhead
- labelfontname
- label font nodeId, works only for headlabel and taillabel, not simple label
public static StringBuilder createNode(String prefix, String nodeId, String label, String shape, String style, String framecolor, String fillcolor, String fontcolor, double fontsize, String imageFilename, String misc)
prefix
- usually spaces, dependent on hierarchy - only for nice ascii formatting inside the dot codenodeId
- label
- shape
- style
- framecolor
- fillcolor
- fontcolor
- fontsize
- imageFilename
- misc
-
public static StringBuilder createCluster(String prefix, String name, String label, String shape, String style, String framecolor, String fillcolor, String fontcolor, double fontsize, String misc)
prefix
- usually spaces, dependent on hierarchy - only for nice ascii formatting inside the dot codenodeId
- label
- shape
- style
- framecolor
- fillcolor
- fontcolor
- fontsize
- misc
-
public static String createConnection(String prefix, String from, String to, String style, String arrowhead)
prefix
- usually spaces, dependent on hierarchy - only for nice ascii formatting inside the dot codefrom
- to
-
public static String createConnection(String prefix, String from, String to, String label, String style, String arrowhead)
prefix
- from
- to
- label
-
public static String createConnection(String prefix, String from, String to, double taillabel, double headlabel)
prefix
- from
- to
- taillabel
- headlabel
-
|
Kieker 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |