[Haskell-cafe] ANNOUNCE: preview release of diagrams EDSL for declarative drawing
Stephen Tetley
stephen.tetley at gmail.com
Tue May 17 19:16:55 CEST 2011
Cool.
On 17 May 2011 16:42, Brent Yorgey <byorgey at seas.upenn.edu> wrote:
> - 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/Wumpus-Tree-Design.html
[1] Functional Pearl: Drawing Trees
http://research.microsoft.com/en-us/um/people/akenn/fun/DrawingTrees.pdf
More information about the Haskell-Cafe
mailing list