Three-tier web app
Browser → Load balancer → API pool → Database / Cache.
View example and source Edit in StudioCompatible 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.

Most users come to D2 from Lucidchart Cloud Insights or Structurizr. flowss runs this engine in the browser — no install, shareable via URL, exportable to PNG / SVG / PDF / source.
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.
Browser → Load balancer → API pool → Database / Cache.
View example and source Edit in StudioGateway fronts services; bus fans out to async workers.
View example and source Edit in StudioIngress → Service → Deployment → Pods; ConfigMap + Secret.
View example and source Edit in StudioRoute53 → CloudFront → ALB → ECS → RDS / ElastiCache.
View example and source Edit in StudioPR → tests → build → staging → manual approve → prod.
View example and source Edit in StudioOrder created → Payment → Inventory → Shipping, all via events.
View example and source Edit in Studiod2 · ← Browse all engines · Quick-start guide