PPTX.gallery

Diagram

Architecture

Use an architecture diagram to show services, how they connect and where they run, such as the parts of a web application.

architecturearchitecture-beta
In the cloud, the web app calls the API and the API reads and writes the database.
The sample below, drawn with the gallery's default theme. Another theme, color scheme or variant redraws the same source in its fonts and colors.

First line

The first word of the source, architecture-beta, names the Mermaid family; the rest follows Mermaid's syntax for it.

Alt text

In the cloud, the web app calls the API and the API reads and writes the database.

Markdown

A mermaid fence is a diagram; alt is its text alternative.
OPF Markdown
# Architecture

```mermaid alt="In the cloud, the web app calls the API and the API reads and writes the database."
architecture-beta
  group cloud(cloud)[Cloud]
  service web(internet)[Web app] in cloud
  service api(server)[API] in cloud
  service db(database)[Database] in cloud
  web:R --> L:api
  api:R --> L:db
```

Layouts That Take It

Give the slide one of these layouts to place the diagram in a region, or none to compose it automatically.

OPF Config

diagrams:architecture
OPF JSON
{
  "$schema": "https://openpresentation.org/schema/opf/v1",
  "name": "PPTX.gallery — diagrams/architecture",
  "description": "Use an architecture diagram to show services, how they connect and where they run, such as the parts of a web application.",
  "tags": [
    "gallery:diagrams/architecture"
  ],
  "slides": [
    {
      "id": "gallery-preview-1",
      "layout": "chart",
      "title": "Architecture",
      "diagram": {
        "source": "architecture-beta\n  group cloud(cloud)[Cloud]\n  service web(internet)[Web app] in cloud\n  service api(server)[API] in cloud\n  service db(database)[Database] in cloud\n  web:R --> L:api\n  api:R --> L:db",
        "alt": "In the cloud, the web app calls the API and the API reads and writes the database."
      }
    }
  ],
  "catalogs": {
    "default": {
      "source": "https://www.pptx.gallery",
      "layouts": {
        "chart": {
          "name": "Chart",
          "summary": "One to six charts, with an optional note.",
          "tags": [
            "Visuals"
          ],
          "direction": "column",
          "regions": [
            {
              "name": "title"
            },
            {
              "name": "charts",
              "accepts": [
                "chart",
                "group",
                "diagram"
              ],
              "role": "primary",
              "flow": "grid"
            },
            {
              "name": "note",
              "size": "auto",
              "accepts": [
                "text"
              ],
              "role": "supporting",
              "flow": "none"
            }
          ],
          "description": "Give a chart enough space to show its evidence. Use the title to state the conclusion and labels to explain the measures.",
          "preview": {
            "vectorSrc": "https://www.pptx.gallery/layout-previews/chart.svg"
          }
        }
      }
    }
  }
}
Open in visual editorOpen in Inspector

Load this config in the gallery's visual editor, or in the Inspector at pptx.dev.

Other Diagrams