Home > @jsplumbtoolkit/browser-ui > 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
Parameter | Type | Description |
---|---|---|
v | Vertex |
Returns:
string