canRelinkTo method

bool canRelinkTo()

This predicate returns true if #relinkableTo is true, if the layer's Layer#allowRelink is true, and if the diagram's Diagram#allowRelink is true.

This does not check Diagram#isReadOnly or Model#isReadOnly, but commands and tools should check those properties. @expose @return {boolean} true if the user may relink the To end of this link.

Implementation

_i2.bool canRelinkTo() => _i4.callMethod(
      this,
      'canRelinkTo',
      [],
    );