public final class GraphvizWriter extends Object
| Constructor and Description |
|---|
GraphvizWriter(GraphStyle style) |
GraphvizWriter(StyleParameter... configuration)
Create a new Graphviz writer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
emit(File dest,
Walker walker)
Emit a graph to a file in graphviz format using this writer.
|
void |
emit(OutputStream outputStream,
Walker walker)
Emit a graph to an output stream in graphviz format using this writer.
|
public GraphvizWriter(StyleParameter... configuration)
configuration - the style parameters determining how the style of the output
of this writer.public GraphvizWriter(GraphStyle style)
public void emit(File dest, Walker walker) throws IOException
dest - the file to write the graph to.walker - a walker that walks the graph to emit.IOException - if there is an error in outputting to the specified file.public void emit(OutputStream outputStream, Walker walker) throws IOException
outputStream - the stream to write the graph to.walker - a walker that walks the graph to emit.IOException - if there is an error in outputting to the specified stream.Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.