public class DOTWriter extends Object
| Constructor and Description |
|---|
DOTWriter() |
| Modifier and Type | Method and Description |
|---|---|
static <V> void |
write(AbstractGraph<V> g,
OutputStream os,
Iterable<V> nodeSet,
AbstractGraph.DotAttributesProvider<V> provider)
Writes out a graph as a dot file.
|
static <V> void |
write(AbstractGraph<V> g,
OutputStream os,
Iterable<V> nodeSet,
AbstractGraph.DotAttributesProvider<V> provider,
double nodeSep,
double rankSep)
Writes out a graph as a dot file.
|
public static <V> void write(AbstractGraph<V> g, OutputStream os, Iterable<V> nodeSet, AbstractGraph.DotAttributesProvider<V> provider, double nodeSep, double rankSep)
g - the graph that should be written outos - for the output.nodeSet - defines the subset of nodes to be written out.provider - specifies the attributes provider.nodeSep - defines the space between nodes of the same rank.rankSep - defines the space between two nodes of subsequent ranks.public static <V> void write(AbstractGraph<V> g, OutputStream os, Iterable<V> nodeSet, AbstractGraph.DotAttributesProvider<V> provider)
g - the graph that should be written outos - for the output.nodeSet - defines the subset of nodes to be written out.provider - specifies the attributes provider.Copyright © 2017. All rights reserved.