On Sat, Aug 26, 2023 at 03:28:52PM +0700, Yuri Khan wrote: > On Sat, 26 Aug 2023 at 03:24, tpeplt wrote: > > > I was hoping that there was a tool that > > allowed for descriptions of the diagram elements instead of a > > keyboard/mouse WYSIWYG tool. This would allow a user to describe the > > diagram elements and connections and would then generate the diagram. > > The closest are Graphviz and PlantUML, but they render into SVG and > not plain text, so I don’t reach for them when doing a small simple > diagram in an email, a Reddit post, or a code comment. > > Graphviz, in addition, is so low level that on many occasions I’ve > wanted it generated from a higher-level description language rather > than to write it directly. Besides, Graphviz is extremely specialised: its emphasis is in finding positions for its nodes and edges, which is absolutely great if you can't or won't do it yourself but sucks if you either want to convey some information via that positioning or even if your pic doesn't consist of "nodes and edges" in the first place. The nicest "algorithmic" graphics package I know of is PGF/TiKZ [1], but hey, it's a beast. Cheers [1] https://texample.net/tikz/ -- t