We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug 添加了options={{fitView: true}},但是画布并没有缩放到显示所有节点。
参考链接:https://www.yuque.com/antv/g6/graph#2VtUQ
To Reproduce 比如这个示例: https://codesandbox.io/s/layout-selector-le6s4?file=/src/index.js
Expected behavior 添加了options={{fitView: true}}后,画布缩放到显示所有节点。
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
@hector12free @dengl11 还请升级到2.0 版本,fitView问题一并解决:https://graphin.antv.vision/graphin/behaviors/behaviors#%E5%8F%AF%E9%80%89%E4%BA%A4%E4%BA%92%E8%A1%8C%E4%B8%BA
I have "@antv/graphin": "^2.2.0". And I have the same issue. <FitView /> component doesn't work.
<FitView />
layout={{ type: 'dagre', }}
No branches or pull requests
Describe the bug
添加了options={{fitView: true}},但是画布并没有缩放到显示所有节点。
参考链接:https://www.yuque.com/antv/g6/graph#2VtUQ
To Reproduce
比如这个示例:
https://codesandbox.io/s/layout-selector-le6s4?file=/src/index.js
Expected behavior
添加了options={{fitView: true}}后,画布缩放到显示所有节点。
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: