Click or drag to resize

VertexTypeGetVertex Method

Instantiates a Vertex if it exist

Namespace:  VelocityGraph
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: (11.1)
public Vertex GetVertex(
	int vertexId,
	bool polymorphic = false,
	bool errorIfNotFound = true


Type: SystemInt32
id of Vertex we are looking for
polymorphic (Optional)
Type: SystemBoolean
If true and id isn't found in this VertexType continue search into sub types
errorIfNotFound (Optional)
Type: SystemBoolean
Indicate what to do if Vertex does not exist

Return Value

Type: Vertex
A Vertex or null
See Also