Hacker News new | past | comments | ask | show | jobs | submit

Show HN: GUI for editing Mermaid class diagrams

https://docs.mermaidchart.com/blog/posts/gui-for-editing-mermaid-class-diagrams
loading story #42742750
I spent some time playing around with this recently and loved it at first. I also realized ChatGPT is pretty good at generating Mermaid diagrams (didn't try your own AI features).

However after getting into it some I ran into some significant frustrations. After creating a medium-complexity diagram, I was excited to see the Whiteboard feature to drag things around / improve the layout manually. But it really started breaking, it just wouldn't let me organize/drag things where I wanted, and I couldn't get things to not overlap. I also wished more diagram types supported Whiteboard (I noticed some didn't).

Also I some confusion between the capabilities of mermaidchart.com and mermaid.live. Are these competitors? Variations of similar apps. I was confused. Also "Playground" vs "Live Editor" is confusing.

Overall glad this exists and hope it continues to improve.

loading story #42741153
loading story #42740470
loading story #42740845
I only use diagramming tools with automatic layout algos to generate visualizations programmatically to debug things. For documentation purpose, I largely prefer to draw them by hand using OmniGraffle, because making graphs look nice using tools like graphviz is very complex and you find yourself abusing features to hack your vision into reality

What's dearly needed in my opinion is a graph layout algo based on a machine learning model (so that it can take into account readability and aesthetics). Unfortunately what I found so far is mostly concerned with displaying large graphs, which is kind of another domain altogether.

I hope Mermaid is collecting every single edition point that happens on their UI, that would make for a nice dataset I guess.

loading story #42741799
loading story #42741465
I understand that it is different philosophy but I really would like to see the day when I can use Mermaid inside latex. Or at least get some robust mermaid to tikz converter. That would make my life much easy when preparing slides. I understand that exporting to PNG/JPG can work but usually you lose a lot of customization and you only know can make be bigger or smaller to fit the page.

I was exploring this yesterday and actually came acorss the new GUI that is being introduced in this submission. I ended up exporting to PNG and suffer with fitting it inside beamer page layout.

Nice! I love how mermaid keeps getting better!

For sequence-diagrams, nothing beats https://sequencediagram.org/ (I am not connected with them in any way, just a happy user)

loading story #42740921
loading story #42740544
loading story #42740806
With Draw.io embedding Mermaid diagrams and plug-ins available for VSCode and other IDEs, why is this so special?
loading story #42741230
Heads up: the "Theme Customization in Toolbar" image isn't rendered.

Thanks for sharing!

loading story #42739922
{"deleted":true,"id":42739884,"parent":42738656,"time":1737131800,"type":"comment"}
That's pretty cool. Wish PlantUML community would have something like it.
Do Mermaid class diagrams support generics (parameterized types)?
loading story #42740279
This is great and all, but this would better be served as a desktop app with lower overhead.
Is there a demo available without creating an account?
loading story #42739592
{"deleted":true,"id":42740234,"parent":42738656,"time":1737132983,"type":"comment"}