Animating scrolling

Also, I have a question. Can I make a animation for calling scrollToRect or centerRect method?

The Diagram methods Diagram.scrollToRect and Diagram.centerRect methods do not animate.

But various commands do animate. In your case, call https://gojs.net/latest/api/symbols/CommandHandler.html#scrollToPart, which does animate scrolling.

Thank you for support.