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]: 开启adjustEdgeStartAndEnd: true, //是否允许拖动边的端点来调整连线,会增加不需要的历史记录 #1984

Open
miniliupeng opened this issue Dec 4, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@miniliupeng
Copy link

发生了什么?

拖拽线的端点,全程没松手
https://github.com/user-attachments/assets/aa02f304-3a48-453c-81be-7648c28cf5a0

logicflow/core版本

2.0.9

logicflow/extension版本

2.0.13

logicflow/engine版本

No response

浏览器&环境

Chrome

@miniliupeng miniliupeng added the bug Something isn't working label Dec 4, 2024
@miniliupeng
Copy link
Author

是否可以考虑加个edge:exchange-node:before事件,手动记录当前undos,edge:exchange-node事件触发后,删除不需要的undos

@DymoneLewis
Copy link
Collaborator

看了一下视频内容,我觉得 undo里增加数据其实是文本坐标的变化带来的,加 edge:exchange-node:before 大概率没有效果,目前暂时想到的思路是让undo里存的数据能区分出是什么类型的数据变化,细节暂时没有想好,记一下_(:з」∠)_

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

2 participants