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
const result = Hierarchy.mindmap(data, { direction: 'LR', getHeight(d: node) { return d?.height; }, getWidth(d: node) { return d?.width; }, getHGap() { return 40; }, // 父节点与子节点之间的垂直间距 getVGap(d: MindMapData) { // 缩小节点间的间距。如果出现了校验不通过,那么将高度重置 return d.type === NodeType.xx&& d.msg? 20 : 8; }, getSide: () => { return 'right'; }, });
正常如下:
然后操作过后,出现了第二层和第三层中间的连接线是不对称的,如下
请问这个bug怎么解呢?
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
No branches or pull requests
正常如下:
然后操作过后,出现了第二层和第三层中间的连接线是不对称的,如下
请问这个bug怎么解呢?
The text was updated successfully, but these errors were encountered: