annas.graph.export
Class DOTExporter<N,A extends ArcInterface<N>>
java.lang.Object
annas.graph.export.DOTExporter<N,A>
- Type Parameters:
N
- Node typeA
- Arc type
- All Implemented Interfaces:
- Exporter<N,A>
public class DOTExporter<N,A extends ArcInterface<N>>
- extends java.lang.Object
- implements Exporter<N,A>
Export graph to the standard .DOT format @see shown here
- Author:
- Sam Wilson
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOTExporter
public DOTExporter()
DOTExporter
public DOTExporter(java.io.OutputStream pw)
export
public void export(java.io.OutputStream ops,
GraphInterface<N,A> graph)
- Exports the provided graph.
- Specified by:
export
in interface Exporter<N,A extends ArcInterface<N>>
- Parameters:
ops
- Stream to output the graph tograph
- Graph to export
export
public void export(GraphInterface<N,A> graph)
- Exports the provided graph.
- Specified by:
export
in interface Exporter<N,A extends ArcInterface<N>>
- Parameters:
graph
- Graph to export