PPTX.gallery

Diagram

PlantUML Sequence

Use a PlantUML sequence to show API messages and the valid or invalid response paths.

plantuml-sequencePlantUML · sequence
The author posts a deck to the API, which saves it in the store. A valid deck returns 201 Created; an invalid deck returns 422 findings.
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.

Source syntax

Write one diagram from @startuml to @enduml. OPF reads selected PlantUML constructs and adapts them to the shared renderer; it does not run PlantUML, a JVM or preprocessing.

Alt text

The author posts a deck to the API, which saves it in the store. A valid deck returns 201 Created; an invalid deck returns 422 findings.

Markdown

A plantuml fence carries PlantUML source; alt is its text alternative.
OPF Markdown
# PlantUML Sequence

```plantuml alt="The author posts a deck to the API, which saves it in the store. A valid deck returns 201 Created; an invalid deck returns 422 findings."
@startuml
actor Author
participant "Deck API" as API
database Store
Author -> API : POST /decks
API -> Store : save
Store --> API : id
alt valid
  API --> Author : 201 Created
else invalid
  API --> Author : 422 findings
end
@enduml
```

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:plantuml-sequence
OPF JSON
{
  "$schema": "https://openpresentation.org/schema/opf/v1",
  "name": "PPTX.gallery — diagrams/plantuml-sequence",
  "description": "Use a PlantUML sequence to show API messages and the valid or invalid response paths.",
  "tags": [
    "gallery:diagrams/plantuml-sequence"
  ],
  "slides": [
    {
      "id": "gallery-preview-1",
      "layout": "chart",
      "title": "PlantUML Sequence",
      "diagram": {
        "source": "@startuml\nactor Author\nparticipant \"Deck API\" as API\ndatabase Store\nAuthor -> API : POST /decks\nAPI -> Store : save\nStore --> API : id\nalt valid\n  API --> Author : 201 Created\nelse invalid\n  API --> Author : 422 findings\nend\n@enduml",
        "syntax": "plantuml",
        "alt": "The author posts a deck to the API, which saves it in the store. A valid deck returns 201 Created; an invalid deck returns 422 findings."
      }
    }
  ],
  "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