|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.kohsuke.graphviz.GraphObject<Graph>
org.kohsuke.graphviz.Graph
public class Graph
Represents a graph.
| Constructor Summary | |
|---|---|
Graph()
|
|
| Method Summary | |
|---|---|
Graph |
edge(Edge e)
|
Graph |
edge(Node src,
Node dst)
|
Graph |
edge(Node src,
Node dst,
Style s)
|
Graph |
edgeWith(Style s)
Sets the style to be used in successive edge(...)
invocations. |
void |
generateTo(java.util.List<java.lang.String> commands,
java.io.File f)
Generates the graph into the specified file. |
void |
generateTo(java.util.List<java.lang.String> commands,
java.io.OutputStream out)
Generates the graph into the specified OutputStream. |
Graph |
node(Node n)
|
Graph |
node(java.lang.String label)
|
Graph |
node(java.lang.String label,
Style s)
|
Graph |
nodeWith(Style s)
Sets the style to be used in successive node(...)
invocations. |
Graph |
subGraph(Graph g)
|
Graph |
to()
Used between two invocations of the node method to insert a new edge between them. |
void |
writeTo(java.io.OutputStream out)
Writes out this graph in the dot format. |
| Methods inherited from class org.kohsuke.graphviz.GraphObject |
|---|
attr, attr, attr, attr, escape, getEffectiveAttributes, id, style, style |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Graph()
| Method Detail |
|---|
public Graph nodeWith(Style s)
node(...)
invocations.
public Graph edgeWith(Style s)
edge(...)
invocations.
public Graph node(Node n)
public Graph node(java.lang.String label)
public Graph node(java.lang.String label,
Style s)
public Graph to()
public Graph edge(Edge e)
public Graph edge(Node src,
Node dst)
public Graph edge(Node src,
Node dst,
Style s)
public Graph subGraph(Graph g)
public void writeTo(java.io.OutputStream out)
public void generateTo(java.util.List<java.lang.String> commands,
java.io.OutputStream out)
throws java.lang.InterruptedException,
java.io.IOException
OutputStream.
commands - The complete dot invocation and format specifier, such as ["dot","-Tgif"].
java.lang.InterruptedException
java.io.IOException
public void generateTo(java.util.List<java.lang.String> commands,
java.io.File f)
throws java.lang.InterruptedException,
java.io.IOException
java.lang.InterruptedException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||