Architecture (@arch)

Architecture diagrams are the most common TDL diagram type. They show system components and their relationships.

@arch
[nodes]
  web:Web Frontend|cloud
  api:API Gateway
  auth:Auth Service|cyl
  db:PostgreSQL|cyl

[edges]
  web->api:REST
  api->auth:validate
  api->db:query
Rendered diagram

When to Use

  • System architecture overviews

  • Microservices communication

  • Cloud infrastructure diagrams

  • Data flow between components

Key Concepts

Concept
Description
Example

Nodes

Components in your system

api:API Gateway

Shapes

Visual representation

|cyl for databases

Edges

Connections between nodes

api->db:query

Groups

Logical groupings

[Backend] section

Icons

Cloud provider logos

|icon:aws-lambda

Quick Reference

Rendered diagram

In This Section

Last updated