Browse diagram templates for Gateway, compare formats, and start faster with AI-ready examples.
Filter by language or use case, preview templates, and jump into related docs before you start generating your own diagram.

Payment processing system with multiple payment methods and fraud detection

API gateway entrypoint with auth, billing, and notification services. Starter template grounded in the Gateway and Downstream Bundle D2 syntax pattern.

API gateway entrypoint with auth, billing, and notification services. Operations variant that adds rate-limiting and audit trace collection.

API gateway entrypoint with auth, billing, and notification services. Enterprise variant that adds event bus fan-out for downstream notifications.

Online payment retry control for transient gateway failures. Starter template grounded in the Retry Loop D2 syntax pattern.

Online payment retry control for transient gateway failures. Operations variant that adds attempt counting and maximum-retry policy evaluation.

Online payment retry control for transient gateway failures. Enterprise variant that adds dead-letter recovery and manual fallback handling.

Synchronous checkout request sequence across gateway and services. Starter template grounded in the Basic Sequence D2 syntax pattern.

Synchronous checkout request sequence across gateway and services. Operations variant that adds fraud scoring interactions before final response assembly.

Synchronous checkout request sequence across gateway and services. Enterprise variant that adds status polling and finalization lookups for client confirmation.