Click or drag to resize

GraphNewEdge Method (EdgeType, Vertex, Vertex)

Creates a new edge instance.

Namespace:  VelocityGraph
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax
public Edge NewEdge(
	EdgeType edgeType,
	Vertex tail,
	Vertex head
)

Parameters

edgeType
Type: VelocityGraphEdgeType
Edge type identifier.
tail
Type: VelocityGraphVertex
Source OID.
head
Type: VelocityGraphVertex
Target OID.

Return Value

Type: Edge
Unique OID of the new edge instance.
See Also