aboutsummaryrefslogtreecommitdiffstats
path: root/lay/strain/solve.go
Commit message (Collapse)AuthorAgeFilesLines
* lay/strain: simplify Solver internal synchronizationSam Anthony13 days1-114/+83
| | | | | | | | Replaced the AddConstraint() and Solve() methods' request/reply channels, used a mutex instread. Solver now closes the fieldConstrs channel automatically; removed the Close() method. Generally tidied up.
* lay/strain: represent rectangles as (origin, size)Sam Anthony13 days1-20/+20
|
* fix compiler errorsSam Anthony13 days1-4/+4
|
* create lay/strain packageSam Anthony14 days1-0/+276
The lay/strain package uses the Cassowary algorithm to solve systems of layout constraints.