VertexAddEdge Method (EdgeType, Vertex) |
Add an edge from this Vertex to inVertex of edge type.
Namespace:
VelocityGraph
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public Edge AddEdge(
EdgeType edgeType,
Vertex head
)
Public Function AddEdge (
edgeType As EdgeType,
head As Vertex
) As Edge
public:
Edge^ AddEdge(
EdgeType^ edgeType,
Vertex^ head
)
member AddEdge :
edgeType : EdgeType *
head : Vertex -> Edge
Parameters
- edgeType
- Type: VelocityGraphEdgeType
The type of edge to add - head
- Type: VelocityGraphVertex
The head of the new edge
Return Value
Type:
Edgethe new edge
See Also