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
IOException
public void endGraph() throws IOException
IOException
public void node(String name, String... attributes) throws IOException
IOException
public void edge(String source, String target, String... attributes) throws IOException
IOException
public void nodeDefaults(String... attributes) throws IOException
IOException
public void edgeDefaults(String... attributes) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2017 Square, Inc.. All rights reserved.