computeOtherPoint method

Point computeOtherPoint(
  1. Node othernode,
  2. GraphObject otherport
)

Find the approximate point of the other end of the link in document coordinates. This is useful when computing the connection point when there is no specific spot, to have an idea of which general direction the link should be going. By default this will return the center of the other port.

This method may be overridden. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {Node} othernode @param {GraphObject} otherport @return {Point} approximately where the other end of this link might end, in document coordinates @since 1.6

Implementation

_i3.Point computeOtherPoint(
  _i3.Node othernode,
  _i3.GraphObject otherport,
) =>
    _i4.callMethod(
      this,
      'computeOtherPoint',
      [
        othernode,
        otherport,
      ],
    );