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

[Bug Report]: 旋转 graph 后,targetNode无法落线形成一个边 #1871

Open
LeeeeeeM opened this issue Sep 14, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@LeeeeeeM
Copy link

LeeeeeeM commented Sep 14, 2024

发生了什么?

对于旋转后的 graph,部分场景下判断终点是否落在锚点有问题 一直是 false,导致无法在 targetNodeInfo 中获取到anchor,无法进行 edge连线。

image

image

logicflow/core版本

latest

logicflow/extension版本

latest

logicflow/engine版本

latest

浏览器&环境

Chrome

@LeeeeeeM LeeeeeeM added the bug Something isn't working label Sep 14, 2024
@LeeeeeeM
Copy link
Author

判断 isInNode的方法有问题,可以用叉乘处理判断落点是否在当前多边形内。
可以先简单处理凸多边形的场景。

@LeeeeeeM LeeeeeeM changed the title [Bug Report]: [Bug Report]: 旋转 graph 后,targetNode无法落线形成一个边 Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant