Architecture Lab

Create Mermaid diagrams, explore a local system-design simulator and model database relationships. Inspect connected systems in Architecture Lab.

The interactive workspace opens with JavaScript.

Read the tool guide ↓
TOOL GUIDE

Mermaid, Architecture & Database Diagram Tools

Explain a connected system with diagrams rather than scattered notes. Architecture Lab offers Mermaid source and preview, an interactive system-design model, and database relationship editing.

What you can do

  • Edit Mermaid code and inspect the rendered diagram.
  • Explore traffic and failure settings in a local system-design simulation.
  • Model database tables and relationships using the ERD workspace.

How to use Architecture Lab

  1. Choose Mermaid, System simulator or Database ERD.
  2. Enter diagram source or configure the nodes and connections.
  3. Inspect the result and use the export controls available for that mode.

PRACTICAL WALKTHROUGH

Describe a request and an asynchronous worker

Use a diagram to make one system decision clear. For example, show that an API acknowledges work before a queue-driven worker processes it. Keep the diagram focused on the question you need to discuss rather than treating more nodes as a better architecture.

Example input or setup

flowchart LR
  Browser --> API
  API --> Queue
  Queue --> Worker
  Worker --> Database

Expected result

A left-to-right Mermaid diagram connects Browser, API, Queue, Worker and Database.

The arrows describe a conceptual path. They do not specify delivery guarantees, retries, authorization or transaction boundaries. Add those decisions in a review note or use the simulator to explore assumptions, then validate them in the real system.

Before you rely on the result

  • The system simulator is a local model, not measured production capacity or verified latency.
  • A diagram does not prove a design is secure or fault tolerant. Explicitly discuss retries, timeouts and failure ownership.
  • Database relationships need consistent keys and cardinalities. An ERD drawing does not run a migration against your database.

Common questions

Are simulator metrics real production measurements?

No. They describe the local model and its input parameters. Use real monitoring and load testing to assess a deployed system.

Can I edit the source of a Mermaid diagram?

Yes. The Mermaid mode provides a source editor and rendered preview, with controls for inspecting and exporting the diagram.

← All developer tools