You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actionsbot
changed the title
[Bug]: 清空画布后再次添加节点,节点会显示异常
[Bug]: After clearing the canvas and adding a node again, the node will display an exception
Dec 19, 2024
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: