toLinkableDuplicates property

bool get toLinkableDuplicates

Gets or sets whether the user may draw duplicate Links to this port. This property is used by LinkingBaseTool#isValidLink. The default value is false.

You must set this property on a GraphObject whose #portId is non-null, unless the whole Node is acting as a single port, in which case this property should be set on the Node.

Implementation

_i2.bool get toLinkableDuplicates => _i4.getProperty(
      this,
      'toLinkableDuplicates',
    );
set toLinkableDuplicates (bool value)

Implementation

set toLinkableDuplicates(_i2.bool value) {
  _i4.setProperty(
    this,
    'toLinkableDuplicates',
    value,
  );
}