In order to provide a more fluid experience for the user, we have added support for automatically animating scrolling and zooming.
For example, this increases the chances that users are able to follow where they are in the diagram when the application tries to center a node in the viewport.
Here’s a summary of the new features:
- Added DiagramPanel.SetScaleAndPosition that animates those property changes
- Added DiagramPanel.ZoomTime property to control the speed of these animations
- Improved DiagramPanel's handling changes in alignment, DiagramBounds, and Size to animate transition by calling SetScaleAndPosition
- Improved DiagramPanel.MakeVisible and CenterPart to call animated SetScaleAndPosition