VertexAddEdge Method (Object, 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(
Object edgeId,
string label,
IVertex inVertex
)
Public Function AddEdge (
edgeId As Object,
label As String,
inVertex As IVertex
) As IEdge
public:
virtual IEdge^ AddEdge(
Object^ edgeId,
String^ label,
IVertex^ inVertex
) sealed
abstract AddEdge :
edgeId : Object *
label : string *
inVertex : IVertex -> IEdge
override AddEdge :
edgeId : Object *
label : string *
inVertex : IVertex -> IEdge
Parameters
- edgeId
- Type: SystemObject
If not null, this must be a UInt32 to be used as edge id - NOTE: not yet implemented usage - label
- Type: SystemString
The type of edge to create - inVertex
- Type: IVertex
The head of the new edge
Return Value
Type:
IEdgethe new edge
Implements
IVertex.AddEdge(Object, String, IVertex)
See Also