visjs / vis-network

:dizzy: Display dynamic, automatically organised, customizable network views.
https://visjs.github.io/vis-network/
Apache License 2.0
3k stars 366 forks source link

Add animations to the edges #1962

Open fuguiguang001 opened 1 year ago

fuguiguang001 commented 1 year ago

demo: http://almende.github.io/chap-links-library/js/network/examples/example02_shapes.html

image

May I ask how this effect is implemented in the new version? This demo seems to be an old version plugin. Thank you for your guidance

delcourtfl commented 1 year ago

Hello, I implemented my own solution as it seems that the current version doesn't support such animations. If anyone is still looking for a way to achieve this, a small demo is available here : https://github.com/delcourtfl/vis-network-moving-nodes-on-edges.

exampleAnimation

fuguiguang001 commented 1 year ago

您好, 我实现了自己的解决方案,因为当前版本似乎不支持此类动画。如果有人仍在寻找实现此目标的方法,可以在这里提供一个小型演示: https: //github.com/delcourtfl/vis-network-moving-nodes-on-edges

示例动画

Thank you. Let me refer to it. Thank you again