Skip to main content

Home > @jsplumbtoolkit/core > resolvePortId

resolvePortId() function

For the given vertex, resolve its port id. If it is not a port, null is returned. If it is a port, its id is returned (without the parent vertex's id prefixed to it)

Signature:

export declare function resolvePortId(v: Vertex): string;

Parameters

ParameterTypeDescription
vVertex

Returns:

string