AzeMark 2 · AzeForge 0.6.3
Diagrams and escape hatches.
Use the native diagram model first. Mermaid and five fixed TeX profiles cover figures outside the native families.
Directives
| Directive | Generated reference |
|---|---|
diagram | Fields, body schema, and limits |
mermaid | Fields, body schema, and limits |
tex | Fields, body schema, and limits |
Source and rendered output
Excerpt from 08-diagrams.aze.md in the upstream docs/language library, compiled with the pinned 0.6.3 compiler. The full file ships as a canonical Source below.
:::: diagram
id: request-flow
title: Request flow
mode: flowchart
flow: left-to-right
----
- kind: node
name: request
label: Request
shape: rounded
- kind: node
name: response
label: Response
shape: rounded
- kind: edge
from: request
to: response
::::Canonical Sources
These files come from the compiler's verified example library. Keep the document envelope and directive spellings intact when adapting them.
- DiagramsDownload the complete canonical Source.
- TeX renderer coverageDownload the complete canonical Source.
Known boundary. Mermaid needs the pinned browser engine. TeX needs a deployment-configured renderer and fails closed when that adapter is absent.
Authoring workflow
- Start from the smallest relevant block in the canonical Source.
- Give referenced declarations stable kebab-case identifiers.
- Run
azeforge validatebefore rendering. - Apply diagnostic suggestions to the reported location rather than guessing at a replacement field.
