GraphNewEdge Method (EdgeType, PropertyType, Object, PropertyType, Object) |
Creates a new edge instance.
The tail of the edge will be any node having the given tailV Value for the given tailAttr Property identifier,
and the head of the edge will be any node having the given headV Value for the given headAttr Property identifier.
Namespace:
VelocityGraph
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public IEdge NewEdge(
EdgeType edgeType,
PropertyType tailAttr,
Object tailV,
PropertyType headAttr,
Object headV
)
Public Function NewEdge (
edgeType As EdgeType,
tailAttr As PropertyType,
tailV As Object,
headAttr As PropertyType,
headV As Object
) As IEdge
public:
IEdge^ NewEdge(
EdgeType^ edgeType,
PropertyType^ tailAttr,
Object^ tailV,
PropertyType^ headAttr,
Object^ headV
)
member NewEdge :
edgeType : EdgeType *
tailAttr : PropertyType *
tailV : Object *
headAttr : PropertyType *
headV : Object -> IEdge
Parameters
- edgeType
- Type: VelocityGraphEdgeType
Node or edge type identifier. - tailAttr
- Type: VelocityGraphPropertyType
Property identifier. - tailV
- Type: SystemObject
Tail value - headAttr
- Type: VelocityGraphPropertyType
Property identifier. - headV
- Type: SystemObject
Head value
Return Value
Type:
IEdgeUnique edge instance.
See Also