Skip to content

Fix Mermaid composite activity labels - #151

Merged
SandroMaglione merged 1 commit into
mainfrom
codex/fix-mermaid-composite-activities
Aug 19, 2026
Merged

Fix Mermaid composite activity labels#151
SandroMaglione merged 1 commit into
mainfrom
codex/fix-mermaid-composite-activities

Conversation

@SandroMaglione

Copy link
Copy Markdown
Member

Summary

  • Keep activities owned by composite or parallel states in the state's single Mermaid group label.
  • Preserve the existing description syntax for activities owned by leaf states.
  • Cover composite child-machine activities with a focused regression assertion.

The renderer previously emitted both a labelled composite declaration and a second state_id: description. Mermaid rejects that representation with Group nodes can only have label.

Changeset

  • Added or updated for a library or package-metadata change
  • Not required because this PR does not change src/ or package.json

Validation

  • pnpm check
  • Relevant example checks, when examples changed (not applicable)
  • Automated type-performance measurement passed or was not required
  • Automated runtime- and memory-performance measurement passed or was not required

@SandroMaglione
SandroMaglione merged commit 1391755 into main Aug 19, 2026
11 checks passed
@SandroMaglione
SandroMaglione deleted the codex/fix-mermaid-composite-activities branch August 19, 2026 14:12
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