Live data from Hacker News

Show HN: Mermaid ASCII Diagrams

mermaid-ascii.art

21–30 of 54 posts

Re: Show HN: Mermaid ASCII Diagrams

#22

love it, will definitely be using it for sketching documentation in comments for SQL sprocs, etc. One request: support for self-reference, i.e. "A --> A", "A --> A & B"

Thanks, that's a good suggestion. I'm also noticing that's not working as intended.

Re: Show HN: Mermaid ASCII Diagrams

#23

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…

Same, I had no idea there were examples until I read this.

Re: Show HN: Mermaid ASCII Diagrams

#24

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.

Re: Show HN: Mermaid ASCII Diagrams

#25

love it, will definitely be using it for sketching documentation in comments for SQL sprocs, etc. One request: support for self-reference, i.e. "A --> A", "A --> A & B"

Thanks, that's a good suggestion. I'm also noticing that's not working as intended.

Fixed in 0.5.0. Give it a try!

Re: Show HN: Mermaid ASCII Diagrams

#30
Hah 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

Post reply on HN