Click or drag to resize

GraphNewEdge 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: VelocityGraphEdgeType
Node or edge type identifier.
tailAttr
Type: VelocityGraphPropertyType
Property identifier.
tailV
Type: SystemObject
Tail value
headAttr
Type: VelocityGraphPropertyType
Property identifier.
headV
Type: SystemObject
Head value

Return Value

Type: IEdge
Unique edge instance.
See Also