Aha, I think I found the source:
Cool, it’s a Perl script that produces a DOT file for Graphviz. I might try building it from source.
..Or not: Requirements - Dependencies. I’ll apt-install it and see, it looks useful.
A small SVG renderer might suffice, it’s a friendly format to ouput, that can draw any graphs.
- NanoSVG - a simple stupid single-header-file SVG parse. The output of the parser is a list of cubic bezier shapes. It is accompanied with really simpler SVG rasterizer.
- Stanford CS248 Assignment: A Simple SVG Rasterizer - Literally a do-it-yourself renderer
- https://gitlab.gnome.org/GNOME/librsvg - A library to render SVG images to Cairo surfaces. GNOME uses this to render SVG icons. Outside of GNOME, other desktop environments use it for similar purposes. Wikimedia uses it for Wikipedia’s SVG diagrams.
- sammycage/plutosvg - PlutoSVG is a compact and efficient SVG rendering library written in C. It is specifically designed for parsing and rendering SVG documents embedded in OpenType fonts, providing an optimal balance between speed and minimal memory usage. It is also suitable for rendering scalable icons. Used by Dear ImGui.
- Related library: plutoprint/plutobook - PlutoBook is a robust HTML rendering library tailored for paged media. It takes HTML or XML as input, applies CSS stylesheets, and lays out elements across one or more pages, which can then be rendered as Bitmap images or PDF documents. It implements its own rendering engine and does not depend on rendering engines like Chromium, WebKit, or Gecko.