toLinkableSelfNode property

bool toLinkableSelfNode

Gets or sets whether the user may draw Links that connect to this port's Node. 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 toLinkableSelfNode => _i4.getProperty(
      this,
      'toLinkableSelfNode',
    );
void toLinkableSelfNode=(bool value)

Implementation

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