ra-mermaid
ra-mermaid, a fork of Mermaid flowcharts that adds a new 'stack layout' syntax so subgraphs follow direction even when internal nodes connect to the outside, plus a playground that saves snapshots in local storage.
What it addresses
In Mermaid, subgraphs do not follow direction if any internal nodes are connected to the outside, and the mermaid.live playground lacks snapshot saving.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
ra-mermaid
ra-mermaid, a fork of Mermaid flowcharts that adds a new 'stack layout' syntax so subgraphs follow direction even when internal nodes connect to the outside, plus a playground that saves snapshots in local storage.
Problem: In Mermaid, subgraphs do not follow direction if any internal nodes are connected to the outside, and the mermaid.live playground lacks snapshot saving.
Posted by @ramraj07 · Original source ↗
Story title · @ramraj07 · · Source ↗
Show HN: I added stacked subgraphs to Mermaid flowcharts
Submitted URL · @ramraj07 · · Source ↗
https://ramraj07.github.io/ra-mermaid/
Source text · @ramraj07 · · Source ↗
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.
Source text · @ramraj07 · · Source ↗
So I asked Claude to add a new syntax called stack layout and it seems to work pretty elegantly.
Source text · @ramraj07 · · Source ↗
I also fixed my annoyance with mermaid.live and allowed this playground to save snapshots in your local storage as well.
Source text · @ramraj07 · · Source ↗
The one prompt fork is at https://github.com/ramraj07/ra-mermaid