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

组织架构图自动布局连线规则问题 #4136

Closed
news-ttt opened this issue Jan 4, 2024 · 2 comments
Closed

组织架构图自动布局连线规则问题 #4136

news-ttt opened this issue Jan 4, 2024 · 2 comments

Comments

@news-ttt
Copy link

news-ttt commented Jan 4, 2024

问题描述

使用组织架构图的自动布局遇到的问题,当我子项高度超过父项目时, 他不回居中连线,有没有解决办法,截图如下:
image

重现链接

https://codesandbox.io/p/sandbox/cranky-kate-hmrq4j

重现步骤

增加一个新的node,高度和左侧连线的node高度不一致,就会触发

预期行为

应该是直着连线,拐弯的连线,目前是斜着过去了

平台

  • 操作系统: [macOS, Windows, Linux.]
  • 网页浏览器: [Google Chrome]
  • X6 版本: [2x.]

屏幕截图或视频(可选)

image

补充说明(可选)

No response

@news-ttt
Copy link
Author

news-ttt commented Jan 5, 2024

发现原因了,原因是示例代码中布局中判断了y轴是否相同相同没有走布局函数,导致了问题,已经修复

@news-ttt news-ttt closed this as completed Jan 5, 2024
@x6-bot
Copy link
Contributor

x6-bot bot commented Jan 5, 2025

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Jan 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant