Graphviz

An amazing quick reference is https://ncona.com/2020/06/create-diagrams-with-code-using-graphviz/