Home > @jsplumbtoolkit/core > Graph > setPortSeparator
Graph.setPortSeparator() method
Sets the character(s) used to separate ports from nodes in port ids. By default this is '.', ie a port is addressed as nodeId.portId
. This may need to be changed depending on the data in your model.
Signature:
setPortSeparator(separator: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
separator | string | Separator to use. |
Returns:
void