0

I want to be able to smoothly move from one view of a given graph to another, so that the graph gradually moves from its original position and zoom level to the destination defined in the second view, like in an animation.

How can I do that with cytoscape.js?

Carl Moder
  • 35
  • 1
  • 5

1 Answers1

0

Use cy.animate() or cy.animation() to animate the viewport. You can specify easing and the duration to make the animation flow how you like.

maxkfranz
  • 11,896
  • 1
  • 27
  • 36