Package edu.uci.ics.jung.io
Interfaces and classes for reading and writing graphs in various (file) formats. Current formats fully or partially supported include:
- GraphML format
- Pajek NET format
-
Interface Summary Interface Description GraphFile<V,E> General interface for loading and saving a graph from/to disk.GraphReader<G extends Hypergraph<V,E>,V,E> Interface for a reader of graph objects -
Class Summary Class Description GraphMLMetadata<T> Maintains information relating to data for the specified type.GraphMLReader<G extends Hypergraph<V,E>,V,E> Reads in data from a GraphML-formatted file and generates graphs based on that data.GraphMLWriter<V,E> Writes graphs out in GraphML format.PajekNetReader<G extends Graph<V,E>,V,E> Reads aGraph
from a Pajek NET formatted source.PajekNetReader.ListTagPred A Predicate which evaluates totrue
if the argument ends with the string "list".PajekNetReader.StartsWithPredicate A Predicate which evaluates totrue
if the argument starts with the constructor-specified String.PajekNetWriter<V,E> Writes graphs in the Pajek NET format. -
Enum Summary Enum Description GraphMLReader.KeyType GraphMLReader.TagState -
Exception Summary Exception Description GraphIOException Exception thrown when IO errors occur when reading/writing graphs.