Skip to content

show guide lines/boxes for nodes #228

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

Merged
merged 2 commits into from
Jul 13, 2024

Conversation

choey
Copy link
Contributor

@choey choey commented Apr 7, 2024

Hi,

This PR adds a quality-of-life improvement for keeping nodes neatly aligned in a workflow.

Problem

Consider the current behavior when organizing a node (snap to grid turned on):

demo1.mp4

Except for the faint preview box, indicating where the node will snap to, it's difficult to align a node with others (especially if they are far apart in the workflow).

Solution

  1. Display orthogonal guide lines that extend across the canvas. This helps align a node with other nodes.
  2. Customize the preview box for improved visibility.
demo2.mp4

@pythongosssss pythongosssss merged commit 1c48b26 into pythongosssss:main Jul 13, 2024
@pythongosssss pythongosssss mentioned this pull request Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants