Skip to main content

Crate merman

Crate merman 

Source
Expand description

merman is a headless, parity-focused Mermaid implementation in Rust.

It is pinned to Mermaid @11.12.3; upstream Mermaid is treated as the spec. See:

  • docs/adr/0014-upstream-parity-policy.md
  • docs/alignment/STATUS.md

§Features

  • render: enable layout + SVG rendering (merman::render)
  • raster: enable PNG/JPG/PDF output via pure-Rust SVG rasterization/conversion

Modules§

common
common_db
config
detect
diagram
diagrams
entities
error
generated
geom
models
preprocess
render
sanitize
time
utils

Structs§

Detector
DetectorRegistry
DiagramRegistry
Engine
MermaidConfig
ParseMetadata
ParseOptions
ParsedDiagram
ParsedDiagramRender
PreprocessResult

Enums§

Error
RenderSemanticModel

Functions§

preprocess_diagram
preprocess_diagram_with_known_type

Type Aliases§

DiagramSemanticParser
Result