This is cool! Though, it still leaves me with my biggest problem: I have no idea how to efficiently draw the diagrams in the first place. Ascii diagrams are not easy to draw (for me, atleast).<p>The best i've seen is a GUI tool that creates the diagrams. That tool really is awesome (<a href="https://monodraw.helftone.com/" rel="nofollow">https://monodraw.helftone.com/</a>), but it's a GUI tool and frankly supports complexity/features far greater than i really need most of the time.<p>I'd love a project that took some type of simple text based flow notation, and converted it to ascii flow diagrams. Eg:<p><pre><code> main: something -> other thing -> [ thing a, thing b, thing c]
thing a: thing a -> thing b
thing c: thing c -> thing b
</code></pre>
In this mockup, my desired tool would take this simple non-artistic notation and convert it to a flow diagram showing a `something` object leading into an `other thing` object, which branches to three objects called `thing a`, `thing b`, and `thing c`. Each of those have their own flows as well, as noted by their own respective definitions. `thing a` leads over to `thing b`, `thing c` to `thing b`, and `thing b` doesn't actually do anything.<p>I love ascii diagrams, but i never want to construct them by hand. Writing them out in some simple notation like above would be awesome! Also note that i'm not expecting this to be insanely feature packed.. it sort of defeats the purpose of a simple notation. But being able to just construct them quickly as a starting point would be awesome. Advanced tools like Monodraw can take the complicated work.
This is an iteration of my previous submission[0] with improvements from the comments and feedback. It is now embeddable in a markdown, and the generated SVG is now optimized to it's size.<p>[0]<a href="https://news.ycombinator.com/item?id=12621680" rel="nofollow">https://news.ycombinator.com/item?id=12621680</a>
This looks very cool.<p>Do people actually manually write ASCII diagrams like that?<p>This is a great place to use Mermaid (<a href="https://github.com/knsv/mermaid" rel="nofollow">https://github.com/knsv/mermaid</a>)
Is this designed to be used or just a proof of concept? If the former then maybe some installation hints in the readme would be a good idea. As someone with no exposure to rust I have no idea what to do with this.
My favorite take on this is Markdeep:<p><a href="http://casual-effects.com/markdeep/" rel="nofollow">http://casual-effects.com/markdeep/</a>