7 ms·
There's a quite obvious need for a more elegant graph description syntax than DOT language. Preferably something simpler and easily remembered. I think this scr
by veli_joza 11y ago
There's a quite obvious need for a more elegant graph description syntax than DOT language. Preferably something simpler and easily remembered. I think this script is a step in the right direction, but obviously it only scratches the surface of what graphviz can do.
The nice approach would be to take cue from HTML and separate content from presentation. As for syntax, something lightweight with as little braces/operators/interpunction as possible.
- Munksgaard 11y agoDon't makefiles essentially encode a direct acyclical graph of dependencies? They've got quite simple syntax.
- qznc 11y agoThe difference is "A -> B" vs "A: B". OK, there is "A -> B; A -> C" vs "A: B C". However, also "A -> B -> C" vs "A: B\nB: C".
- gardenmwm 11y agoI agree, dot is a horrible language. I say that as someone who uses it every day. One of my earlier python experiments was to build a tool to take csv's and covert them to dot language. I started building a web interface around it as well, but left it on the shelf shortly after. https://github.com/gardenmwm/pydepgrapher https://github.com/gardenmwm/pydepgrapher