Skip to content

About

Troubleshooting flowcharts for Kubernetes & Flux, written in Mermaid.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

Repository files navigation

Flowcharts

Troubleshooting flowcharts written in Mermaid, rendered to PDF.

Requirements

  • Node.js 22.18 or later (render.ts is run directly, without a build step)
  • Chromium. The path is hardcoded as PUPPETEER_EXECUTABLE_PATH in render.ts; change it if yours lives elsewhere.

Building

$ npm install
$ npm run build

The PDFs are written to dist/. Rendering needs an internet connection: Mermaid and the ELK layout engine are loaded from a CDN by page.html.

Adding a diagram

Diagrams live in diagrams/, as .mmd files:

  • A file directly in diagrams/ becomes its own PDF.
  • A subdirectory becomes one PDF with a page per file.

Files within a subdirectory are ordered by their numeric prefix, and the document title is derived from the file or directory name. Page orientation is chosen per diagram, based on its aspect ratio.

Note

While GitHub renders a preview of Mermaid diagrams, it does not support the ELK renderer and lacks the custom style rules, so those previews are not representative of the rendered result.

License

The diagrams in diagrams/ and the PDFs rendered from them are licensed under CC BY 4.0. The build script (render.ts and page.html) is licensed under the MIT license.

About

Troubleshooting flowcharts for Kubernetes & Flux, written in Mermaid.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages