Reference
Mermaid Diagram Guide
Author Mermaid diagrams for the docs using the checked-in SVG pipeline and consistent icon language.
The docs use checked-in Mermaid source files rendered to SVG through the site diagram pipeline.
Workflow
- add a
.mmdfile undersite/diagrams/src - generate the SVG with
task site:diagrams - embed the SVG with a styled mermaid figure
- add descriptive alt text on the image
Diagram Rules
- keep one concept per diagram
- prefer left-to-right flow for process diagrams
- use short labels
- pair icons with text, never icons alone
- reuse the same icon for the same concept across the site
Icon Language
fa:userorfa:circle-userfor principals and end usersfa:id-cardorfa:address-bookfor identity and group-oriented nodesfa:folder-openfor containers like catalogs, schemas, or projectsfa:file-linesorfa:file-codefor SQL, models, and declarative resourcesfa:note-stickyfor notebooksfa:chart-barfor metrics and dashboardsfa:clock,fa:calendar, andfa:hourglass-halffor scheduling and freshnessfa:circle-check,fa:circle-xmark, andfa:bellfor checks and statusfa:hard-drivefor storage and external locationsfa:handshakefor contracts and subscriptionsfa:maporfa:compassfor lineage and navigation concepts