Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 1.54 KB

File metadata and controls

20 lines (16 loc) · 1.54 KB

Compatibility matrix

This table describes the intentionally small current contract. It is not a claim of full Mermaid compatibility.

Family Supported now Explicitly deferred
flowchart / graph TD, TB, LR, BT, RL; bare and [label] nodes; --> edges Other edge operators, shapes, subgraphs, styles, links, click handlers
sequenceDiagram auto-registered participants; ->> and -->>; optional message label participant/actor declarations, notes, activation, blocks, else/and, response variants
mindmap two-space indentation hierarchy; bare, [rectangle], and ((double-circle)) nodes; one root icons, classes, markdown labels, alternate shapes, and non-two-space indentation
requirementDiagram requirement and element blocks; risk and verification metadata; satisfies and verifies relationships specialized requirement kinds, styling, direction, and the remaining relationship kinds
packet optional title; ascending absolute single-bit and bit-range fields with quoted labels relative +count fields, configuration, and styling
Other Mermaid families rejected with UNSUPPORTED_DIAGRAM all other families until separately specified and tested

Unsupported syntax is a normal, typed failure. Consumers must not treat a failure as an empty diagram.

The compatibility corpus is pinned in compatibility/upstreams.lock and uses the MIT beautiful-mermaid and its Swift port as implementation references; upstream Mermaid remains the syntax reference.