Class DOTEventDrivenImporter

java.lang.Object
org.jgrapht.nio.BaseEventDrivenImporter<java.lang.String,​Pair<java.lang.String,​java.lang.String>>
org.jgrapht.nio.dot.DOTEventDrivenImporter
All Implemented Interfaces:
EventDrivenImporter<java.lang.String,​Pair<java.lang.String,​java.lang.String>>

public class DOTEventDrivenImporter
extends BaseEventDrivenImporter<java.lang.String,​Pair<java.lang.String,​java.lang.String>>
implements EventDrivenImporter<java.lang.String,​Pair<java.lang.String,​java.lang.String>>
Import a graph from a DOT file.

For a description of the format see http://en.wikipedia.org/wiki/DOT_language and http://www.graphviz.org/doc/info/lang.html

The importer notifies interested parties using consumers.

Author:
Dimitrios Michail
  • Field Details

  • Constructor Details

    • DOTEventDrivenImporter

      public DOTEventDrivenImporter()
      Constructs a new importer.
    • DOTEventDrivenImporter

      public DOTEventDrivenImporter​(boolean notifyVertexAttributesOutOfOrder, boolean notifyEdgeAttributesOutOfOrder)
      Constructs a new importer.
      Parameters:
      notifyVertexAttributesOutOfOrder - whether to notify for vertex attributes out-of-order even if they appear together in the input
      notifyEdgeAttributesOutOfOrder - whether to notify for edge attributes out-of-order even if they appear together in the input
  • Method Details