### Description Multiline titles in flowchart subgraphs (e.g., `subgraph C["multiline text"]`) are overlapped by nodes. ### Steps to reproduce Check this example: ````text ```mermaid graph TD subgraph C["A process that<br> is generally adopted"] A[Christmas] -->|Get money| B(Go shopping) end ``` ```` ```mermaid graph TD subgraph C["A process that<br> is generally adopted"] A[Christmas] -->|Get money| B(Go shopping) end ``` [Another example with the Mermaid Live Editor](https://mermaid.live/edit#pako:eNo9T8tqwzAQ_BWxpxac4Gfs-FBIE8ipp_bUKAfF2toC64EkQ13H_17Fpp3T7jxgZoJGc4QaWstMRz5OVJEAN9xW4nihcCDG6gadI75jfjUIR1pUaFnfj4RxbTxyCtdVfOBwOXZWOC-Zu5LN5uV-Rk-kVjjeyevTWRPXaWOEap_XDCoOEUi0kgke-kwPmoLvUCKFOpwcv9jQewpUzcHKBq_fR9VA7e2AEQyGM48nwUJx-UciF17bt3XisjQCw9Sn1v-W8EI9wTfUWZpvs3Jfltm-2GVJBCPUaZZvizSNyzTeZVVQqzmCnyUeb4t4QZIneRFXZTX_AolVZuU) ```text graph TD subgraph C["A process that is generally adopted"] A[Christmas] -->|Get money| B(Go shopping) end ``` ### Setup **Desktop** - OS and Version: Windows 11 - Browser and Version: Chrome Version 107.0.5304.107 (Official Build) (64-bit), Firefox 107.0 (64 bit, ... - Mermaid v9.2.2 ### Additional Context In addition, it appears that there is no possibility to control the spacing of the subgraph title text (margin, padding).
Description
Multiline titles in flowchart subgraphs (e.g.,
subgraph C["multiline text"]) are overlapped by nodes.Steps to reproduce
Check this example:
graph TD subgraph C["A process that<br> is generally adopted"] A[Christmas] -->|Get money| B(Go shopping) endAnother example with the Mermaid Live Editor
Setup
Desktop
Additional Context
In addition, it appears that there is no possibility to control the spacing of the subgraph title text (margin, padding).