GraphSonWriterOutputGraph Method (IGraph, Stream, 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 static void OutputGraph(
IGraph graph,
Stream jsonOutputStream,
IEnumerable<string> vertexPropertyKeys,
IEnumerable<string> edgePropertyKeys,
GraphSonMode mode
)
Public Shared Sub OutputGraph (
graph As IGraph,
jsonOutputStream As Stream,
vertexPropertyKeys As IEnumerable(Of String),
edgePropertyKeys As IEnumerable(Of String),
mode As GraphSonMode
)
public:
static void OutputGraph(
IGraph^ graph,
Stream^ jsonOutputStream,
IEnumerable<String^>^ vertexPropertyKeys,
IEnumerable<String^>^ edgePropertyKeys,
GraphSonMode mode
)
static member OutputGraph :
graph : IGraph *
jsonOutputStream : Stream *
vertexPropertyKeys : IEnumerable<string> *
edgePropertyKeys : IEnumerable<string> *
mode : GraphSonMode -> unit
Parameters
- graph
- Type: VelocityGraph.Frontenac.BlueprintsIGraph
the graph to serialize to JSON - jsonOutputStream
- Type: System.IOStream
the JSON OutputStream 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