fix(dashboard): feedback edges connect from node sides (#247) #251

Closed
xingyue wants to merge 0 commits from fix/dashboard-graph-side-handles into main
Owner

What

Feedback edges now connect from the left/right side of nodes instead of top/bottom.

Why

Edges were too close to the node, making the graph hard to read.

Changes

  • role-node.tsx: add Left/Right handles
  • use-layout.ts: assign sourceHandle/targetHandle for feedback edges
  • condition-edge.tsx + use-layout.ts: increase FEEDBACK_OFFSET_X 100→140

Ref: #247

## What Feedback edges now connect from the left/right side of nodes instead of top/bottom. ## Why Edges were too close to the node, making the graph hard to read. ## Changes - role-node.tsx: add Left/Right handles - use-layout.ts: assign sourceHandle/targetHandle for feedback edges - condition-edge.tsx + use-layout.ts: increase FEEDBACK_OFFSET_X 100→140 Ref: #247
xingyue added 1 commit 2026-05-14 07:52:37 +00:00
What: Feedback (back) edges now connect from the left/right side of nodes
instead of top/bottom, making the routing visually clearer.

Changes:
- role-node.tsx: add Left/Right handles for feedback edge connections
- use-layout.ts: set sourceHandle/targetHandle for feedback edges
- condition-edge.tsx + use-layout.ts: increase FEEDBACK_OFFSET_X to 140

Ref: #247
xingyue added 1 commit 2026-05-14 07:54:25 +00:00
Prevent React Flow from auto-routing forward edges to side handles.
All handles now have explicit IDs and all edges specify sourceHandle/targetHandle.
xingyue force-pushed fix/dashboard-graph-side-handles from 31f96da624 to 019d8c1ee9 2026-05-14 08:00:00 +00:00 Compare
xingyue closed this pull request 2026-05-14 08:30:34 +00:00
This repo is archived. You cannot comment on pull requests.
No Reviewers
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#251