Animates the view state.
Namespace: MindFusion.Diagramming
File: DiagramView.js
JavaScript Copy Code |
---|
function animate (animation) |
ViewAnimation. A ViewAnimation -derived object.
This example centers specified node in the viewport by running a ScrollAnimation:
JavaScript Copy Code |
---|
var endNode = diagram.nodes.find( |
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |