Skip to content

[v3-1-test] fix(ui): only apply elk.portConstraints for LR orientation in graph view (#62144)#62187

Merged
pierrejeambrun merged 1 commit into
v3-1-testfrom
backport-d2377a9-v3-1-test
Feb 20, 2026
Merged

[v3-1-test] fix(ui): only apply elk.portConstraints for LR orientation in graph view (#62144)#62187
pierrejeambrun merged 1 commit into
v3-1-testfrom
backport-d2377a9-v3-1-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

The elk.portConstraints: "FIXED_SIDE" layout option breaks ELK.js
layout for non-LR orientations (TB, BT, RL) when TaskGroups are present,
causing nodes to spread horizontally and overlap. This is a regression
introduced between 3.0.6 and 3.1.x.

Conditionally apply the constraint only for RIGHT (LR) direction,
restoring correct layout behavior for all orientations.
(cherry picked from commit d2377a9)

Co-authored-by: Michael Silvestre 213663+rsilvestre@users.noreply.github.com
Closes: #61384

…n in graph view (#62144)

The `elk.portConstraints: "FIXED_SIDE"` layout option breaks ELK.js
layout for non-LR orientations (TB, BT, RL) when TaskGroups are present,
causing nodes to spread horizontally and overlap. This is a regression
introduced between 3.0.6 and 3.1.x.

Conditionally apply the constraint only for RIGHT (LR) direction,
restoring correct layout behavior for all orientations.
(cherry picked from commit d2377a9)

Co-authored-by: Michael Silvestre <213663+rsilvestre@users.noreply.github.com>
Closes: #61384
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Feb 19, 2026
@pierrejeambrun pierrejeambrun marked this pull request as ready for review February 19, 2026 18:11
@pierrejeambrun pierrejeambrun merged commit 73ddeb7 into v3-1-test Feb 20, 2026
55 checks passed
@pierrejeambrun pierrejeambrun deleted the backport-d2377a9-v3-1-test branch February 20, 2026 10:44
@vatsrahul1001 vatsrahul1001 added the type:bug-fix Changelog: Bug Fixes label Mar 1, 2026
@vatsrahul1001 vatsrahul1001 added this to the Airflow 3.1.8 milestone Mar 1, 2026
vatsrahul1001 pushed a commit that referenced this pull request Mar 4, 2026
…n in graph view (#62144) (#62187)

The `elk.portConstraints: "FIXED_SIDE"` layout option breaks ELK.js
layout for non-LR orientations (TB, BT, RL) when TaskGroups are present,
causing nodes to spread horizontally and overlap. This is a regression
introduced between 3.0.6 and 3.1.x.

Conditionally apply the constraint only for RIGHT (LR) direction,
restoring correct layout behavior for all orientations.
(cherry picked from commit d2377a9)


Closes: #61384

Co-authored-by: Michael Silvestre <213663+rsilvestre@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers. type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants