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
)
Public Function NewEdge (
edgeType As EdgeType,
tail As Vertex,
head As Vertex
) As Edge
public:
Edge^ NewEdge(
EdgeType^ edgeType,
Vertex^ tail,
Vertex^ head
)
member NewEdge :
edgeType : EdgeType *
tail : Vertex *
head : Vertex -> Edge
Parameters
- edgeType
- Type: VelocityGraphEdgeType
Edge type identifier. - tail
- Type: VelocityGraphVertex
Source OID. - head
- Type: VelocityGraphVertex
Target OID.
Return Value
Type:
EdgeUnique OID of the new edge instance.
See Also