antvis/G6

The issue has been closed
updateLayout方法切换布局导致图位置跑偏 #4284
xiohao posted onGitHub
Describe the bug
点击切换后图跑偏了
Your Example Website or App
无
Steps to Reproduce the Bug or Issue
111
Expected behavior
期望图更新在画布中间位置,使用this.graph.set('fitView', true)也无效
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
请问知道有什么解决办法吗