News for hackers. Stuff that matters.
Re:Automatic layout algorithms compute layouts for diagrams by jszymborski on Sunday September 27, 2020 @03:45PM (#24609576)
I love this, and it scratches an itch I have when making (very tedious) diagrams. I'd love something that would allow me to make diagrams like this[0] in an automated way that would forego me tediously hitting alignment buttons in Inkscape to make sure everything is square and equidistant.

This seems like it would be great for automating Neural Network diagrams (current dotviz does a lot of this for e.g. PyTorch and Keras, but those diagrams are quite ugly imho).

[0] https://i.imgur.com/D6gWik7.png

Re:Automatic layout algorithms compute layouts for diagrams by gsjbjt on Sunday September 27, 2020 @04:10PM (#24609784)
This (made by a friend) is exactly that idea! https://www.anishathalye.com/2019/12/12/constraint-based-gra...
Re:Automatic layout algorithms compute layouts for diagrams by pmiller2 on Monday September 28, 2020 @12:12AM (#24612879)
That’s far more sophisticated than I had imagined it would be before clicking the link. Has your friend done research in graph drawing, or SMT solvers?
Re:Automatic layout algorithms compute layouts for diagrams by rvdca on Tuesday September 29, 2020 @02:31AM (#24624703)
This has already been posted to HN before : https://news.ycombinator.com/item?id=21774018

I would like to thank you because I have been searching for it frantically for the past week without luck.

Re:Automatic layout algorithms compute layouts for diagrams by flafla2 on Monday September 28, 2020 @01:35AM (#24613290)
Wow this is absurdly cool. Would be worth posting to /new (even if it has been on HN in the past)!

This reminds me of http://penrose.ink/siggraph20.html as well.

Re:Automatic layout algorithms compute layouts for diagrams by jszymborski on Sunday September 27, 2020 @05:14PM (#24610176)
Those gradient descent optimisation animations are so cool.
Re:Automatic layout algorithms compute layouts for diagrams by subsubsub on Sunday September 27, 2020 @07:49PM (#24611247)
Thanks for posting this, your website content is really interesting.

Maybe it is a bug in my version of Firefox but my processor spikes massively when I go to your site.

Re:Automatic layout algorithms compute layouts for diagrams by athriren on Monday September 28, 2020 @10:19AM (#24616844)
this is incredibly cool. your friend should do a Show HN post!