Asciidoctor, has good support for diagrams with the Diagram plugin.
To make this work with Hugo, a static site generator, you need:
a working
asciidoctor-diagram
pluginsome settings in your Hugo site config
Then run hugo --destination public
to generate your site including all diagrams.
Have a look at my example repository to get an idea of how this works.