Click or drag to resize

Graph.AddVertex 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
)

Parameters

id
Type: System.Object
the recommended object identifier

Return Value

Type: IVertex
the newly created vertex

Implements

IGraph.AddVertex(Object)
See Also