makeHandle method

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

(undocumented) Create and return a GraphObject that the user can "grab" to relink the selected Link. By default this returns a copy of #handleArchetype, a Shape that is a small blue rectangle. 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? makeHandle(
  _i3.GraphObject pathshape,
  _i2.num idx,
) =>
    _i4.callMethod(
      this,
      'makeHandle',
      [
        pathshape,
        idx,
      ],
    );