Diagram
DOT States
Use a DOT graph with labeled edges and circular nodes to show a short approval lifecycle.
dot-statesGraphviz DOT · flowchart
Source syntax
Write one graph or digraph. OPF reads a bounded DOT subset and adapts it to the shared layered flowchart renderer; it does not run Graphviz or reproduce its pixels.
Alt text
A draft is submitted for review; review approves it or sends it back.
Markdown
A dot fence carries Graphviz DOT source; alt is its text alternative.OPF Markdown
# DOT States
```dot alt="A draft is submitted for review; review approves it or sends it back."
digraph states {
rankdir=LR
node [shape=circle]
Draft -> Review [label="submit"]
Review -> Draft [label="changes"]
Review -> Published [label="approve"]
Published [shape=doublecircle]
}
```
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:dot-statesOPF JSON
{
"$schema": "https://openpresentation.org/schema/opf/v1",
"name": "PPTX.gallery — diagrams/dot-states",
"description": "Use a DOT graph with labeled edges and circular nodes to show a short approval lifecycle.",
"tags": [
"gallery:diagrams/dot-states"
],
"slides": [
{
"id": "gallery-preview-1",
"layout": "chart",
"title": "DOT States",
"diagram": {
"source": "digraph states {\n rankdir=LR\n node [shape=circle]\n Draft -> Review [label=\"submit\"]\n Review -> Draft [label=\"changes\"]\n Review -> Published [label=\"approve\"]\n Published [shape=doublecircle]\n}",
"syntax": "dot",
"alt": "A draft is submitted for review; review approves it or sends it back."
}
}
],
"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.