Skip to content

Diagram roadmap — recommended Mermaid by page

CodeType
AERD (entity relationship)
BData dictionary (column meaning — overlaps generated DocType tables)
CData flow (DFD)
DBPMN-style process
ESequence
FState machine
GSystem architecture
HPackage / module
IInformation architecture (sitemap)
JUser flow
Page / areaPrioritySecondary
HomeG, I
Start guideI, JG
Reading orderHE
Scenario: Billing → Xero, PayrollC, EF
Platform primerGH
System contextG
System overview, Request flowG, EC
Technology stackG, H
Module catalogHI
Application lifecycleE, FC
Billing flowC, EF
Debt, Xero tenantE, CA (partial)
Integrations (all four)E, CA (integration tables)
Custom DocTypes, ER diagramsA, BC
DocType reference (generated)BA (summary only)
API inventoryEH
Doc events, SchedulersE, FC
Overrides, ScriptsEH
Flows overviewD, FC
Deployment, Cloudflare Pages, SecurityG
Glossary, How to readI
  1. GSystem context (done as baseline).
  2. E — deepen on Xero, Billing, Application lifecycle pages.
  3. A / BER diagrams + generated tables.
  4. I / J — refine Start guide and tutorials.

RuleRationale
Keep diagrams smallLarge Mermaid blocks rot quickly when code changes
Co-locatePut diagrams in the same .md as the narrative they explain
Version in PRWhen behavior changes, update diagrams in the same PR as code when possible
Prefer links over duplicationOne canonical sequence diagram per flow; link from Flows overview

Add rows to the table above when you create:

Suggested types: G (context) for ADR index; G/E for runbook procedures.