fromMaxLinks property

num get fromMaxLinks

Gets or sets the maximum number of links that may come out of this port. This property is used by LinkingBaseTool#isValidFrom.

The value must be non-negative. The default value is Infinity.

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.num get fromMaxLinks => _i4.getProperty(
      this,
      'fromMaxLinks',
    );
set fromMaxLinks (num value)

Implementation

set fromMaxLinks(_i2.num value) {
  _i4.setProperty(
    this,
    'fromMaxLinks',
    value,
  );
}