Styling subgraph?
See original GitHub issueIt would be nice to be allow to style subgraph, the same way we can style nodes, for example like this to change subgraph background color:
graph TD
subgraph A
B-->C
B-->D
C-.-D
end
D-->E
classDef red fill:#fdc
class A red
What do you think?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:38
- Comments:21 (3 by maintainers)
Top Results From Across the Web
How to style a Mermaid subgraph's title? - Stack Overflow
Styling a subgraph title seem to work like this: graph TB subgraph ED[Every Day] A <--> B end style ED color:#f66.
Read more >Subgraphs | The Official Guide to Mermaid.js
In this section, you will learn how to structure your flowchart by separating subsets of shapes into a group visualized by a surrounding...
Read more >StyleSubgraph - Maple Help - Maplesoft
The command StyleSubgraph, allows you to specify styles for given subgraphs overriding the default or previously set styles.
Read more >Mermaid Cheat Sheet @ https://jojozhuang.github.io
So how did you set the colors in your subgraphs? Moe • 6 months ago. If you look at **4.3 Larger Flowchart with...
Read more >Produce great looking flowcharts in seconds
A subgraph is a great way to break up a larger flowchart, or draw the eyes to focus in ... We then hide...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’ll take this feature!
Bump