Click or drag to resize

GmlReader Class

A reader for the Graph Modelling Language (GML).

(http://www.fim.uni-passau.de/fileadmin/files/lehrstuhl/brandenburg/projekte/gml/gml-documentation.tar.gz)

It's not clear that all node have to have id's or that they have to be integers - we assume that this is the case. We also assume that only one graph can be defined in a file.

Inheritance Hierarchy
SystemObject
  Frontenac.Blueprints.Util.IO.GMLGmlReader

Namespace:  Frontenac.Blueprints.Util.IO.GML
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 10.1.0.0 (10.1)
Syntax
public class GmlReader

The GmlReader type exposes the following members.

Constructors
  NameDescription
Public methodGmlReader(IGraph)
Create a new GML reader

(Uses default edge label DEFAULT_LABEL)

Public methodGmlReader(IGraph, String)
Create a new GML reader
Top
Properties
  NameDescription
Public propertyEdgeIdKey
gml property to use as id for edges
Public propertyEdgeLabelKey
gml property to assign edge labels to
Public propertyVertexIdKey
gml property to use as id for vertices
Top
Methods
  NameDescription
Public methodInputGraph(Stream)
Read the GML from from the stream.

If the file is malformed incomplete data can be loaded.

Public methodInputGraph(String)
Read the GML from from the stream.

If the file is malformed incomplete data can be loaded.

Public methodInputGraph(Stream, Int32)
Read the GML from from the stream.

If the file is malformed incomplete data can be loaded.

Public methodInputGraph(String, Int32)
Read the GML from from the stream.

If the file is malformed incomplete data can be loaded.

Public methodStatic memberInputGraph(IGraph, Stream)
Load the GML file into the Graph.
Public methodStatic memberInputGraph(IGraph, String)
Load the GML file into the Graph.
Public methodStatic memberInputGraph(IGraph, Stream, Int32, String, String, String, String)
Public methodStatic memberInputGraph(IGraph, String, Int32, String, String, String, String)
Load the GML file into the Graph.
Top
Fields
  NameDescription
Public fieldStatic memberDefaultLabel
Top
See Also