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] 缩放节点时,图形和连接线发生偏移。 #1384

Closed
Tracked by #1446
layverns opened this issue Oct 24, 2023 · 1 comment · Fixed by #1552
Closed
Tracked by #1446

[Bug report] 缩放节点时,图形和连接线发生偏移。 #1384

layverns opened this issue Oct 24, 2023 · 1 comment · Fixed by #1552
Labels
bug Something isn't working

Comments

@layverns
Copy link

layverns commented Oct 24, 2023

问题描述

1.缩放可缩放节点,在拖拽缩放结束时,松开鼠标的瞬间整个图形会发生偏移,导致连线也出现偏移。
我的项目中拖拽,把箭头都挡住了。
2.在保存完图形数据到后台,再重新渲染甚至会出现,线连到其他锚点的情况,不缩放好像就不会。

最简复现

可以看官方的例子:
https://site.logic-flow.cn/demo/dist/bpmn-vue

2023-10-24 213953

2023-10-24.21-48-09.mp4
@wumail
Copy link
Collaborator

wumail commented Oct 25, 2023

去掉网格试试,缩放的尺度没有针对网格做近似

@boyongjiong boyongjiong added the bug Something isn't working label Oct 25, 2023
@wumail wumail closed this as not planned Won't fix, can't repro, duplicate, stale Dec 4, 2023
DymoneLewis added a commit that referenced this issue Apr 9, 2024
fix(extension): trigger updateEdgePointByAnchors() after moveTo(#1384)
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

Successfully merging a pull request may close this issue.

3 participants