public class DOT
extends java.lang.Object
Constructor and Description |
---|
DOT() |
Modifier and Type | Method and Description |
---|---|
static void |
toDOT(Vertex<?,?> vertex,
java.io.OutputStream out)
Traverses the graph provided by a root vertex, writing out the graph
representation in DOT format.
|
static void |
toDOT(Vertex<?,?> vertex,
java.lang.String title,
java.io.OutputStream out)
Traverses the graph provided by a root vertex, writing out the graph
representation in DOT format.
|
public static void toDOT(Vertex<?,?> vertex, java.io.OutputStream out)
vertex
- root vertex of the graph to convertout
- OutputStream to write the graph to.public static void toDOT(Vertex<?,?> vertex, java.lang.String title, java.io.OutputStream out)
vertex
- root vertex of the graph to converttitle
- title of the graphout
- OutputStream to write the graph to.