
Cool.
On 17 May 2011 16:42, Brent Yorgey
- Create a higher-level module built on top of the diagrams framework (e.g. tree or graph layout, generating Turing machine configuration diagrams, Penrose tilings ... your imagination is the only limit!) and submit it for inclusion in a special diagrams-contrib package which will be created for such higher-level user-contributed modules.
Wumpus-Tree has a variant of Andrew Kennedy's [1] tree layout algorithm which you might like to take the code from, unlike the paper it uses absolute extents rather than relative ones. The actual tree design code is quite straight forward (the other code is tangled up with Wumpus administrivia): http://hackage.haskell.org/packages/archive/wumpus-tree/0.9.0/doc/html/src/W... [1] Functional Pearl: Drawing Trees http://research.microsoft.com/en-us/um/people/akenn/fun/DrawingTrees.pdf