Click or drag to resize

GmlWriter Class

GMLWriter writes a Graph to a GML OutputStream.

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

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

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

The GmlWriter type exposes the following members.

Constructors
  NameDescription
Public methodGmlWriter
Initializes a new instance of the GmlWriter class
Top
Properties
  NameDescription
Public propertyEdgeIdKey
gml property to use for the blueprints edges id, defaults to GMLTokens.BLUEPRINTS_ID
Public propertyNormalize
whether to normalize the output. Normalized output is deterministic with respect to the order of elements and properties in the resulting XML document, and is compatible with line diff-based tools such as Git. Note: normalized output is memory-intensive and is not appropriate for very large graphs.
Public propertyStrict
when set to true, property keys in the Graph that do not meet the exact guidelines of the GML specification are ignored. By default this value is false.
Public propertyUseId
whether to use the blueprints id directly or substitute with a generated integer. To use this option the blueprints ids must all be Integers of string representations of integers
Public propertyVertexIdKey
gml property to use for the blueprints vertex id, defaults to GMLTokens.BLUEPRINTS_ID
Top
Methods
  NameDescription
Public methodOutputGraph(Stream)
Write the data in a Graph to a GML OutputStream.
Public methodOutputGraph(String)
Write the data in a Graph to a GML OutputStream.
Public methodStatic memberOutputGraph(IGraph, Stream)
Write the data in a Graph to a GML OutputStream.
Public methodStatic memberOutputGraph(IGraph, String)
Write the data in a Graph to a GML OutputStream.
Top
See Also