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

Q&A: How to prevent overlapping nodes being merged when dragging ? #177

Open
holgerbrandl opened this issue Jan 22, 2024 · 6 comments
Open
Assignees
Labels
enhancement New feature or request Fixed Job is done but not jet released
Milestone

Comments

@holgerbrandl
Copy link

Hi there, when using the editor, I often struggle with overlapping shapes being unintentionally merged automatically.

During dragging the left node
image

After releasing the mouse: the entire node has disappeared:
image

Is there a ways (modifier key or similar) to prevent auto-merging of overlapping nodes?

@ArsMasiuk
Copy link
Owner

ArsMasiuk commented Jan 22, 2024 via email

@holgerbrandl
Copy link
Author

Yes, when releasing the mouse while dragging node (with some partial intersection with another node).

I do not think that partially stacking nodes is necessarily a bad/incorrect function. From a graph perspective it is legit. Clearly from a UI perspective it becomes harder to manage.

With the current auto-merge, it is impossible to place nodes with partial intersection (although this would be correct from a domain perspective (here a transport network). The orange rectangle will disappaer when releasing the mouse
image

Workaround: Move nodes with the keyboard, but this is quite tedious.

Could potentially a modifier key support be added to prevent auto-merging?

@ArsMasiuk
Copy link
Owner

Well; I see... This feature can be useful indeed.
I'll put it on 0.7 release, hopefully it will be released sooner or later.
Thank you for using the Qvge btw :)

@ArsMasiuk ArsMasiuk self-assigned this Jan 22, 2024
@ArsMasiuk ArsMasiuk added the enhancement New feature or request label Jan 22, 2024
@ArsMasiuk ArsMasiuk added this to the 0.7 milestone Jan 22, 2024
@holgerbrandl
Copy link
Author

Looking forward to the release!

ArsMasiuk added a commit that referenced this issue Apr 8, 2024
@ArsMasiuk
Copy link
Owner

Done for 0.7 dev now.

@ArsMasiuk ArsMasiuk added the Fixed Job is done but not jet released label Apr 8, 2024
@holgerbrandl
Copy link
Author

holgerbrandl commented Apr 9, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Fixed Job is done but not jet released
Projects
None yet
Development

No branches or pull requests

2 participants