D2
Compatible with D2 (Terrastruct)
Modern declarative architecture-diagram language. Concise syntax: `api -> db: queries` becomes an arrow with a label; `auth: { login -> session }` groups into a container. Renders through our Graphviz pipeline.
In the same space
Most users come to D2 from Lucidchart Cloud Insights or Structurizr. Glyph runs this engine in the browser — no install, shareable via URL, exportable to PNG / SVG / PDF / source.
Syntax at a glance
api -> db: queries
web -> apiPaste this in the Studio code pane to see D2 render live. The full grammar is at the upstream-docs link above.
Sample templates
All 33 →Browser → Load balancer → API pool → Database / Cache.
Gateway fronts services; bus fans out to async workers.
Ingress → Service → Deployment → Pods; ConfigMap + Secret.
Route53 → CloudFront → ALB → ECS → RDS / ElastiCache.
PR → tests → build → staging → manual approve → prod.
Order created → Payment → Inventory → Shipping, all via events.
d2 · ← Browse all engines · Quick-start guide