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
当根据是不是根节点或节点的层级,来设置不同的横向间距时
结果左侧的间距不对,右侧的间距正确
Demo : 在官方g6的示例基础上, getHGap 中,根据是否根节点返回不同间距
改写下面这一行
getHGap: (node) => { return node.id === '0' ? 200 : 60; },
Demo: https://stackblitz.com/edit/react-rre1us?file=index.js
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当根据是不是根节点或节点的层级,来设置不同的横向间距时
结果左侧的间距不对,右侧的间距正确
Demo :
在官方g6的示例基础上,
getHGap 中,根据是否根节点返回不同间距
改写下面这一行
Demo: https://stackblitz.com/edit/react-rre1us?file=index.js
The text was updated successfully, but these errors were encountered: