For anyone interested in generating diagrams from text, I recommend also taking a look at Graphviz[1] and PlantUML[2]. Graphviz excels at box-and-arrow kind of diagrams as well as graphs, I frequently use it to visually map out dependencies, processes and state transitions, etc. There's an online version here[3]. PlantUML I use less, both because it's slower (you pay the JVM startup tax on every invocation) and because I have less use for the kind of diagrams it specializes in.
[1] https://graphviz.com
[2] http://plantuml.com
[3] https://dreampuf.github.io/GraphvizOnline/