Package org.jgrapht.ext
Class VisioExporter<V,E>
- java.lang.Object
-
- org.jgrapht.ext.VisioExporter<V,E>
-
public class VisioExporter<V,E> 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)
- Author:
- Avner Linder
-
-
Constructor Summary
Constructors Constructor Description VisioExporter()
Creates a new VisioExporter object.VisioExporter(VertexNameProvider<V> vertexNameProvider)
Creates a new VisioExporter object with the specified naming policy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
export(java.io.OutputStream output, Graph<V,E> g)
Exports the specified graph into a Visio csv file format.
-
-
-
Constructor Detail
-
VisioExporter
public VisioExporter(VertexNameProvider<V> vertexNameProvider)
Creates a new VisioExporter object with the specified naming policy.- Parameters:
vertexNameProvider
- the vertex name provider to be used for naming the Visio shapes.
-
VisioExporter
public VisioExporter()
Creates a new VisioExporter object.
-
-