wumpus-tree: Drawing trees

[ bsd3, graphics, library ] [ Propose Tags ]

Tree drawing with nice layout.

Draw trees represented by Data.Tree, output SVG or EPS. The output should be quite good - no overlapping edges, identical subtrees should have the same shape, leaf nodes evenly spaced.

Note - the demos now use font metrics. Font metrics for the "Core 14" PostScript fonts are distributed as *.afm files with GhostScript (AFM file version 2.0 for GhostScript 8.63) or available from Adode (AFM file version 4.1). To run the demos properly you will need one of these sets of metrics.

Adobe Font technical notes: https://www.adobe.com/devnet/font.html

Core 14 AFM metrics: https://www.adobe.com/content/dam/Adobe/en/devnet/font/pdfs/Core14_AFMs.tar

** WARNING ** - the API is unstable and will change.

Changelog:

v0.19.0 to v0.20.0:

  • Updates to work with wumpus-drawing-0.9.0 and wumpus-basic-0.24.0.

v0.18.0 to v0.19.0:

  • Updated to work with Wumpus-Basic-0.22.0 and wumpus-drawing-0.7.0.

v0.17.0 to v0.18.0:

  • Updated to work with Wumpus-Basic-0.22.0 and wumpus-drawing-0.7.0.

v0.16.0 to v0.17.0:

  • Reworked internals to use the LocDrawing monad from Wumpus-Basic.

v0.15.0 to v0.16.0:

  • Re-worked so tree drawings form a LocGraphic rather than a TraceDrawing, this makes more in line with other graphic objects in Wumpus like shapes.

  • Changed node type to be any LocImage where the answer supports anchors.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.16.0, 0.17.0, 0.18.0, 0.20.0
Change log CHANGES
Dependencies base (<5), containers (>=0.3.0 && <=0.6.0), vector-space (>=0.6 && <1.0), wumpus-basic (==0.24.0), wumpus-core (>=0.52.0 && <0.53.0), wumpus-drawing (==0.9.0) [details]
License BSD-3-Clause
Copyright Stephen Tetley <stephen.tetley@gmail.com>
Author
Maintainer Stephen Tetley <stephen.tetley@gmail.com>
Category Graphics
Home page http://code.google.com/p/copperbox/
Uploaded by StephenTetley at 2012-05-01T14:05:44Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 12096 total (25 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]