antvis/G6

The issue has been closed
边动画和节点动画. 无法共存; #5873
cjcj5438 posted onGitHub
Describe the bug / 问题描述
官方示例节点动画: https://g6.antv.antgroup.com/zh/examples/scatter/customAnimate/#position 官方示例边动画: https://g6.antv.antgroup.com/zh/examples/scatter/edge/#arrowAnimate 把官方的这两个demo, 合并在一起. 发现无法运行动画.
Reproduction link / 重现链接
https://codesandbox.io/p/sandbox/quirky-danny-65j4ss?file=%2Findex.js%3A118%2C4
Steps to Reproduce the Bug or Issue / 重现步骤
在实际项目中遇到了这样的情况. 只要添加了 animate: true, 全局动画. 局部线动画就会报错. 然后用官方demo也会有问题;
代码大部分逻辑没有改. 只是将两个动画demo ,放在一起, 就会报错; 要么有边动画. 要么有自定义节点动画;
G6 Version / G6 版本
4.x
Operating System / 操作系统
Windows
Browser / 浏览器
Chrome
Additional context / 补充说明
No response