|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.commons.utils.GraphvizDot
public class GraphvizDot
The GraphvizDot
class provides a few methods to create a graphviz 'dot' file. For more information on
dot files please see http://www.graphviz.org
Constructor Summary | |
---|---|
GraphvizDot()
|
Method Summary | |
---|---|
static void |
endGraph(Writer writer)
Writes the last closing bracket. |
static String |
getFillColorDef(String color)
http://www.graphviz.org/doc/info/colors.html |
static String |
getLabelDef(String label)
|
static String |
getShapeDef(String shape)
http://www.graphviz.org/doc/info/shapes.html |
static void |
startDiGraph(Writer writer)
Writes the starting directed graph definition. |
static void |
writeEdge(String from,
String to,
List<String> attr_List,
Writer writer)
Writes a vertex. |
static void |
writeVertex(String id,
List<String> attr_List,
Writer writer)
Writes a vertex. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphvizDot()
Method Detail |
---|
public static void startDiGraph(Writer writer) throws IOException
writer
-
IOException
public static void endGraph(Writer writer) throws IOException
writer
-
IOException
public static void writeVertex(String id, List<String> attr_List, Writer writer) throws IOException
id
- of the vertexattr_List
- of attributes to write to the vertex definitionwriter
-
IOException
public static void writeEdge(String from, String to, List<String> attr_List, Writer writer) throws IOException
from
- this vertexto
- this vertexattr_List
- of attributes to write to the edge definitionwriter
-
IOException
public static String getLabelDef(String label)
label
- to set
public static String getFillColorDef(String color)
color
- to set
public static String getShapeDef(String shape)
shape
- to set
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |