Fix new nodes being added in the wrong place near graph edges#4211
Conversation
There was a problem hiding this comment.
Code Review
This pull request decouples the node creation coordinates from the context menu display coordinates. It introduces a new 'node_creation_coordinates' field to 'ContextMenuInformation' to store the original click point, ensuring that newly created nodes are placed at the exact click location even if the context menu itself is shifted to fit on-screen. The frontend 'Graph.svelte' has been updated to use these new coordinates when creating a node. I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Fixes #4205