GraphSonWriterOutputGraph Method (IGraph, String, 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,
string filename,
GraphSonMode mode
)
Public Shared Sub OutputGraph (
graph As IGraph,
filename As String,
mode As GraphSonMode
)
public:
static void OutputGraph(
IGraph^ graph,
String^ filename,
GraphSonMode mode
)
static member OutputGraph :
graph : IGraph *
filename : string *
mode : GraphSonMode -> unit
Parameters
- graph
- Type: VelocityGraph.Frontenac.BlueprintsIGraph
the graph to serialize to JSON - filename
- Type: SystemString
the JSON file to write the Graph data to - mode
- Type: VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSONGraphSonMode
determines the format of the GraphSON
See Also