Documentation of 'org.jgrapht.ext.DOTExporter' Java class
DOTExporter
org.jgrapht.ext

Class DOTExporter<V,E>

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

    Deprecated. 
    Use org.jgrapht.io.DOTExporter instead.

    @Deprecated
    public class DOTExporter<V,E>
    extends java.lang.Object
    implements GraphExporter<V,E>
    Exports a graph into a DOT file.

    For a description of the format see http://en.wikipedia.org/wiki/DOT_language.

    • Field Detail

      • DEFAULT_GRAPH_ID

        public static final java.lang.String DEFAULT_GRAPH_ID
        Deprecated. 
        Default graph id used by the exporter.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DOTExporter

        public DOTExporter()
        Deprecated. 
        Constructs a new DOTExporter object with an integer name provider for the vertex IDs and null providers for the vertex and edge labels.
      • DOTExporter

        public DOTExporter(ComponentNameProvider<V> vertexIDProvider,
                           ComponentNameProvider<V> vertexLabelProvider,
                           ComponentNameProvider<E> edgeLabelProvider)
        Deprecated. 
        Constructs a new DOTExporter object with the given ID and label providers.
        Parameters:
        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.
      • DOTExporter

        public DOTExporter(ComponentNameProvider<V> vertexIDProvider,
                           ComponentNameProvider<V> vertexLabelProvider,
                           ComponentNameProvider<E> edgeLabelProvider,
                           ComponentAttributeProvider<V> vertexAttributeProvider,
                           ComponentAttributeProvider<E> edgeAttributeProvider)
        Deprecated. 
        Constructs a new DOTExporter object with the given ID, label, and attribute providers. Note that if a label provider conflicts with a label-supplying attribute provider, the label provider is given precedence.
        Parameters:
        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 (unless an attribute provider is supplied which also supplies labels).
        edgeLabelProvider - for generating edge labels. If null, edge labels will not be written to the file.
        vertexAttributeProvider - for generating vertex attributes. If null, vertex attributes will not be written to the file.
        edgeAttributeProvider - for generating edge attributes. If null, edge attributes will not be written to the file.
      • DOTExporter

        public DOTExporter(ComponentNameProvider<V> vertexIDProvider,
                           ComponentNameProvider<V> vertexLabelProvider,
                           ComponentNameProvider<E> edgeLabelProvider,
                           ComponentAttributeProvider<V> vertexAttributeProvider,
                           ComponentAttributeProvider<E> edgeAttributeProvider,
                           ComponentNameProvider<Graph<V,E>> graphIDProvider)
        Deprecated. 
        Constructs a new DOTExporter object with the given ID, label, attribute, and graph id providers. Note that if a label provider conflicts with a label-supplying attribute provider, the label provider is given precedence.
        Parameters:
        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 (unless an attribute provider is supplied which also supplies labels).
        edgeLabelProvider - for generating edge labels. If null, edge labels will not be written to the file.
        vertexAttributeProvider - for generating vertex attributes. If null, vertex attributes will not be written to the file.
        edgeAttributeProvider - for generating edge attributes. If null, edge attributes will not be written to the file.
        graphIDProvider - for generating the graph ID. If null the graph is named DEFAULT_GRAPH_ID.
    • Method Detail

      • exportGraph

        public void exportGraph(Graph<V,E> g,
                                java.io.Writer writer)
        Deprecated. 
        Exports a graph into a plain text file in DOT 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

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.