Skip to main content

Home > @jsplumbtoolkit/core > resolveNode

resolveNode() function#

For the given vertex, resolves the node/group it pertains to. If the vertex is already a node/group, it is returned. Otherwise, if it is a port, the parent of the port is returned.

Signature:

export declare function resolveNode(v: Vertex): Vertex;

Parameters#

ParameterTypeDescription
vVertex

Returns:

Vertex