question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Styling subgraph?

See original GitHub issue

It 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:closed
  • Created 7 years ago
  • Reactions:38
  • Comments:21 (3 by maintainers)

github_iconTop GitHub Comments

11reactions
WalshJPcommented, Jan 8, 2017

I’ll take this feature!

8reactions
omerbensacommented, Feb 20, 2019

Bump

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found