antvis/G6
Do you want to work on this issue?
You can request for a bounty in order to promote it!
【V5.0.13~5.0.16】Tree layout, when a node is added or deleted, the whole tree will be re-expanded. I want to revert back to the way it was before version 5.13 #6222
xuwb posted onGitHub
Describe the bug / 问题描述
5.0.13~5.0.16版本树布局。 通过 addChildrenData、removeNodeData 方法,新增或删除某个节点,然后调用 render 方法后整棵树都会重新展开。 希望恢复到 5.0.13 版本前的显示方式:只有新增的节点有动画效果,动画结束后画布区域重新定位。
Reproduction link / 重现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
No response
G6 Version / G6 版本
🆕 5.x
Operating System / 操作系统
macOS
Browser / 浏览器
Chrome
Additional context / 补充说明
No response