Documentation of 'org.jgrapht.io.GraphExporter' Java class
GraphExporter
org.jgrapht.io

Interface GraphExporter<V,E>

  • Type Parameters:
    V - the graph vertex type
    E - the graph edge type
    All Known Implementing Classes:
    VisioExporter


    public interface GraphExporter<V,E>
    Interface for graph exporters
    • Method Detail

      • exportGraph

        default void exportGraph(Graph<V,E> g,
                                 java.io.OutputStream out)
                          throws ExportException
        Export a graph
        Parameters:
        g - the graph to export
        out - the output stream
        Throws:
        ExportException - in case any error occurs
      • exportGraph

        void exportGraph(Graph<V,E> g,
                         java.io.Writer writer)
                  throws ExportException
        Export a graph
        Parameters:
        g - the graph to export
        writer - the output writer
        Throws:
        ExportException - in case any error occurs
      • exportGraph

        default void exportGraph(Graph<V,E> g,
                                 java.io.File file)
                          throws ExportException
        Export a graph
        Parameters:
        g - the graph to export
        file - the file to write to
        Throws:
        ExportException - in case any error occurs

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.