Mermaid Pipeline Flowchart
The shared six-task ETL topology as a Mermaid flowchart, with mixed node shapes, a subgraph, a classDef and %% comments. The Mermaid twin of the Graphviz fixture, for scoring diagram-format converters against one known answer.
%% The shared orders-ETL topology as a Mermaid flowchart. Same six nodes and six edges as the
%% Graphviz, Airflow, Argo and CWL fixtures, so a cross-format converter has one known answer.
flowchart LR
ingest_orders[ingest orders] --> validate_orders[validate orders]
validate_orders --> transform_orders[transform orders]
transform_orders --> load_warehouse[load warehouse]
transform_orders --> refresh_dashboard[refresh dashboard]
load_warehouse --> notify_owner([notify owner])
refresh_dashboard --> notify_owner
subgraph publish [publish]
load_warehouse
refresh_dashboard
end
classDef terminal fill:#ecfdf5,stroke:#059669;
class notify_owner terminal;
Specifications
- Format
- Mermaid
- Diagram
- flowchart LR
- Nodes
- 6
- Edges
- 6
- Subgraphs
- 1
- Has Class Def
- true
- Topology
- ingest_orders, validate_orders, transform_orders, load_warehouse, refresh_dashboard, notify_owner
Testing contract
Expected to pass- Scenario
- Convert a Mermaid flowchart to another graph format and compare the topology
- Expected result
- Six nodes and six edges resolve, matching the Graphviz twin exactly, and the subgraph is treated as grouping rather than as an extra node
What is a .mmd file?
An MMD file holds a Mermaid diagram written as text (diagrams-as-code): a concise syntax that describes flowcharts, sequence, class, and other diagrams which a renderer turns into an image. It is widely embedded in Markdown and documentation.
How to use this file
Use an example Mermaid file to test diagram rendering, Markdown pipelines that embed Mermaid, and diagram-to-image conversion.
How to use this file for testing
“Mermaid Pipeline Flowchart” is a deterministic Novus Examples fixture for Graph data, Data engineering, Conversion testing. Node/edge datasets in GraphML and GEXF (directed and undirected, with attributes and weights) — for testing network importers, layout tools, and graph converters.
Documented properties for this file: 6 nodes · 6 edges · Mermaid. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.
Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.
Pipeline and infrastructure fixtures are inert configuration: steps reference fictional images and scripts, and nothing here executes. Run your linter, schema validator, migrator, or policy engine against them, and expect the deprecated-syntax and intentionally invalid variants to be rejected.
Related files
- dotGraphviz Pipeline DAGThe shared six-task ETL topology as a Graphviz digraph, with node and edge defaults, per-node attribute overrides, a same-rank constraint and C-style comments. Carries the identical graph to the Airflow, Argo, CWL and Mermaid fixtures.

- dotGraphviz Pipeline Graph with a CycleThe same topology plus one back edge, so the graph is deliberately not a DAG. A renderer must still draw it and a scheduler must reject it, which is why this is a reference fixture rather than a corrupt file.

- mmdMermaid Deployment State DiagramA Mermaid stateDiagram-v2 describing environment promotion with canary and rollback transitions, start and end pseudostates, and a note block. A second Mermaid diagram type, so a renderer is not only tested on flowcharts.

- pyAirflow DAG Definition (Operator Style)An Airflow DAG definition in the classic operator style, using only the no-op EmptyOperator so the file describes a topology and performs no work. Carries the six-task ETL graph shared across the Airflow JSON, Argo, Graphviz and Mermaid fixtures.

- pyAirflow TaskFlow API DAGA decorator-based Airflow TaskFlow DAG where dependencies are implied by function calls rather than >> operators — the shape static DAG extractors most often get wrong. Every task returns a literal, so nothing performs I/O.

- jsonAirflow-Shaped Serialized DAG (JSON)The serialized-DAG shape Airflow stores in its metadata database, as standalone JSON: per-task metadata with explicit downstream_task_ids. Carries the same six-task topology as the Python, Argo, Graphviz and Mermaid fixtures.

Generated by generation/pipelines.py. Free for any use, no attribution required — license.