Live data from Hacker News

Show HN: GUI for editing Mermaid class diagrams

docs.mermaidchart.com

51–60 of 64 posts

Re: Show HN: GUI for editing Mermaid class diagrams

#51
post #40

Hi all, I'm Dominic and I'm on the product team at Mermaid. I enjoyed reading a lot of your feedback! It seems there's several good ideas and thoughts on the direction of the platform that we'd love to learn more about. If you have problems with the current product, improvement requests, or would like to chat then let's connect! Please email me at dominic@mermaidchart.com or book time on my calendar: ( https://calend…

Hello Dominic. Seconding the question on browserless rendering in the other comment. Having to (unseccessfully for us so far; the text renders incorrectly) tweak selenium setups to do headless builds is madness and I would have thought this to be top prio as a base feature beyond PoC for anything aiming for wide adoption.

I think there are two slightly different issues here!

1. SVGs generated by Mermaid use the SVG 2 features, but other than browsers, most libraries only support SVG 1.1 features, i.e. https://github.com/mermaid-js/mermaid/issues/2102>, which is what the other comment mentioned.

2. Mermaid requires a browser layout engine to render the diagrams (your issue), i.e. https://github.com/mermaid-js/mermaid/issues/3650>. This is something I also really want to fix (I maintain the [`mermaid-js/mermaid-cli`][1] project and we need to use Puppeteer/Headless Chrome to render mermaid diagrams, which isn't ideal.) However, I don't think this would be easy, since we'd need a browserless tool that supports a browser-like layout engine (although I'm hoping that [Servo][2] might eventually be able to support it).

And if you do want to do headless renders of Mermaid diagrams, I'd recommend using (or adapting, since the code is all MIT licensed and I'm not aware of one that uses Selenium):

- https://github.com/mermaid-js/mermaid-cli>, which uses Puppeteer as the headless browser API.

- https://github.com/remcohaszing/mermaid-isomorphic>, which uses Playwright as the headless browser API.

And make sure that whatever server is doing the headless renders of Mermaid diagrams has all the correct fonts installed!

[1]: https://github.com/mermaid-js/mermaid-cli

[2]: https://servo.org/

Re: Show HN: GUI for editing Mermaid class diagrams

#52
The project itself is cool, but I'm doubtful on the philosophical side.

Mermaid aspires to be the Markdown of diagrams, so being editable and consumable via plaintext is paramount. If I have to use a visual editor, why not fetch for more powerful tools and be liberated from the limiting format?

This is akin to a WYSIWYG Markdown editor (which to be fair has a niche market). I would ask why not just use Google Doc or MS Word at that point?

Re: Show HN: GUI for editing Mermaid class diagrams

#53
post #50

Earlier quoted context omitted.

Hi there, Mermaid CEO here:) I hear you on the whiteboard. It's still in its early days. Should be substantially improved in the coming months. To clarify on mermaidchart.com and mermaid.live, we are the same team. Mermaid.live is our fully open source hosted editor. This was the original editor for our 10 year old open source project. The creator of Mermaid recently founded mermaidchart.com with the CEO of Gitlab's…

Mermaid CEO is probably the coolest title I've ever heard

It is pretty cool! But,

https://news.ycombinator.com/item?id=14908052

Re: Show HN: GUI for editing Mermaid class diagrams

#58
post #50

Earlier quoted context omitted.

Mermaid CEO is probably the coolest title I've ever heard

It is pretty cool! But, https://news.ycombinator.com/item?id=14908052

I watched the How the Universe Works series, on HBO, and they have this lady that is a Planetary Protection Engineer.

She has her own Web site: https://www.moogega.com

Re: Show HN: GUI for editing Mermaid class diagrams

#59
My front end to mermaid is usually claude. I can’t count how many times trying to convey a complicated idea (last week, a one time use token in a 3 party where my backend can’t talk to the client) has been made simple to explain with a quick diagram claude made.

I am a paid mermaid account holder but claude is still my first front end, because it’s the tool I’m in most of the time anyway. What I’m excited for in the GUI is I can take that quick diagram and add the styling, colors, and hopefully move some of the boxes around such that the arrows are better than the auto layout drops them.

From reading the blog post, the first thing I’d like which is changing the visual colors and styling of individual boxes in the diagram might be missed. I find that the most time consuming thing to do manually with the code, I would love to see rich tools there.

Re: Show HN: GUI for editing Mermaid class diagrams

#60

Hi all, I'm Dominic and I'm on the product team at Mermaid. I enjoyed reading a lot of your feedback! It seems there's several good ideas and thoughts on the direction of the platform that we'd love to learn more about. If you have problems with the current product, improvement requests, or would like to chat then let's connect! Please email me at dominic@mermaidchart.com or book time on my calendar: ( https://calend…

I’d like to see better controls for keeping diagram components from colliding. I’m sure that’s a nontrivial ask, but I run into poorly placed components quite frequently, and I feel like that’d be a major selling point for Mermaid for me if you could solve it
Post reply on HN