Files
diagram-tools/docs/ARCHITECTURE.md
T
2026-09-01 14:10:51 +02:00

4 lines
315 B
Markdown

# Architecture
`core/diagram.ts` parses one fixed grammar into nodes, edges and line diagnostics, then lays it out deterministically as escaped SVG. Sequence diagrams use lifelines; other modes use a bounded grid. React shows the last successful SVG after errors and delegates PNG rasterization to a local canvas.