Hacker News new | past | comments | ask | show | jobs | submit login
Automatic layout algorithms compute layouts for diagrams (uni-kiel.de)
125 points by wiradikusuma 29 days ago | hide | past | favorite | 15 comments



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


This (made by a friend) is exactly that idea! https://www.anishathalye.com/2019/12/12/constraint-based-gra...


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?


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.


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.


Those gradient descent optimisation animations are so cool.


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.


this is incredibly cool. your friend should do a Show HN post!


I use kiel in SCION-SCXML’s SCHVIZ visualization library to automatically layout complex hierarchical state machine diagrams. It is excellent software, and I recommend it.

Example: https://jsbin.com/hegiyuk/edit?output

https://gitlab.com/scion-scxml/scion https://gitlab.com/scion-scxml/schviz


Title should be "ELK Demonstrators", the current title seems to be a strange out of context clip of the description. This link is a website with editable examples of the application of [ELK layout algorithms](http://www.eclipse.org/elk/).

As a newcomer to ELK, they look really nice. I'd be curious about the differences between these and Graphviz's algorithms.


Very cool, had fun playing with the editable examples. This example, though, bombs with an UnsupportedGraphException: https://rtsys.informatik.uni-kiel.de/elklive/examples.html?e... (Windows 10/Chrome 85.0.4183.121)


Also fails in FF on Mac.


Go to the dropdown and pick version 0.6.1 for it to work.

Maybe an API change?


Anyone with knowledge/experience can share how does it compared with the layout algorithm in https://graphviz.org/ ?


This is very neat




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: