GraphAddVertex Method (Object) |
Create a new vertex (of VertexType "default"), add it to the graph, and return the newly created vertex.
Namespace:
VelocityGraph
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public virtual IVertex AddVertex(
Object id
)
Public Overridable Function AddVertex (
id As Object
) As IVertex
public:
virtual IVertex^ AddVertex(
Object^ id
)
abstract AddVertex :
id : Object -> IVertex
override AddVertex :
id : Object -> IVertex
Parameters
- id
- Type: SystemObject
the recommended object identifier
Return Value
Type:
IVertexthe newly created vertex
Implements
IGraphAddVertex(Object)See Also