flowchart LR A[Load data] --> B[Validate] --> C[Fit model] --> D[Evaluate] --> E[Report] C --> F[Diagnostics] --> D
Mermaid Captions
A wide pipeline flowchart with a cross-referenceable caption (see Figure 1). It should span the text column, with the caption underneath.
A small diagram with an unlabeled caption keeps its natural size:
flowchart LR A --> B
A diagram with no caption at all:
flowchart TD
Start --> Decision{OK?}
Decision -->|Yes| Done
Decision -->|No| Start