[Bug]: After clearing the canvas and adding a node again, the node will display an exception #6649
Open
2 of 10 tasks
Labels
bug 🐛
Something isn't working
waiting for maintainer
Triage or intervention needed from a maintainer.
Describe the bug / 问题描述
如题,再画布上添加两个node,一条edge,调用clear方法清空画布后,再次添加node之后,edge可以显示出来,node显示不出来。
Reproduction link / 复现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
1、先在画布上渲染出来节点元素
2、调用clear方法清空画布元素
3、调用addData方法添加新的节点元素
4、节点显示异常
测试demo
1、点击删除按钮清空画布
2、点击edit按钮添加新的元素
G6 Version / G6 版本
🆕 5.x
OS / 操作系统
Browser / 浏览器
The text was updated successfully, but these errors were encountered: