Can't find a way to add spacing between the top node of the subgraph and the subgraph name #3779
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
Consider the following graph:
I could not find any way to add a space in such a graph.
Styling with "margin" does not work.
The vertical "margin" style setting is ignored.
The horizontal margin setting sort of works but works incorrectly (probably a separate bug). The margin adds space between the text inside a node and its border rather than to be a margin around the node itself.
See the second screenshot.
Steps to reproduce
Create a graph as described in the mermaid online editor.
Note: Same result in HackMD.
Screenshots
Code Sample
No response
Setup
Desktop
Additional Context
No response
The text was updated successfully, but these errors were encountered: