logoalt Hacker News

terrastructyesterday at 6:41 PM2 repliesview on HN

We make (and sell) one, you can play with it here: https://play.d2lang.com/?script=qlDQtVOo5AIEAAD__w%3D%3D&lay...

Bigger example: https://play.d2lang.com/?script=rJLfavMwDMXv_RR6gYbvo3ce7FWG...

(I don't like to self promo on competitor posts, but since Mermaid doesn't compete in making its own layout engine I felt sharing this under this thread is relevant to HN. If anyone from Mermaid finds it in poor taste just let me know and I'll delete)


Replies

Xmd5ayesterday at 10:45 PM

I tried TALA and am surprised to learn it embeds a machine learning model. I settled on ELK (very complex and time consuming to get right), before getting interested in constraint based graph layout (mostly for aligning nodes). Symmetry is nice to have too.

In fact what I'm trying to do is generating beautiful flow graph illustrations like this (non-sensical, just to give you a vibe):

https://th.bing.com/th/id/OIG4.sqo88280g1BDb7r2aORg?pid=ImgG...

Tis hard. Graph layout (bites fist). Layout based image diffusion (tears). One day though.

show 1 reply
juntoyesterday at 8:37 PM

Is it possible to visualize PlantUML? I tried to paste some but it wasn’t very easy on mobile.