fromLinkable property

bool? fromLinkable

Gets or sets whether the user may draw Links from this port. This property is used by LinkingBaseTool#isValidFrom.

The default value is null, which indicates that the real value is inherited from the parent Panel, or false if there is no containing panel.

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, or unless you are disabling the "linkability" of a particular GraphObject inside a Panel whose fromLinkable has been set or bound to true.

Implementation

_i2.bool? get fromLinkable => _i4.getProperty(
      this,
      'fromLinkable',
    );
void fromLinkable=(bool? value)

Implementation

set fromLinkable(_i2.bool? value) {
  _i4.setProperty(
    this,
    'fromLinkable',
    value ?? _i5.undefined,
  );
}