org._3pq.jgrapht.ext
Class VisioExporter
java.lang.Object
org._3pq.jgrapht.ext.VisioExporter
public class VisioExporter
extends java.lang.Object
Exports a graph to a csv format that can be imported into MS Visio.
Tip: By default, the exported graph doesn't show link directions. To
show link directions:
-
Select All (Ctrl-A)
-
Right Click the selected items
-
Format/Line...
-
Line ends: End: (choose an arrow)
void | export(OutputStream output, Graph g) - Exports the specified graph into a Visio csv file format.
|
VisioExporter
public VisioExporter()
Creates a new VisioExporter object.
VisioExporter
public VisioExporter(VisioExporter.VertexNameProvider vertexNameProvider)
Creates a new VisioExporter object with the specified naming policy.
vertexNameProvider
- the vertex name provider to be used for naming
the Visio shapes.
export
public void export(OutputStream output,
Graph g)
Exports the specified graph into a Visio csv file format.
output
- the print stream to which the graph to be exported.g
- the graph to be exported.