drawthenet.io draws network diagrams dynamically from a text file describing the placement, layout and icons. Given a yaml file describing the hierarchy of the network and it's connections, a resulting diagram will be created.
I think currently the software is not intended to work in this manner, so would like to open a feature request: Would it be possible to have the ability to generate an SVG or PNG diagram from the CLI, for example by spawning an ephemeral container only for rendering purposes?
For example,
Input: Network description YAML file via suitable mechanism. Persistent volume, URL, or maybe even inside env var, if that is not too restrictive.
Output: SVG/PNG via persistent volume. Or possibly, SVG to stdout.