Skip to content

feat: add free drag mode for flow editor nodes#8185

Draft
Guilhem-lm wants to merge 2 commits intomainfrom
glm/free-flow
Draft

feat: add free drag mode for flow editor nodes#8185
Guilhem-lm wants to merge 2 commits intomainfrom
glm/free-flow

Conversation

@Guilhem-lm
Copy link
Copy Markdown
Contributor

@Guilhem-lm Guilhem-lm commented Mar 2, 2026

Summary

  • Add a "Free drag" toggle in the flow editor that allows users to freely reposition nodes via drag-and-drop
  • Persist node position offsets in node_offsets on the flow value (new field in OpenFlow schema)
  • Add a "Reset layout" button to clear all custom offsets and return to auto-layout

Demo

Screen.Recording.2026-03-02.at.10.18.15.mov

Test plan

  • Open the flow editor, enable "Free drag" toggle, drag nodes around — positions should persist on save
  • Disable "Free drag" — nodes should no longer be draggable
  • Click "Reset layout" — nodes should return to their auto-computed positions
  • Verify exported flows include node_offsets

🤖 Generated with Claude Code

Guilhem-lm and others added 2 commits March 2, 2026 10:17
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 2, 2026

Deploying windmill with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5e0c93c
Status: ✅  Deploy successful!
Preview URL: https://7943f470.windmill.pages.dev
Branch Preview URL: https://glm-free-flow.windmill.pages.dev

View logs

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.

1 participant