antvis/G6

Do you want to work on this issue?

You can request for a bounty in order to promote it!

通过在原数组后添加数组更新数据,布局更改方式存在问题。 #5688

1201wen posted onGitHub

Describe the bug

我在原本布局数组上添加了一些新的数据,我使用layout()进行布局,很显然我拖拽后的节点的位置发生了变化,我尝试使用您之前说过的方法先用destoryLayout(),再使用changeData(),使用后新添加的数据与之前的布局方式不一样了(非力导向图),请问是否是我的操作出现了问题,希望的到您的解答,感谢 @Yanyan-Wang @a

Your Example Website or App

Steps to Reproduce the Bug or Issue

Expected behavior

Screenshots or Videos

No response

Platform

  • OS: [ Windows]
  • Browser: [ Chrome]
  • Version: [4.8.21]

Additional context

No response


Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests