merman-render 0.4.0

Headless layout + SVG renderer for Mermaid (parity-focused; upstream SVG goldens).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# merman-render

Headless layout + SVG renderer for Mermaid.

Baseline: Mermaid `@11.12.3` (upstream Mermaid is treated as the spec).

This crate provides:

- Layout (geometry + routes) on top of the semantic model from `merman-core`
- SVG output with parity-oriented DOM comparison against upstream baselines

If you want a single ergonomic API surface, use the `merman` crate with the `render` feature.

Note: upstream Mermaid renders `$$...$$` fragments via KaTeX (JS) and measures the resulting HTML
in a browser DOM. merman is pure-Rust by default, so optional math rendering is exposed as a
pluggable interface (`merman_render::math::MathRenderer`), with a no-op default.

Parity dashboards and automation live in `docs/alignment/STATUS.md` in the repository.