Describe the bug
Property :::hidden doesn't hide the element properly when rendering to png, svg not tested, but it may have a similar issue
To Reproduce
Link to Live Editor: https://mermaid.live/
Steps to reproduce the behavior:
Use the :::hidden property, then click save as png
i.e.
flowchart TD
noneMain:::hidden ~~~
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C -->|Three| F[fa:fa-car Car]
Expected behavior
It shouldn't be rendered in the png output
Screenshots
Desktop (please complete the following information):
OS: Windows 10
Browser 1: Waterfox G6.0.11
Browser 2: Vivaldi 6.6.3271.61
Additional context
The bug sometimes renders differently on chromium-based browsers compared to firefox and it's forks
Describe the bug Property :::hidden doesn't hide the element properly when rendering to png, svg not tested, but it may have a similar issue
To Reproduce Link to Live Editor: https://mermaid.live/ Steps to reproduce the behavior:
Use the :::hidden property, then click save as png
i.e.
Expected behavior It shouldn't be rendered in the png output
Screenshots![vivaldi-screenshot](https://github.com/mermaid-js/mermaid-live-editor/assets/2000703/bcbaace4-f1f4-42e3-874a-02a75e930e1c)
Desktop (please complete the following information):
Additional context The bug sometimes renders differently on chromium-based browsers compared to firefox and it's forks