Live data from Hacker News

Show HN: Mermaid ASCII Diagrams

mermaid-ascii.art

51–54 of 54 posts

Re: Show HN: Mermaid ASCII Diagrams

#51

Earlier quoted context omitted.

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.

I've used [mmdc]( https://github.com/mermaid-js/mermaid-cli ) to generate mermaid images from a Makefile. It looks like it is implemented with puppeteer, so perhaps it doesn't quite fit your request. But if you just want something you can use at the cli, it is great.

Thanks. You're right, unfortunately this doesn't fit my needs, but I can see how it would be fine for CLI and casual use cases.

Re: Show HN: Mermaid ASCII Diagrams

#52
post #45

Is 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?

It would be pretty cool to be able to draw a flowchart or graph on a tablet and have it automatically turned into mermaid source. That's exceptional compression.

For me it's more about the ability of modifying the diagram in a predictable way
Post reply on HN