How to make a continuous animation with citoscape.js to simulate a small random motion on all nodes. Something that look as if they had a small gravity. I try to make nodes move around a starting point only slightly.
Asked
Active
Viewed 92 times
1 Answers
1
Options:
(1) Use ele.animate()
on each node, specifying a slightly modified position for each node.
(2) Apply one of the physics/forcedirected layouts with a very short duration.

maxkfranz
- 11,896
- 1
- 27
- 36