toMaxLinks property

num toMaxLinks

Gets or sets the maximum number of links that may go into this port. This property is used by LinkingBaseTool#isValidTo.

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

Implementation

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