Mermaid 3D
Interactive spatial views of Mermaid diagrams
Explore Mermaid diagrams as solid nodes, spatial connections, and group volumes. Rotate the camera, trace relationships, and switch between light and dark views using the same theme as the static diagrams. Generated HTML files contain their fonts and renderer, so they work offline. PNG and WebP snapshots use the same scene and can be embedded as ordinary documentation images.
How it works
The renderer CLI obtains graph data through Mermaid’s public layout extension. The adapter arranges nodes, groups, and paths in three dimensions, using text measurements and colors from the shared theme. The CLI writes self-contained HTML and can export the scene and metadata as JSON.
The sample gallery includes 3D flowcharts, state diagrams, classes, entity relationships, and mindmaps. See the project documentation for build commands and current limitations.

