Click or drag to resize

GraphSonUtilityEdgeFromJson Method (JObject, IVertex, IVertex, IElementFactory, GraphSonMode, IEnumerableString)

Reads an individual Edge from JSON. The edge must match the accepted GraphSON format.

Namespace:  Frontenac.Blueprints.Util.IO.GraphSON
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 10.1.0.0 (10.1)
Syntax
public static IEdge EdgeFromJson(
	JObject json,
	IVertex out_,
	IVertex in_,
	IElementFactory factory,
	GraphSonMode mode,
	IEnumerable<string> propertyKeys
)

Parameters

json
Type: JObject
a single edge in GraphSON format as a Stream
out_
Type: Frontenac.BlueprintsIVertex

[Missing <param name="out_"/> documentation for "M:Frontenac.Blueprints.Util.IO.GraphSON.GraphSonUtility.EdgeFromJson(Newtonsoft.Json.Linq.JObject,Frontenac.Blueprints.IVertex,Frontenac.Blueprints.IVertex,Frontenac.Blueprints.Util.IO.GraphSON.IElementFactory,Frontenac.Blueprints.Util.IO.GraphSON.GraphSonMode,System.Collections.Generic.IEnumerable{System.String})"]

in_
Type: Frontenac.BlueprintsIVertex

[Missing <param name="in_"/> documentation for "M:Frontenac.Blueprints.Util.IO.GraphSON.GraphSonUtility.EdgeFromJson(Newtonsoft.Json.Linq.JObject,Frontenac.Blueprints.IVertex,Frontenac.Blueprints.IVertex,Frontenac.Blueprints.Util.IO.GraphSON.IElementFactory,Frontenac.Blueprints.Util.IO.GraphSON.GraphSonMode,System.Collections.Generic.IEnumerable{System.String})"]

factory
Type: Frontenac.Blueprints.Util.IO.GraphSONIElementFactory
the factory responsible for constructing graph elements
mode
Type: Frontenac.Blueprints.Util.IO.GraphSONGraphSonMode
the mode of the GraphSON
propertyKeys
Type: System.Collections.GenericIEnumerableString
a list of keys to include when reading of element properties

Return Value

Type: IEdge

[Missing <returns> documentation for "M:Frontenac.Blueprints.Util.IO.GraphSON.GraphSonUtility.EdgeFromJson(Newtonsoft.Json.Linq.JObject,Frontenac.Blueprints.IVertex,Frontenac.Blueprints.IVertex,Frontenac.Blueprints.Util.IO.GraphSON.IElementFactory,Frontenac.Blueprints.Util.IO.GraphSON.GraphSonMode,System.Collections.Generic.IEnumerable{System.String})"]

See Also