antvis/G6



Do you want to work on this issue?
You can request for a bounty in order to promote it!
antv-dagre layout, after resetting the data and rendering, the node order is not as expected #6490
majinkai posted onGitHub
Describe the bug / 问题描述
动态添加了一个节点,然后重新设置布局,给出了nodeOrder顺序,但是没有按照预期顺序自上而下排列,预期节点顺序是44在4上面,如果是destroy之后重新初始化,是没问题的。
Reproduction link / 重现链接
https://codesandbox.io/p/sandbox/red-rgb-wzszl5
Steps to Reproduce the Bug or Issue / 重现步骤
No response
G6 Version / G6 版本
🆕 5.x
Operating System / 操作系统
macOS
Browser / 浏览器
Chrome
Additional context / 补充说明
No response