Hacker News new | ask | show | jobs
by alfiedotwtf 45 days ago
A common layout implementation is to provide constraints to a SAT Solver… so you were close :)
1 comments

To my taste, most automatic layout implementations produce horrible layouts. Yes, you can use SAT-solve and optimize your way towards a node ordering that produces no crossing lines, but those rarely create something that makes intuitive sense of the content

Good layout is a lot more like writing, in that you have to think about how the intended recipient will perceive and what you want them to notice in which order, and how to make it easy to follow the various relationships