isInSameNode method
This predicate is true if both argument ports are in the same Node. This is called by #isValidLink.
This method may be overridden, but we recommend that you call this base method. It is rare that you will want to override this method. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {GraphObject} fromport @param {GraphObject} toport @return {boolean}
Implementation
_i2.bool isInSameNode([
_i3.GraphObject? fromport,
_i3.GraphObject? toport,
]) =>
_i4.callMethod(
this,
'isInSameNode',
[
fromport ?? _i5.undefined,
toport ?? _i5.undefined,
],
);