3 ms·
the ability to turn txt into a diagram is intriguing
by paulpauper 11y ago
the ability to turn txt into a diagram is intriguing
- joepvd 11y agoAbsolutely fricking cool. Would need to learn some extra text editor tricks, however, to make it a smooth experience...
- a_e_k 11y agoEmacs, at least, already has artist-mode built in. Screen cast showing it off: http://www.cinsk.org/emacs/emacs-artist.html http://www.cinsk.org/emacs/emacs-artist.html
- roel_v 11y agoDrawIt for Vim: http://www.vim.org/scripts/script.php?script_id=40 http://www.vim.org/scripts/script.php?script_id=40 . I think I started using this in the previous millennium, and if not, not much later. It's awesome. Not all (former) coworkers agree with that sentiment though, to be honest.
- joepvd 11y agoThanks for your suggestions, roel_v and a_e_k! Will play around with DrawIt, looks fun!
- roel_v 11y agoTwo other tools that render images from ascii are ditaa (http://ditaa.sourceforge.net/ http://ditaa.sourceforge.net/) and plantuml (http://plantuml.com/ http://plantuml.com/). Those tools, some scripts to render and combine markdown and images, and DrawIt (+ some other vim tools like 'boxes' (not sure if that still has a web page), 'sketch.vim' and 'boxdraw') make for the least painful, versionable documentation system, for me. ('least painful' in the sense that I still need to code way too much to get it all to work, but there isn't anything ready-made and stable enough that I have been able to find the last decade).
- jamessb 11y agoIt's reasonably common for LaTeX documents to use PSTricks or PGF/TikZ or Asymptote to specify diagrams as text, within the main document. However, these use textual descriptions of diagrams, rather than ASCII-art pictures of them. I think before there were GUI tools for editing ladder diagrams [0], there were tools that would read ASCII-art diagrams, and program PLCs with the corresponding logic. However, a quick Google didn't give a source confirming this. [0]: https://en.wikipedia.org/wiki/Ladder_logic https://en.wikipedia.org/wiki/Ladder_logic https://en.wikipedia.org/wiki/PGF/TikZ https://en.wikipedia.org/wiki/PGF/TikZ