public final class GraphVizWriter extends Object implements Closeable
| Constructor and Description |
|---|
GraphVizWriter(Writer out) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginGraph(String... attributes) |
void |
close() |
void |
edge(String source,
String target,
String... attributes) |
void |
edgeDefaults(String... attributes) |
void |
endGraph() |
void |
node(String name,
String... attributes) |
void |
nodeDefaults(String... attributes) |
public GraphVizWriter(Writer out)
out - the stream to which dot data will be written. This should be a
buffered stream.public void beginGraph(String... attributes) throws IOException
IOExceptionpublic void endGraph()
throws IOException
IOExceptionpublic void node(String name, String... attributes) throws IOException
IOExceptionpublic void edge(String source, String target, String... attributes) throws IOException
IOExceptionpublic void nodeDefaults(String... attributes) throws IOException
IOExceptionpublic void edgeDefaults(String... attributes) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2024 Square, Inc.. All rights reserved.