Rendered at 06:14:12 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
ricardobeat 5 hours ago [-]
The first few graphs are impressive, it does a much tidier job. The Go queue one is objectively worse - the other versions keep services and users grouped together, as well as a left-to-right flow. The TALA version makes it look more complicated than it is.
nikolatt 22 minutes ago [-]
The post does highlight that in the introduction:
> It doesn't do DAGs as well. I often find myself preferring Dagre or ELK when I want a long flowing graph.
__float 5 hours ago [-]
I thought "how bad could it be" and I was quite surprised :)
That's spectacularly obfuscated in comparison to the rest.
aidenn0 3 hours ago [-]
That's nice; my first impressions of D2 were much worse than they should have been since the default layout engine is pretty terrible for some types of graphs; ELK is a big improvement, and when I tried TALA it was sometimes a big improvement over ELK.
I never purchased TALA though because I don't use D2 at work, and the costs of buying TALA were above my "fun money" amount.
ashiban 6 hours ago [-]
Thanks for that. What do you think are the key heuristics / concepts that made it standout or be more appropriate for architecture diagrams?
boguscoder 5 hours ago [-]
Would integrating/implementing this into graphviz be a good move or mixing wrong things?
sotilrac 3 hours ago [-]
I'm so happy about this, we desperately need better auto layout. I'll be adding it to Daedalus
Taikonerd 4 hours ago [-]
Always happy to see D2 on here! In my last job, I had to do several architecture diagrams. Learning D2 took maybe 1 day, and saved me much more time than that.
then after discovering it, I was too invested in my own project to switch -- the complexity in positioning nodes, routing edges to not draw over labels, taking into account nesting and rank dir gave me an appreciation for how hard these can be, and I kinda wanted my own version (plus other features)
bbkane 5 hours ago [-]
I just started diagramming with d2- I'll have to try this one out!
> It doesn't do DAGs as well. I often find myself preferring Dagre or ELK when I want a long flowing graph.
That's spectacularly obfuscated in comparison to the rest.
I never purchased TALA though because I don't use D2 at work, and the costs of buying TALA were above my "fun money" amount.
then after discovering it, I was too invested in my own project to switch -- the complexity in positioning nodes, routing edges to not draw over labels, taking into account nesting and rank dir gave me an appreciation for how hard these can be, and I kinda wanted my own version (plus other features)
D2 Is Non-Profit
https://news.ycombinator.com/item?id=49589768