Skip to main content

Home > @jsplumbtoolkit/core > JsPlumbToolkitOptions > portDataProperty

JsPlumbToolkitOptions.portDataProperty property

The name of a property that will exist inside the backing data for nodes/group, and which represents a list of ports pertaining to that node/group. When a node/group is rendered, if this property is set, the Toolkit will consider the value of this property to be a list of port data object. So this property's value should be of type Array<ObjectData>

Signature:

portDataProperty?: string;