Skip to content

fix(graph): enhance start node and end node layout#2144

Merged
marrouchi merged 12 commits into
mainfrom
fix/graph-enhance-start-node-and-end-node-layout
Jul 21, 2026
Merged

fix(graph): enhance start node and end node layout#2144
marrouchi merged 12 commits into
mainfrom
fix/graph-enhance-start-node-and-end-node-layout

Conversation

@yassinedorbozgithub

Copy link
Copy Markdown
Collaborator

Screenshots

  • After the fix
image image
  • Before the fix
image image

Summary

This PR improves the graph layout by enhancing the positioning of the workflow Start and End nodes. The updated layout ensures these nodes are consistently aligned with the main execution flow, producing cleaner and more predictable workflow diagrams.

Why

The previous positioning of the Start and End nodes could lead to inconsistent layouts, making workflows harder to read—especially in larger or more complex graphs. Aligning these entry and exit points improves visual clarity and creates a more polished editing experience.

How to review

Focus on the graph layout changes, specifically:

  • Verify the Start node is consistently positioned at the beginning of the workflow.
  • Verify the End node is consistently positioned at the end of the workflow.
  • Check workflows with linear, conditional, parallel, and nested branches to ensure the new positioning behaves correctly without introducing regressions.
  • Confirm edge routing remains clean and node spacing is preserved.

Validation

  • Tested workflows containing simple linear flows.
  • Tested workflows with conditional and parallel branches.
  • Verified Start and End node alignment after layout re-computation.
  • Confirmed there are no regressions in node positioning, edge routing, or overall graph spacing.

@yassinedorbozgithub yassinedorbozgithub self-assigned this Jul 20, 2026
@yassinedorbozgithub yassinedorbozgithub added the bug Something isn't working label Jul 20, 2026
@yassinedorbozgithub
yassinedorbozgithub marked this pull request as draft July 21, 2026 13:31
@yassinedorbozgithub
yassinedorbozgithub marked this pull request as ready for review July 21, 2026 13:57
@marrouchi
marrouchi merged commit d956a01 into main Jul 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants