Documentation

Guides for using the digram generator, automating it in CI, and browsing generated diagrams.

Using the online interface

Paste SQL, view the diagram alongside the source, and navigate between them.

Read the guide

Using the CLI

Install bnl-diagrams and generate diagrams for a whole folder of stored procedures at once.

Read the guide

CI integration (advanced)

Regenerate and commit diagrams automatically from GitHub Actions or Azure DevOps whenever your stored procedures change.

Read the guide

Browsing your diagrams

A standalone, self-contained template for listing and viewing your own .mmd files in a searchable tree - drop it in alongside your CI-generated diagrams.

Read the guide