pouët.net

trees

category: code [glöplog]
BB Image

is what my trees now look like. Not the prettiest thing in the world but it works, methinks
added on the 2012-02-23 00:24:38 by sigflup sigflup
how about using force to repel the notes, like in generating a poisson disk?
added on the 2012-02-23 01:14:57 by xernobyl xernobyl
sigflup: good for a start - i suppose you can prettify it if you keep aligning the parent to the center of the children-group. is the order of the children important?
added on the 2012-02-23 01:39:53 by Gargaj Gargaj
punqtured, yeah that's completely off topic indeed, but very nice! i didn't know about that trick.

sigflup, depending on what you're trying to do you could even ask graphviz's 'dot' tool to give you a set of node positions ("attributed dot" output format) and then use those to actually draw the nodes yourself. takes the fun of figuring it all out yourself away though. if you consider those things to be fun, which I don't.

not very real-time that way though, but hey, since punqtured started ranting about databases, I feel like I'm allowed :-)
added on the 2012-02-23 14:39:53 by skrebbel skrebbel
Ret looking at what "dot" does
use the fowce!
216 wins the thread!
added on the 2012-02-27 09:08:17 by kusma kusma

login