How to style the title in a Mermaid subgraph? I would like to make the font larger and add some blank space between the title and the first node beneath it.
I tried adding some <br/>'s
after the title but that pushed the title above the boundary of the subgraph.
graph TB
subgraph someID[Some Title]
direction TB
....
end
Styling a subgraph title seem to work like this:
graph TB
subgraph ED[Every Day]
A <--> B
end
style ED color:#f66
Caveat: I'm using Microsoft Github's in-browser Mermaid markdown preview and I'm not sure to what degree their implementation is conformant.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With