Skip to main content

Architecture Diagram Generator

Create software architecture and system design diagrams

Diagram Settings

Add Components

Components (9)

client
infrastructure
service
service
service
service
database
database
infrastructure

Connections (9)

C1
C2
C3
C4
C5
C6
C7
C8
C9

Display Options

Theme

Preview

Presentation LayerApplication LayerData LayerHTTPSHTTPRESTRESTRESTSQLSQLCacheAMQPWeb Browser[React]Load Balancer[Nginx]API Gateway[Kong]Auth Service[Node.js]User Service[Python]Order Service[Java]PostgreSQL[PostgreSQL]Redis Cache[Redis]Message Queue[RabbitMQ]
Web Application Architecture
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Architecture Diagram - Web Application Architecture</title>
  <style>
    body {
      margin: 0;
      padding: 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      background: #ffffff;
      font-family: system-ui, -apple-system, sans-serif;
    }
    .diagram-container {
      background: white;
      border-radius: 8px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      padding: 20px;
    }
    h1 {
      text-align: center;
      color: #212121;
      margin-bottom: 20px;
    }
    .legend {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      justify-content: center;
      margin-top: 20px;
      padding-top: 20px;
      border-top: 1px solid #ddd;
    }
    .legend-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
    }
    .legend-icon {
      width: 24px;
      height: 24px;
      border-radius: 4px;
      border: 2px solid;
    }
  </style>
</head>
<body>
  <div class="diagram-container">
    <ToolHeader title="Web Application Architecture" description="Design system architecture diagrams showing components and their relationships" />
    <svg viewBox="0 0 800 550" width="100%">
      <!-- Architecture diagram content -->
    </svg>
    <div class="legend">
      <div class="legend-item">
        <div class="legend-icon" style="background:#bbdefb;border-color:#1976d2"></div>
        Client
      </div>
      <div class="legend-item">
        <div class="legend-icon" style="background:#c8e6c9;border-color:#388e3c"></div>
        Service
      </div>
      <div class="legend-item">
        <div class="legend-icon" style="background:#fff9c4;border-color:#f9a825"></div>
        Database
      </div>
      <div class="legend-item">
        <div class="legend-icon" style="background:#e1bee7;border-color:#7b1fa2"></div>
        Infrastructure
      </div>
    </div>
  </div>
</body>
</html>