I have started using PlantUML[1] quite a bit recently in my blogging (one example[2]). I have PlantUML code in Org mode source blocks, and Org Babel then generates the svg/png of the diagram each time I update the code block.
[1]: http://plantuml.com/ [2]: https://scripter.co/org-contribution-flowchart/#flow-chart