Click or drag to resize

Graph.NewEdge Method (EdgeType, PropertyType, Object, PropertyType, Object)

Creates a new edge instance. The tail of the edge will be any node having the given tailV Value for the given tailAttr Property identifier, and the head of the edge will be any node having the given headV Value for the given headAttr Property identifier.

Namespace:  VelocityGraph
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax
public IEdge NewEdge(
	EdgeType edgeType,
	PropertyType tailAttr,
	Object tailV,
	PropertyType headAttr,
	Object headV
)

Parameters

edgeType
Type: VelocityGraph.EdgeType
Node or edge type identifier.
tailAttr
Type: VelocityGraph.PropertyType
Property identifier.
tailV
Type: System.Object
Tail value
headAttr
Type: VelocityGraph.PropertyType
Property identifier.
headV
Type: System.Object
Head value

Return Value

Type: IEdge
Unique edge instance.
See Also