[Haskell] Displaying trees in Haskell

Brent Yorgey byorgey at seas.upenn.edu
Thu Mar 8 19:10:17 CET 2012

On Thu, Mar 08, 2012 at 03:13:13PM +0000, John Lato wrote:
> > From: Luana Fagarasan <luana_0105 at yahoo.com>
> >
> > Hello,
> >
> > I am quite new to Haskell and I am seeking the best way to
> > display trees graphically when using Haskell. I have looked on
> > the web, but am still not clear!
> IMHO Haskell is a good language for this sort of task; there are
> several graphics libraries that I would consider fairly mature and
> reliable.  I have a project that uses "diagrams"
> (http://hackage.haskell.org/package/diagrams) to draw a tree; the code
> is:

I should also point out that there will be a new release of diagrams
very soon (perhaps even later today), which includes a simple
tree-drawing module.  It may not do everything you might want but I'm
keen on extending it with additional tree layout algorithms.


More information about the Haskell mailing list