enso/app/gui2/stories
Adam Obuchowicz 579d83a450
Magnet algorithm when dragging nodes. (#8224)
Fixes #8070

When dragging a node, it is snapped to any axis being an extension to another node's boundary. This helps user keeping their nodes neatly aligned.

https://github.com/enso-org/enso/assets/3919101/36dd4d5f-55d3-4f3c-ba49-e8425fae8270

# Important Notes
* Now the position is saved to Yjs doc only when drag is finished.
* Node structure in graph store has two position fields: one representing what is currently stored in the node's metadata, and where the node is displayed. `nodeRects` use the visible rectangles.
2023-11-07 15:51:30 +00:00
..
histoire Read custom visualizations (#8180) 2023-11-03 20:09:45 +00:00
AllSvgIcons.story.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
CircularMenu.story.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
CodeEditor.story.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
ComponentBrowser.story.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
GeoMapVisualization.story.vue Read custom visualizations (#8180) 2023-11-03 20:09:45 +00:00
GraphEditor.story.vue Magnet algorithm when dragging nodes. (#8224) 2023-11-07 15:51:30 +00:00
GraphNode.story.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
GroupColorsWrapper.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
HeatmapVisualization.story.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
HistogramVisualization.story.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
ImageVisualization.story.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
JSONVisualization.story.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
MockFSWrapper.vue Read custom visualizations (#8180) 2023-11-03 20:09:45 +00:00
MockProjectStoreWrapper.vue Read custom visualizations (#8180) 2023-11-03 20:09:45 +00:00
mockSuggestions.json [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
NavigatorWrapper.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
ScatterplotVisualization.story.vue Read custom visualizations (#8180) 2023-11-03 20:09:45 +00:00
SelectionBrush.story.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
SelectionBrushWrapper.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
setup.ts Read custom visualizations (#8180) 2023-11-03 20:09:45 +00:00
SQLVisualization.story.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
story.css [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
SvgIcon.story.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
TableVisualization.story.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
TopBar.story.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
UserDefinedVisualization.story.vue Read custom visualizations (#8180) 2023-11-03 20:09:45 +00:00
VisualizationSelector.story.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
WarningsVisualization.story.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00
Widgets.story.vue [gui2] Component demos (#7945) 2023-10-29 19:02:07 +00:00