Skip to content

[graph/core] refactor: decouple node position from GNode#687

Merged
Yonava merged 22 commits into
mainfrom
yva/node-positioning-system
Jun 14, 2026
Merged

[graph/core] refactor: decouple node position from GNode#687
Yonava merged 22 commits into
mainfrom
yva/node-positioning-system

Conversation

@Yonava

@Yonava Yonava commented Jun 14, 2026

Copy link
Copy Markdown
Owner

Summary

Closes #600. Related: #616, #648, #649.

  • Strips x/y off GNode — node is now a pure data type with no spatial concerns
  • Introduces createNodePositionStore as the authoritative position system with a streaming API for continuous moves (e.g. drag) and discrete commits
  • Wires the position store through actions, drag plugin, canvas themes, tree positioners, and events
  • Promotes singular onNodeAdded/onNodeRemoved/onEdgeAdded/onEdgeRemoved events to plural batch forms

@Yonava Yonava changed the title [graph/core] node positioning system [graph/core] refactor: decouple node position from GNode Jun 14, 2026
@Yonava Yonava merged commit 03e00ca into main Jun 14, 2026
1 check failed
@Yonava Yonava deleted the yva/node-positioning-system branch June 14, 2026 07:41
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.

[graph] remove x and y coordinate fields from GNode

1 participant