antvis/G6



The issue has been closed
自定义布局在创建后,销毁画布,第二次进入还会提示The layout with the name exists already, it will be overridden #4616
lovelyGFR posted onGitHub
Describe the bug
自定义布局在创建后,销毁画布,第二次进入还会提示The layout with the name exists already, it will be overridden <img width="687" alt="image" src="https://github.com/antvis/G6/assets/48376890/5c4d70fe-8067-489a-96fc-b44c2634e69e">
Your Example Website or App
https://g6.antv.antgroup.com/zh/examples/net/layoutMechanism/#customBigraph
Steps to Reproduce the Bug or Issue
<img width="687" alt="image" src="https://github.com/antvis/G6/assets/48376890/744648a6-8e40-4ce3-8b36-59f2b08316b0">
Expected behavior
期望 : 都重新初始化,感觉总有上一次操作的痕迹 同时期望出一个G6各个事件,状态变化的生命周期,何时会导致重新draw,update等
Screenshots or Videos
No response
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
Additional context
No response