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

[Feature request]: Align selected nodes all at once #260

Open
3 tasks done
louisgreiner opened this issue Aug 21, 2024 · 2 comments · Fixed by #389
Open
3 tasks done

[Feature request]: Align selected nodes all at once #260

louisgreiner opened this issue Aug 21, 2024 · 2 comments · Fixed by #389
Assignees
Labels
enhancement New feature or request UX (enhancement)

Comments

@louisgreiner
Copy link
Collaborator

louisgreiner commented Aug 21, 2024

Preflight Checklist

Request type

Request for a new component

Functionality

Currently, we have to move the nodes and set their position manually. To draw a nice network graphic, one would like to align the nodes (= same x or y position).

We can start think about a feature that would align the selected nodes, or if a user drag a node next to another, it can "stick" to the same x or y position than its neighbor, or any other node close to the same x or y position, as it can be the case for PowerPoint elements

I believe there is already a "stick to near node position" feature, but is there any "stick all selected nodes positions" feature coming ?

Link to design proposal file

No response

@aiAdrian
Copy link
Collaborator

Indeed, there is a primitive for aligning nodes to the raster. But this method is not yet fully implemented and can be improved.

 export const RASTERING_BASIC_GRID_SIZE = 32;

 NodeService.alginNodeToRaster
 NoteService.alginNoteToRaster

This problem requires a more detailed specification. It may be worth working with a UX designer. PowerPoint could be a good application to draw inspiration from.

@aiAdrian aiAdrian added enhancement New feature or request UX (enhancement) labels Aug 27, 2024
@aiAdrian aiAdrian self-assigned this Dec 16, 2024
@aiAdrian aiAdrian linked a pull request Dec 17, 2024 that will close this issue
5 tasks
@aiAdrian aiAdrian reopened this Dec 17, 2024
@aiAdrian
Copy link
Collaborator

First part of featute is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request UX (enhancement)
Projects
None yet
2 participants