What I can't figure out is how to change the defaults for the subgraph?
If the subgraph doesn't have any children, it's the color of a rect. Once it has, it reverts to default color.
Bonus question: How does one figure out the names of css objets? I'm not a web dev and it's not obvious to me how could I investigate further. I tried exporting the note to html and searching through the style section, using the Dev tools in Joplin with no luck
Sorry. I totally missed this post. I'm glad you figured it out.
At one point I was thinking about allowing to set the Mermaid style (on of the ons that come with Mermaid) via an option, but I can't recall why we decided against it.
that's alright, it wasn't a big issue. I think I read about the idea somewhere here while looking for solutions, but for me I wanted something applied throughout Joplin.
I do wonder tho: how come the edges in Joplin's mermaid renders are not rounded like I see in mermaid's docs? E.g.
Not sure why if you're using the exact same code from the mermaid docs, but I have noticed the lines are curved when I use flowchart TD instead of graph TD.
Flowchart seems to be what I need most of the time. I can't find what I need to change to change the flowchart arrowhead? Looks like it is the default black color