scrollToRect method
Modifies the #position to show a given Rect of the Diagram by centering the viewport on that Rect. Does nothing if the Rect is already entirely in view.
See also #centerRect @param {Rect} r @see #centerRect @see #scroll @see CommandHandler#scrollToPart
Implementation
void scrollToRect(_i3.Rect r) {
  _i4.callMethod(
    this,
    'scrollToRect',
    [r],
  );
}