rsilvestre opened a new pull request, #62144: URL: https://github.com/apache/airflow/pull/62144
## Summary - Fix Graph View layout regression where TB/RL/BT orientations break when TaskGroups are present - The `elk.portConstraints: "FIXED_SIDE"` layout option is now conditionally applied only for RIGHT (LR) direction, as it causes ELK.js to incorrectly spread nodes horizontally for other orientations - This restores the correct behavior from Airflow 3.0.6 ## Root Cause The `elk.portConstraints: "FIXED_SIDE"` option was applied unconditionally to both open TaskGroup nodes and individual task nodes. This constraint works correctly for LR layouts but breaks the ELK.js layout algorithm for TB, BT, and RL orientations when TaskGroups are present. ## Test plan - [ ] Deploy a DAG with TaskGroups (see reproduction DAG in #61384) - [ ] Verify Graph View renders correctly in all four orientations: LR, RL, TB, BT - [ ] Verify LR orientation still benefits from the FIXED_SIDE port constraint - [ ] Verify non-TaskGroup DAGs are unaffected Closes #61384 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
