Skip to content
New issue

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

CompactBox 紧凑树TB布局,连接线不居中对齐 #5714

Open
Jcode-11 opened this issue May 9, 2024 · 0 comments
Open

CompactBox 紧凑树TB布局,连接线不居中对齐 #5714

Jcode-11 opened this issue May 9, 2024 · 0 comments

Comments

@Jcode-11
Copy link

Jcode-11 commented May 9, 2024

问题描述

多个子节点连接父节点的时候,用了四个点组成的线去连接,理想状态是居中对齐,但是表现的效果是没有对齐的状态
image

重现链接

https://codesandbox.io/p/sandbox/smoosh-bush-4k3sn8?file=%2Findex.js%3A15%2C9

重现步骤

增加或者减少子节点节点的数量,可以更为直观的发现问题

预期行为

怎么实现让他们自动对齐?

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]
  • G6 版本: [4.5.1 ... ]

屏幕截图或视频(可选)

image

补充说明(可选)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant