Elk layout subgraph labels have no space with htmlLabels=false #4196
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
In flowchart/graph diagrams, if I create a subgraph and use the elk layout, the subgraph title has no collision: the nodes and subgraphs inside it overlap the title, which is also off-center. Seems similar to #1177 and #1572--it looks like an html text element that has no width and is overflowing.
But it works when I reenable htmlLabels (except for the part where htmlLabels don't work in CLI generation due to #2688 et al).
Steps to reproduce
See the live editor:![](https://camo.githubusercontent.com/8485e6db43ee7a7256e9a42a9ded424b2368ed11733c35315761d355f47a13e3/68747470733a2f2f6d65726d6169642e696e6b2f696d672f70616b6f3a654e6f745473734b776a41515f4a57793046755f6f4a35383943594b32704d73794e70736254485a6c445242704f546654593137476562427a697a515763565151316b756f34792d4c686145587474334e35447a4344382d654b4f503947413972304a5065756171514644635539442d77714c5973567339424e59766842686a576149384855314430653551554f62777950523062755f37357451326c2d614155715462626a4c755f7268506d483543425961646f56476c656374714966694244656569667a7343536b78524374356550394a423756336743734b6b79504e68704e52716f4d366a59534b35575774794b483442577174547a773f747970653d706e67)
Screenshots
Code Sample
No response
Setup
Additional Context
No response
The text was updated successfully, but these errors were encountered: