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

连线能不能自动绕靠节点,不和节点重叠在一起 #3908

Closed
13033445320 opened this issue Sep 13, 2023 · 2 comments
Closed

连线能不能自动绕靠节点,不和节点重叠在一起 #3908

13033445320 opened this issue Sep 13, 2023 · 2 comments
Labels
type: discussion 讨论 Usage questions, guidance, and other discussions

Comments

@13033445320
Copy link

问题描述

画布节点很多,线和很多,如何能让线自动绕开节点,两者不重叠

重现链接

重现步骤

节点和边多的时候,就会重叠

预期行为

就像官网示例地铁路由那样,自动避开节点

平台

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

屏幕截图或视频(可选)

1694593665486

补充说明(可选)

No response

@13033445320 13033445320 changed the title 连线能不能自动绕靠节点,不和节点 连线能不能自动绕靠节点,不和节点重叠在一起 Sep 13, 2023
@NewByVector
Copy link
Contributor

提供几个思路:

  1. 使用 manhattan 路由,避开障碍物,实现比较简单,但是线的走向是否符合需求需要实际测试
  2. 使用 vertices 将线分开

@NewByVector NewByVector added the type: discussion 讨论 Usage questions, guidance, and other discussions label Sep 19, 2023
@x6-bot
Copy link
Contributor

x6-bot bot commented Oct 2, 2024

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 Oct 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: discussion 讨论 Usage questions, guidance, and other discussions
Projects
None yet
Development

No branches or pull requests

2 participants