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: 11.1.0.0 (11.1)
Syntax public 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: VelocityGraph.Frontenac.BlueprintsIVertex
The head of the new edge
Return Value
Type:
IEdgethe new edge
See Also