logoalt Hacker News

TALA Is Open-Source

227 pointsby alixanderwangyesterday at 11:37 PM15 commentsview on HN

Comments

pilgrim0today at 6:29 AM

CSS must be the hardest technology out there, because people write these algorithms yet their site breaks completely on iOS safari on an iPhone SE2. Reminded me of when Linear’s CEO shared a post on Twitter bragging about how they only hired the best devs, and then I sent a screenshot of their homepage with a broken horizontal scroll. They dismissed it as a fault on my end for having an unsupported device. Turns out that a single CSS2 directive from 1998 fixed the issue (my OS is from 2022).

show 1 reply
ricardobeattoday at 1:05 AM

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.

show 3 replies
aidenn0today at 3:06 AM

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.

Taikonerdtoday at 2:07 AM

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.

boguscodertoday at 1:04 AM

Would integrating/implementing this into graphviz be a good move or mixing wrong things?

ashibanyesterday at 11:56 PM

Thanks for that. What do you think are the key heuristics / concepts that made it standout or be more appropriate for architecture diagrams?

azriel91today at 12:50 AM

before discovering d2, I wrote / vibe coded my own diagram generator: https://azriel.im/disposition

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)

sotilractoday at 3:18 AM

I'm so happy about this, we desperately need better auto layout. I'll be adding it to Daedalus

ChrisArchitecttoday at 12:59 AM

Related:

D2 Is Non-Profit

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

IshKebabtoday at 8:25 AM

This is great! There's a real shortage of good layout algorithms. Everyone pretty much gave up after Graphviz.

Although tbh I have come to the conclusion that automatic layout algorithms don't work very well for large diagrams and don't save you much effort for smaller diagrams.

What I really want is some kind of interactive editor that has a go, but lets me drag nodes into more sensible positions while maintaining all the arrows. Maybe this makes that easier given its support for specifying node positions?

bbkanetoday at 1:00 AM

I just started diagramming with d2- I'll have to try this one out!

boldaxolotltoday at 9:48 AM

[dead]

markkingtoday at 7:40 AM

[flagged]

hefu_hktoday at 3:13 AM

[flagged]

lucaszbuildstoday at 9:00 AM

[dead]

LaunchGatetoday at 12:47 AM

[dead]