Home > @jsplumbtoolkit/core > Path > getVertex
#
Path.getVertex() methodRetrieve the specified vertex from the path
Signature:
getVertex(obj: string | Vertex): Vertex;
#
ParametersParameter | Type | Description |
---|---|---|
obj | string | Vertex | Either a vertex ID or a node/group/port. |
Returns:
A Vertex, if the given vertex is in the path, otherwise null.