Skip to content
Novus Examples
mmd1.1 KB

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.

Preview — first 27 linesmmd
%% 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.

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