makeResegmentHandle method

GraphObject? makeResegmentHandle(
  1. GraphObject pathshape,
  2. num idx
)

(undocumented) Create and return a GraphObject that the user can "grab" to add a segment to the selected Link. By default this returns a copy of #midHandleArchetype, a Shape that is a small blue diamond. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {GraphObject} pathshape the GraphObject path of the link being reshaped. @param {number} idx the index of the route point to be moved. @return {GraphObject}

Implementation

_i3.GraphObject? makeResegmentHandle(
  _i3.GraphObject pathshape,
  _i2.num idx,
) =>
    _i4.callMethod(
      this,
      'makeResegmentHandle',
      [
        pathshape,
        idx,
      ],
    );