iVis-at-Bilkent / cytoscape.js-hyse

Hybrid Spring Embedder
MIT License
1 stars 0 forks source link

Add animation #5

Closed ugurdogrusoz closed 1 year ago

ugurdogrusoz commented 1 year ago

Animation during layout is crucial in debugging layout algorithms. Let's add this support (see hise for an example).

hamzaislam101 commented 1 year ago

Animation added. Ticks per frame and tick delay are the options for setting the speed.

ugurdogrusoz commented 1 year ago

Does the animation start from the time where the hierarchy is already laid out with dagre and the wholistic force-directed layout part starts? If so, during the force-directed layout makes the hierarchy very unstable nodes moving too much. We should drastically reduce the forces there I think.