Skip to content

docs: two layout notes in the mermaid skill - #62

Open
bencode wants to merge 1 commit into
mainfrom
docs/skill-layout-notes
Open

bencode wants to merge 1 commit into
mainfrom
docs/skill-layout-notes

Conversation

@bencode

@bencode bencode commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Two layouts reported from using the skill, both checked against Mermaid v12.3.0 (default ELK layout), which draws them the same way as sumi, so neither is a sumi bug:

  • Nodes with no edge between them in an LR subgraph share a rank and stack vertically, here in the reverse of the written order. An invisible link (L ~~~ R) puts them side by side in both.
  • A self message's text is centred on the lifeline, which runs through it. A short message plus Note right of keeps the text clear.

The skill now notes both, with the workaround.

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