Some nits: The "Example" buttons don't jump out at me; I found them but it took a while. Also consider labeling them with their point, e.g. "Example 3: Color" If you change the input text to something well-formed, the graph seems to update immediately. But if you change it to something ill-formed, the graph doesn't update immediately — and then if you click "Generate" manually, it blanks the input box. Either this is…
Counter-nit: I found the examples within a few seconds.
Show HN: Mermaid ASCII Diagrams
31–40 of 54 posts
Re: Show HN: Mermaid ASCII Diagrams
#32Hah we rely on Mermaid a _heap_ at work for building internal dependency graphs from `yarn info` JSON data and a super lazy depth-first graph haha. Super useful, nice to see another renderer! ts-directed-graph outputs Mermaid :) This tool seems way more useful for hand-made ones, definitely bookmarking
I was trying to do this a while back so I could do server side rendering of graphs, but it seemed to depend strongly on the presence of a DOM. Couldn’t quite get it working with JS-DOM either.
Re: Show HN: Mermaid ASCII Diagrams
#33Re: Show HN: Mermaid ASCII Diagrams
#34Re: Show HN: Mermaid ASCII Diagrams
#35Also: https://dot-to-ascii.ggerganov.com/
Re: Show HN: Mermaid ASCII Diagrams
#36Nice work, I love ascii diagrams. Especially useful when you want a visual explanation that can be embedded directly in source code. Small nit on layout: 90 degree joints should use "+" in the connecting lines, as they do in the boxes.
Re: Show HN: Mermaid ASCII Diagrams
#37Hah we rely on Mermaid a _heap_ at work for building internal dependency graphs from `yarn info` JSON data and a super lazy depth-first graph haha. Super useful, nice to see another renderer! ts-directed-graph outputs Mermaid :) This tool seems way more useful for hand-made ones, definitely bookmarking
Out of interest have you managed to get Mermaid graphs rendering outside of a browser? I was trying to do this a while back so I could do server side rendering of graphs, but it seemed to depend strongly on the presence of a DOM. Couldn’t quite get it working with JS-DOM either.
Re: Show HN: Mermaid ASCII Diagrams
#38This obviously needs a direct pipe into Svgbob! https://ivanceras.github.io/svgbob-editor/
(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.com/#Sequence
Re: Show HN: Mermaid ASCII Diagrams
#39project 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
Re: Show HN: Mermaid ASCII Diagrams
#40graph 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
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.