Preview of ra-mermaidOpen ramraj07.github.io

ramraj07.github.io/ra-mermaid

ra-mermaid

Fork of Mermaid adding stacked subgraph layout syntax and a playground with local storage snapshots.

Visit project

Show me a random project

First shared
Oct 25, 2026
HN activity
10

Show HN@ramraj07Oct 25, 2026

Show HN: I added stacked subgraphs to Mermaid flowcharts

I’m an avid user of mermaid but am constantly annoyed by their limitation that subgraphs do not follow direction if any internal nodes are connected to the outside. So I asked Claude to add a new syntax called stack layout and it seems to work pretty elegantly. I also fixed my annoyance with mermaid.live and allowed this playground to save snapshots in your local storage as well. Happy to add more storage features if anyone’s interested! The one prompt fork is at https://github.com/ramraj07/ra-mermaid

Community

Hacker News discussion

Loading the thread…