Open alixander opened 1 year ago
i don't think their package would work.
elk actually has one, we might just be able to reuse: https://www.eclipse.org/elk/reference/algorithms/org-eclipse-elk-force.html
nah i want it to be in pure Go. plus we want to have maximum control of this. e.g. allow locking positions, dimensions, etc
i think gonum's layout package could work: https://pkg.go.dev/gonum.org/v1/gonum/graph/layout . For some reason their node representation doesn't include dimensions. If they're assuming unit sizes, it's a no go