MacDownApp / MacDownApp/macdown
Graphviz's filled and color attributes doesn't work
- Dominant language
- Rich Text Format
- Stars
- 9.8k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Like
`digraph {
node [style=filled,color=white];
a -> b
}`
The result is:

On viz-js.com , it seems :

I know why!.
The mermaid we use is older version, it's css file 'mermaid.forest.css' override the node's style.
So, If we upgrade the mermeiad, we do not need the mermaid.forest.css file. So it is ok.
Like this:

Contributor guide
Research direction
Inspect the Mermaid integration and the mermaid.forest.css file mentioned in the issue, then reproduce the Graphviz example with filled and color attributes. Done means the rendered nodes honor those attributes without the stylesheet overriding them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100