logoalt Hacker News

Pretty Fish: A better mermaid diagram editor

131 pointsby pastelskylast Thursday at 7:32 PM23 commentsview on HN

Comments

Myrmornistoday at 3:21 PM

https://d2lang.com/ is a nicer language than Mermaid with much nicer visual appearance. It would be great if it became more widely supported.

show 7 replies
lo1tumatoday at 7:19 PM

I actually like Mermaid’s text-based approach a lot and wouldn’t want to replace it with a visual editor.

Where I do see room for improvement is the rendering quality. A lot of diagrams end up looking a bit rough, especially with arrow routing and layout, which can feel somewhat arbitrary.

Better layout/rendering would probably add more value (for me at least) than improving the editing experience.

juancntoday at 5:26 PM

It's pretty but I don't know about better.

- How do you pan? Two finger sliding on the trackpad just zooms.

- Why does the diagram you're working on doesn't use all the remaining space? I picked one example and it's on a small-ish box with controls that don't seem to do anything and half of it is out the screen on the bottom

Ohh... the scroll metaphor... it's annoying. A bunch of tabs would have been better or even a one at a time with a tree somewhere.

There's too much fighting with layout where a plain interface would be better, something closer to https://mermaid.live/

smusamashahtoday at 4:54 PM

How is this one better? I thought this was going to be a visual editor where you click and edit on the diagram itself. I don't seem to be able to do that here.

Arubistoday at 3:24 PM

I will grant this: that's a brilliant name and domain.

laserbeamtoday at 2:52 PM

The first thing I tried to do is resize that rectangle in the default diagram... and the resize handles do not affect the height, only the width. What is this "better" than?

pastelskylast Thursday at 7:32 PM

- Write Mermaid diagrams with a live preview. - Arrange multiple diagrams on an infinite canvas. - Group diagrams into multi-page projects. - Better themes

show 1 reply
Lord_Zerotoday at 3:30 PM

How does the agent session thing work? Server-side you proxy requests to client via websockets or something? How does the agent see the client-side data?

rdostoday at 1:38 PM

I can't seem to change the colors of the pie chart, other than the predefined themes. But all of those are horrible for a pie chart.

show 2 replies