antvis/G6

The force layout cannot be switched. #3174

palytoxin posted onGitHub

  • I have searched the issues of this repository and believe that this is not a duplicate.

Edit on CodeSandbox

Steps to reproduce

在html中点击layout1,layout2可以看到布局切换开始鬼触跳动,并且切换不会成功

Environment Info
g6 4.3.6
System Linux
Browser Version 93.0.4577.63 (Official Build) (64-bit)

如果默认是gForce的布局, layout2还是force,切换就能正常

<!-- generated by antv-issue-helper. DO NOT REMOVE -->


Fund this Issue

$0.00
Funded

Pull requests