/mermaid-rs

Rust port of mermaid

Primary LanguageRustApache License 2.0Apache-2.0

mermaid

A port of the mermaid.js chart drawing library to Rust.

Goals

  • User friendly
    • Very forgiving grammars that uses backtracking where necessary to accept as many different valid inputs as possible.
    • Error messages that explain the problem and locate it in the input.
  • Optional rendering of charts using piet.

Non-goals

  • Exact 1-1 correspondence between accepted grammars of mermaid.js and this library.
  • Exact 1-1 look of rendered charts between mermaid.js and this library.