Description
mmdr is a native Rust renderer for Mermaid diagrams. It turns Mermaid text into images without a browser, so it needs no Puppeteer or Chromium. The project reports that it renders 100 to 1400 times faster than mermaid-cli. In its published benchmarks, small flowchart, class, state and sequence diagrams render in a few milliseconds, compared with about two seconds for mermaid-cli, and the built-in font cache is warm after the first run. The --fastText option uses calibrated fallback widths for ASCII labels to go faster still. The benchmarks were measured on Intel hardware running Linux. The speed advantage shrinks for very large diagrams, where layout work dominates, but a 200-node flowchart still renders about 48 times faster in the README's test. The renderer covers common Mermaid diagram types, including flowcharts, class, state and sequence diagrams.…
Highlights
- Pure Rust Mermaid renderer
- No browser or Chromium needed
- Hundreds of times faster than mermaid-cli
- Optional fast text metrics mode
- Usable as a CLI or Rust library
Ratings & Reviews
No ratings yet
Be the first to rate Mermaid RS Renderer.
People also visit
Mermaid Server
Go implementation of a HTTP server to allow remote generation of mermaid-js…
Mermaid RS Renderer FAQ
What is mmdr?
A Mermaid diagram renderer written in Rust that works without a browser.
How much faster is it?
The README reports 100 to 1400 times faster than mermaid-cli. The largest gains are on small diagrams.
Does it need Chromium?
No. The README says it has zero browser dependencies.
Which diagrams does it draw?
Flowcharts, class diagrams, state diagrams and sequence diagrams are covered in the benchmarks, and the README has a Diagram Types section.
Can I use it in code?
Yes. It can be used as a Rust library, which avoids process-spawn overhead, as well as from the command line.
What are the best Mermaid RS Renderer alternatives?
Popular alternatives to Mermaid RS Renderer include Diagram editor, Mermaid Server and Mermaid Live Editor. See all Mermaid RS Renderer alternatives






