doNoLink method

void doNoLink([
  1. Node? fromnode,
  2. GraphObject? fromport,
  3. Node? tonode,
  4. GraphObject? toport,
])

This method is called upon a mouse up when no new link is drawn, either because no valid LinkingBaseTool#targetPort was found or because #insertLink returned null.

This method may be overridden. By default this method does nothing. If you want to successfully perform any side-effects, you will need to set Tool#transactionResult to a string; otherwise this tool's transaction will be rolled-back. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {Node} fromnode @param {GraphObject} fromport the from-port, or null to use the node itself @param {Node} tonode @param {GraphObject} toport the to-port, or null to use the node itself @since 1.7

Implementation

void doNoLink([
  _i3.Node? fromnode,
  _i3.GraphObject? fromport,
  _i3.Node? tonode,
  _i3.GraphObject? toport,
]) {
  _i4.callMethod(
    this,
    'doNoLink',
    [
      fromnode ?? _i5.undefined,
      fromport ?? _i5.undefined,
      tonode ?? _i5.undefined,
      toport ?? _i5.undefined,
    ],
  );
}