Skip to content

shape: cycle: preserve routes across child containers - #2806

Open
TAKENTHEREAL wants to merge 1 commit into
d2lang:masterfrom
TAKENTHEREAL:codex/d2-cycle-route-fix
Open

shape: cycle: preserve routes across child containers#2806
TAKENTHEREAL wants to merge 1 commit into
d2lang:masterfrom
TAKENTHEREAL:codex/d2-cycle-route-fix

Conversation

@TAKENTHEREAL

Copy link
Copy Markdown

Summary

  • add the shape: cycle layout and edge routing
  • preserve nested cycle content when child containers move
  • keep routes attached when an edge connects descendants in different cycle children
  • add focused regression coverage and Dagre/ELK cycle-diagram fixtures

Validation

  • go test ./... -count=1
  • TA=1 go test ./e2etests -run 'TestE2E/txtar/cycle-diagram' -count=1

Attribution

This is a follow-up candidate based on the public cycle-layout work in #2755 by @nicolatrozzi. The additional fix in this submission covers cross-child descendant-edge route movement.

/claim #1578

@TAKENTHEREAL TAKENTHEREAL mentioned this pull request Aug 4, 2026
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