Dependency Graph (Mermaid Flowchart)
The dependency graph as Mermaid, for embedding in Markdown documentation — labelled edges carry the declared range and a classDef highlights the two diamond joins. Every package, version, hash and licence is fictional — the tree describes nothing real.
%% SAMPLE — fictional supply-chain data. Every package, registry, version, hash, licence, advisory identifier and signature in this document is invented.
flowchart LR
gateway["@orchard-example/gateway<br/>4.2.0"]
router["@orchard-example/router<br/>2.1.3"]
http_core["@orchard-example/http-core<br/>1.8.0"]
metrics["example-metrics<br/>4.0.0"]
cache["example-cache<br/>0.9.2"]
crypto["example-crypto-shim<br/>1.2.0"]
logger["example-logger<br/>3.4.1"]
retry["example-retry<br/>1.0.4"]
jsonpath["example-json-path<br/>2.0.5"]
yamllite["example-yaml-lite<br/>1.1.7"]
gateway -->|^2.1.0| router
gateway -->|^1.8.0| http_core
gateway -->|^4.0.0| metrics
gateway -->|^0.9.0| cache
gateway -->|^1.2.0| crypto
router -->|^3.4.0| logger
router -->|^1.0.0| retry
http_core -->|^3.4.0| logger
http_core -->|^2.0.0| jsonpath
metrics -->|^3.4.0| logger
cache -->|^1.1.0| yamllite
yamllite -->|^2.0.0| jsonpath
classDef shared fill:#e8f5e9,stroke:#2e7d32,stroke-width:2px;
class logger,jsonpath shared;
Specifications
- Seed
- 51200
- Sample Only
- true
- Format
- Mermaid
- Diagram
- flowchart LR
- Nodes
- 10
- Edges
- 10
- Class Defs
- 1
- Line Endings
- LF
Testing contract
Expected to pass- Scenario
- Render a dependency graph inside a Markdown pipeline that supports Mermaid.
- Expected result
- Diagram renders with 10 nodes and 10 labelled edges, and the two shared nodes pick up the `shared` class rather than the default fill.
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
“Dependency Graph (Mermaid Flowchart)” is a deterministic Novus Examples fixture for Graph data, Conversion testing, Editor 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: seed 51200 · 10 nodes · 10 edges · LF. 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.
SBOM, lockfile, provenance, and advisory fixtures describe the same fabricated component tree across formats, so a converter or scanner can be diffed against a known answer. Every package name, version, hash, and advisory ID is invented — never treat a finding here as real.
Related files
- txtcargo tree OutputCargo's tree output, which writes versions with a leading `v` and marks already-shown subtrees with `(*)` — close enough to npm's tree to fool a parser, different enough to break one. Every package, version, hash and licence is fictional — the tree describes nothing real.

- dotDependency Graph With a Cycle (Graphviz DOT)The cyclic plugin graph as DOT, with the three cycle edges highlighted. Graphviz renders it happily, which is exactly why a topological sort must be the thing that rejects it. Every package, version, hash and licence is fictional — the tree describes nothing real.

- txtgo mod graph Edge List`go mod graph` output: a flat edge list, one `parent@version child@version` pair per line with no indentation at all — the simplest graph serialisation in this category and the easiest to diff. Every package, version, hash and licence is fictional — the tree describes nothing real.

- txtGradle dependencies Report OutputGradle's dependency report, which marks repeat subtrees with `(*)` and explains the marker in a footer — so a parser has to resolve those references back to their first occurrence. Every package, version, hash and licence is fictional — the tree describes nothing real.

- txtMaven dependency:tree OutputMaven's dependency tree, complete with the [INFO] log prefix that has to be stripped before the tree can be read and the five-part coordinate form Maven uses. Every package, version, hash and licence is fictional — the tree describes nothing real.

- jsonnpm ls Dependency Tree (JSON)The nested tree `npm ls --json` prints, where a shared dependency is REPEATED under every parent rather than deduplicated — so counting objects gives a larger number than the graph has nodes. Every package, version, hash and licence is fictional — the tree describes nothing real.

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