VertexAddEdge Method (String, IVertex) |
Add an edge from this Vertex to inVertex of edge type looked up from label, if edge type does not yet exist it is created.
Namespace:
VelocityGraph
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 8.2.1.0 (8.2.1)
Syntaxpublic IEdge AddEdge(
string label,
IVertex inVertex
)
Public Function AddEdge (
label As String,
inVertex As IVertex
) As IEdge
public:
IEdge^ AddEdge(
String^ label,
IVertex^ inVertex
)
member AddEdge :
label : string *
inVertex : IVertex -> IEdge
Parameters
- label
- Type: SystemString
The type of edge to create - inVertex
- Type: IVertex
The head of the new edge
Return Value
Type:
IEdgethe new edge
See Also