Expand description
Mermaid diagram element.
Renders Mermaid diagrams to SVG by executing the embedded Mermaid runtime inside a
headless Chrome instance. The produced SVG is embedded into the PDF using the
existing Image element. Note that rendering requires the mermaid feature and a
working headless Chrome executable available at runtime. Doc examples demonstrate
API usage but do not perform rendering to avoid requiring Chrome in doctests.
Modules§
- inner 🔒
Structs§
- Mermaid
- Element that renders a Mermaid diagram into the PDF as an SVG image.