Skip to main content

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

ParameterTypeDescription
separatorstringSeparator to use.

Returns:

void