You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is more of a heads up than an actual issue (and this is probably more related to how dagre renders labels, but this may be of interest for mermaid), but if you use dynamically loaded fonts that are loaded through CSS, such as Google fonts, mermaid should wait for the whole page to have been loaded (dom + assets, particularly the font files).
Thus, developers that integrate mermaid into their own page should use
Hi,
This is more of a heads up than an actual issue (and this is probably more related to how
dagre
renders labels, but this may be of interest formermaid
), but if you use dynamically loaded fonts that are loaded through CSS, such as Google fonts,mermaid
should wait for the whole page to have been loaded (dom + assets, particularly the font files).Thus, developers that integrate
mermaid
into their own page should useover
Not doing so will most likely result in mermaid rendering graphs that have labels out of bounds.
Using ready
Using load
The text was updated successfully, but these errors were encountered: