TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ditaa: Diagrams Through ASCII Art

59 pointsby archielcover 5 years ago

4 comments

wernseyover 5 years ago
It is now on GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;stathissideris&#x2F;ditaa" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;stathissideris&#x2F;ditaa</a><p>I&#x27;ve recently used this for a diagram of a FSM in software I&#x27;m developing at work.<p>I drew the diagrams on <a href="http:&#x2F;&#x2F;www.asciidraw.com" rel="nofollow">http:&#x2F;&#x2F;www.asciidraw.com</a>. The diagram ends up as a comment in my source code. This has a couple of benefits: It is easy to keep up to date (I change it if I change the code), and it is under version control (so if I check out a particular branch, I don&#x27;t have to struggle to find the relevant diagram). It is also not significantly more difficult to do than, say, Visio for a simple diagram like this.<p>I then used Ditaa to convert the diagram to an image file for more official documentation, like emails to customers etc.<p>emacs also has a mode for drawing ASCII diagrams, but I&#x27;m on Windows, so I can&#x27;t comment about it.<p>(<a href="http:&#x2F;&#x2F;asciiflow.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;asciiflow.com&#x2F;</a> seems like a nice alternative to asciidraw.com, but asciidraw is the one I started out with)<p>edit: there is also <a href="http:&#x2F;&#x2F;shaky.github.bushong.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;shaky.github.bushong.net&#x2F;</a> that I use to entertain people who&#x27;s seen the ditaa generated diagram.
dangover 5 years ago
Thread from 2016: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11098653" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11098653</a><p>2011: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=3204006" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=3204006</a><p>2010: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1991078" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1991078</a><p>2009: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=800029" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=800029</a>
评论 #20758855 未加载
cr0shover 5 years ago
Something that I was looking for recently, but didn&#x27;t find, was a set of ASCII art &quot;glyphs&quot; for rendering electronic schematics.<p>I am not sure that there exists any kind of library for this, and what I have seen of such schematics (from various text files and other forms), there isn&#x27;t any &quot;one true way&quot; to represent &quot;standard&quot; parts in both vertical and horizontal orientations (for some parts, it would be nearly impossible, if the goal was to represent the actual symbol using ASCII characters). Most parts are most amenable to horizontal representation only. Fortunately, many schematics can be created in such a manner.
vincent-toupsover 5 years ago
Last time I saw something cool hosted on sourceforge, I was so shocked I fell off my dinosaur and broke my stone underwear.
评论 #20766651 未加载