Click or drag to resize

GraphNewVertex Method

Creates a new node instance.

Namespace:  VelocityGraph
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax
public Vertex NewVertex(
	VertexType vertexType,
	int vId = 0
)

Parameters

vertexType
Type: VelocityGraphVertexType
Node type identifier.
vId (Optional)
Type: SystemInt32

[Missing <param name="vId"/> documentation for "M:VelocityGraph.Graph.NewVertex(VelocityGraph.VertexType,System.Int32)"]

Return Value

Type: Vertex
Unique OID of the new node instance.
See Also