5 ms·
Language in that gif reminds me of DOT, from apt install graphviz which is pretty widely used I think. Various tools I use (including some I wrote or worked on)
by lucb1e 2y ago
Language in that gif reminds me of DOT, from apt install graphviz which is pretty widely used I think. Various tools I use (including some I wrote or worked on) output to DOT format because it's so simple, and from there you tell the tool to make it into the appropriate format for your pdf report or webpage or so: `cat diagram.dot | dot -T png > diagram.png`. The DOT format is not as simple as dbdiagram though! But it's also not limited to database diagrams: https://en.wikipedia.org/wiki/DOT_(graph_description_language) https://en.wikipedia.org/wiki/DOT_(graph_description_languag...
In case someone wished this exists but for something other, or more versatile, than database diagrams, although dbdiagram as a product looks way more polished and integrated
- notpushkin 2y agoI think you can also convert it to SVG with the same tool.
- lucb1e 2y agoYep! $ man dot | grep --context=10 svg OUTPUT FORMATS Graphviz uses an extensible plugin mechanism [...] Traditionally, Graphviz supports the following: -Tdot (Dot format containing layout information), -Txdot (Dot format containing complete layout information), -Tps (PostScript), -Tpdf (PDF), -Tsvg -Tsvgz (Structured Vector Graphics), -Tfig (XFIG graphics), -Tpng (png bitmap graphics), -Tgif (gif bitmap graphics), -Tjpg -Tjpeg (jpeg bitmap graphics), -Tjson (xdot information encoded in JSON), -Timap (imagemap files for httpd servers for each node or edge that has a non‐null href attribute.), -Tcmapx (client‐side imagemap for use in html and xhtml).