Click or drag to resize

GraphExportToGraphSon Method (String, IEnumerableString, IEnumerableString, GraphSonMode)

Write the data in a Graph to a GraphSon JSON OutputStream.

Namespace:  VelocityGraph
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 8.2.1.0 (8.2.1)
Syntax
public void ExportToGraphSon(
	string filename,
	IEnumerable<string> vertexPropertyKeys = null,
	IEnumerable<string> edgePropertyKeys = null,
	GraphSonMode mode = GraphSonMode.NORMAL
)

Parameters

filename
Type: SystemString
the JSON file to write the Graph data to
vertexPropertyKeys (Optional)
Type: System.Collections.GenericIEnumerableString
the keys of the vertex elements to write to JSON
edgePropertyKeys (Optional)
Type: System.Collections.GenericIEnumerableString
the keys of the edge elements to write to JSON
mode (Optional)
Type: GraphSonMode
determines the format of the GraphSON
See Also