Class VisioExporter<V,​E>

  • Type Parameters:
    V - the graph vertex type
    E - the graph edge type
    All Implemented Interfaces:
    GraphExporter<V,​E>

    @Deprecated
    public class VisioExporter<V,​E>
    extends Object
    implements GraphExporter<V,​E>
    Deprecated.
    Use VisioExporter instead.
    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:

    1. Select All (Ctrl-A)
    2. Right Click the selected items
    3. Format/Line...
    4. Line ends: End: (choose an arrow)
    Author:
    Avner Linder
    • Field Detail

      • vertexIDProvider

        protected ComponentNameProvider<V> vertexIDProvider
        Deprecated.
        Provides an identifier for a vertex.
      • edgeIDProvider

        protected ComponentNameProvider<E> edgeIDProvider
        Deprecated.
        Provides an identifier for an edge.
    • Constructor Detail

      • VisioExporter

        public VisioExporter​(ComponentNameProvider<V> vertexIDProvider)
        Deprecated.
        Creates a new VisioExporter with the specified naming policy.
        Parameters:
        vertexIDProvider - the vertex id provider to be used for naming the Visio shapes
      • VisioExporter

        public VisioExporter()
        Deprecated.
        Creates a new VisioExporter.
    • Method Detail

      • exportGraph

        public void exportGraph​(Graph<V,​E> g,
                                Writer writer)
        Deprecated.
        Exports the specified graph into a Visio CSV file format.
        Specified by:
        exportGraph in interface GraphExporter<V,​E>
        Parameters:
        g - the graph to be exported.
        writer - the writer to which the graph to be exported.
      • getVertexIDProvider

        public ComponentNameProvider<V> getVertexIDProvider()
        Deprecated.
        Get the vertex id provider
        Returns:
        the vertex id provider
      • setVertexIDProvider

        public void setVertexIDProvider​(ComponentNameProvider<V> vertexIDProvider)
        Deprecated.
        Set the vertex id provider
        Parameters:
        vertexIDProvider - the new vertex id provider. Must not be null.
      • getEdgeIDProvider

        public ComponentNameProvider<E> getEdgeIDProvider()
        Deprecated.
        Get the edge id provider
        Returns:
        The edge provider
      • setEdgeIDProvider

        public void setEdgeIDProvider​(ComponentNameProvider<E> edgeIDProvider)
        Deprecated.
        Set the edge id provider.
        Parameters:
        edgeIDProvider - the new edge id provider. Must not be null.