Home > @jsplumbtoolkit/core > Graph > splitPortId
Graph.splitPortId() method
Splits the given port id using the current portSeparator.
Signature:
splitPortId(portId: string): Array<string>;
Parameters
Parameter | Type | Description |
---|---|---|
portId | string | Port ID to split. |
Returns:
Array<string>
An array of [ vertexId, portId], or [] if the portId was null.