Click or drag to resize

GraphSonWriterOutputGraph Method (String, IEnumerableString, IEnumerableString, GraphSonMode)

Write the data in a Graph to a JSON OutputStream.

Namespace:  VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSON
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax
public void OutputGraph(
	string filename,
	IEnumerable<string> vertexPropertyKeys,
	IEnumerable<string> edgePropertyKeys,
	GraphSonMode mode
)

Parameters

filename
Type: SystemString
the JSON file to write the Graph data to
vertexPropertyKeys
Type: System.Collections.GenericIEnumerableString
the keys of the vertex elements to write to JSON
edgePropertyKeys
Type: System.Collections.GenericIEnumerableString
the keys of the edge elements to write to JSON
mode
Type: VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSONGraphSonMode
determines the format of the GraphSON
See Also