Verify Mermaid diagram
verifyParse and verify a Mermaid diagram without rendering it. Returns
{ ok, family, summary, warnings, layout: { bounds, nodes, edges } } for valid
diagrams and { ok: false, errors } for parse failures. family is the detected
diagram family and summary a one-line description — check them: ok:true only
means the diagram is structurally valid, not that it is the kind you intended.
Warnings use the layout-rubric codes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Mermaid source. |