Show HN: Mermaid ASCII Diagrams
41–50 of 54 posts
Re: Show HN: Mermaid ASCII Diagrams
#42This obviously needs a direct pipe into Svgbob! https://ivanceras.github.io/svgbob-editor/
There are not many other ascii diagramming tools (ascii to diagram) Typogram https://code.sgo.to/typograms/#installation Markdeep https://casual-effects.com/markdeep/ svg bob editors https://ivanceras.github.io/bob-editor/ https://mbarkhau.github.io/asciigrid/ Ditaa https://ditaa.sourceforge.net/ Goat https://github.com/blampe/goat Protocol https://www.luismg.com/protocol/ (dsl to ascii) https://diagon.arthursonzogni…
Also I used to use https://swimlanes.io/ before d2.
Re: Show HN: Mermaid ASCII Diagrams
#43Re: Show HN: Mermaid ASCII Diagrams
#44Are you planning to support more of mermaids features? I tried one example where this could be useful to me - Mermaids gitGraph - and it looks like it's not supported.
PS: it's open source so feel free to help out ;) https://github.com/AlexanderGrooff/mermaid-ascii
Re: Show HN: Mermaid ASCII Diagrams
#45I tried the first example with gpt-o1 and the result wasn't bad:
graph LR
A --> B --> D
A --> C
B --> C
D --> C
would a smaller model but fine tuned on many syntetic renderings do a better job?Re: Show HN: Mermaid ASCII Diagrams
#46It's a macOS app and I've found it great. However if given an ASCII diagram, you cannot edit it with the same ease as creating a new one (e.g. reflowing text or resizing boxes).
I really like the idea of having the mermaid source and the ASCII diagram together, so you could use the source to change the diagram if needed. But I feel that would feel cluttered to have both in a plain text file or comment, where ASCII diagrams shine.
Re: Show HN: Mermaid ASCII Diagrams
#47graph TD project is called Mermaid ASCII -->|expectation| It supports mermaidjs syntax It supports mermaidjs syntax -->|I tried| It doesn't It doesn't -->|conclusion| I am a bit bummed https://mermaid.js.org/syntax/examples.html
The example you post works just fine ;) On a serious note, yes not all syntax noted in the Mermaid docs work yet. I'm planning on adding more coverage of the Mermaid syntax over time. For now the basics work and (hopefully) shows its potential.
Re: Show HN: Mermaid ASCII Diagrams
#48Is there something that can turn those ascii diagrams back into mermaid sources? I tried the first example with gpt-o1 and the result wasn't bad: graph LR A --> B --> D A --> C B --> C D --> C would a smaller model but fine tuned on many syntetic renderings do a better job?
Re: Show HN: Mermaid ASCII Diagrams
#49This obviously needs a direct pipe into Svgbob! https://ivanceras.github.io/svgbob-editor/
There are not many other ascii diagramming tools (ascii to diagram) Typogram https://code.sgo.to/typograms/#installation Markdeep https://casual-effects.com/markdeep/ svg bob editors https://ivanceras.github.io/bob-editor/ https://mbarkhau.github.io/asciigrid/ Ditaa https://ditaa.sourceforge.net/ Goat https://github.com/blampe/goat Protocol https://www.luismg.com/protocol/ (dsl to ascii) https://diagon.arthursonzogni…
Re: Show HN: Mermaid ASCII Diagrams
#50This obviously needs a direct pipe into Svgbob! https://ivanceras.github.io/svgbob-editor/
There are not many other ascii diagramming tools (ascii to diagram) Typogram https://code.sgo.to/typograms/#installation Markdeep https://casual-effects.com/markdeep/ svg bob editors https://ivanceras.github.io/bob-editor/ https://mbarkhau.github.io/asciigrid/ Ditaa https://ditaa.sourceforge.net/ Goat https://github.com/blampe/goat Protocol https://www.luismg.com/protocol/ (dsl to ascii) https://diagon.arthursonzogni…
https://github.com/lewish/asciiflow
https://github.com/tbanel/uniline/
Or, less ergonomically, the general rectangle-editing commands built into more powerful code editors e.g. Emacs.
With these, simple but fairly pretty box+line+text diagrams can be inlined with your source code comments. This unification may help in the perennial struggle to keep software architecture and source code reality in sync.