|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jgrapht.ext.DOTExporter<V,E>
public class DOTExporter<V,E>
Exports a graph into a DOT file.
For a description of the format see http://en.wikipedia.org/wiki/DOT_language.
| Constructor Summary | |
|---|---|
DOTExporter()
Constructs a new DOTExporter object with an integer name provider for the vertex IDs and null providers for the vertex and edge labels. |
|
DOTExporter(VertexNameProvider<V> vertexIDProvider,
VertexNameProvider<V> vertexLabelProvider,
EdgeNameProvider<E> edgeLabelProvider)
Constructs a new DOTExporter object with the given ID and label providers. |
|
| Method Summary | |
|---|---|
void |
export(java.io.Writer writer,
Graph<V,E> g)
Exports a graph into a plain text file in DOT format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DOTExporter()
public DOTExporter(VertexNameProvider<V> vertexIDProvider,
VertexNameProvider<V> vertexLabelProvider,
EdgeNameProvider<E> edgeLabelProvider)
vertexIDProvider - for generating vertex IDs. Must not be null.vertexLabelProvider - for generating vertex labels. If null, vertex
labels will not be written to the file.edgeLabelProvider - for generating edge labels. If null, edge labels
will not be written to the file.| Method Detail |
|---|
public void export(java.io.Writer writer,
Graph<V,E> g)
writer - the writer to which the graph to be exportedg - the graph to be exported
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||