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

设置 allowLoop: false 后,相同起止节点之间依然可以创建循环连线 #3868

Closed
wp98986 opened this issue Aug 23, 2023 · 4 comments

Comments

@wp98986
Copy link

wp98986 commented Aug 23, 2023

问题描述

如题目所述,connecting 中设置allowLoop为false 后,依然可以创建循环连线

重现链接

重现步骤

预期行为

期望无法创建循环线条

平台

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

屏幕截图或视频(可选)

image

补充说明(可选)

No response

@x6-bot
Copy link
Contributor

x6-bot bot commented Aug 23, 2023

👋 @wp98986

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@TalentJY
Copy link

TalentJY commented Sep 1, 2023

这个循环的意思 是自己拉出一条线连自己。你这个估计得自己代码控制了

@NewByVector
Copy link
Contributor

@wp98986 正如 @TalentJY 所说,这个和你理解的 loop 不是同一个意思。你可以找一找检测图上存在环路的算法来判断你的问题。

@x6-bot
Copy link
Contributor

x6-bot bot commented Sep 7, 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 Sep 7, 2024
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

3 participants