Click or drag to resize

GraphSonWriter.OutputGraph Method (IGraph, Stream, GraphSonMode)

Write the data in a Graph to a JSON OutputStream. All keys are written to JSON.

Namespace:  VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSON
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax
public static void OutputGraph(
	IGraph graph,
	Stream jsonOutputStream,
	GraphSonMode mode
)

Parameters

graph
Type: VelocityGraph.Frontenac.Blueprints.IGraph
the graph to serialize to JSON
jsonOutputStream
Type: System.IO.Stream
the JSON OutputStream to write the Graph data to
mode
Type: VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSON.GraphSonMode
determines the format of the GraphSON
See Also