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
)
Public Function NewVertex (
vertexType As VertexType,
Optional vId As Integer = 0
) As Vertex
public:
Vertex^ NewVertex(
VertexType^ vertexType,
int vId = 0
)
member NewVertex :
vertexType : VertexType *
?vId : int
(* Defaults:
let _vId = defaultArg vId 0
*)
-> Vertex
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:
VertexUnique OID of the new node instance.
See Also