moveParts method

void moveParts(
  1. Object coll,
  2. Point offset, [
  3. bool? check,
  4. DraggingOptions? dragOptions,
])

Move a collection of Parts in this Diagram by a given offset. Moving a Group will also move its member Nodes and Links. Moving with a zero X and a zero Y offset is potentially useful in order to snap Parts to the grid if DraggingTool#isGridSnapEnabled is true.

This does not perform a transaction nor does it raise a DiagramEvent.

@param {Iterable.

Implementation

void moveParts(
  _i2.Object coll,
  _i3.Point offset, [
  _i2.bool? check,
  _i3.DraggingOptions? dragOptions,
]) {
  _i4.callMethod(
    this,
    'moveParts',
    [
      coll,
      offset,
      check ?? _i5.undefined,
      dragOptions ?? _i5.undefined,
    ],
  );
}