The tracetree package

[Tags:bsd3, library]

The tracetree library can be used to conveniently write Haskell data structures as trees represented as JSON files. These JSON files can then be inspected with any JSON viewer; the JSON viewer's functionality to collapse part of the JSON tree can be particularly convenient when exploring large objects.

Additionally, the ttrender executable can be used to render these JSON trees as .svg or .png files, and provides various command line flags for controlling the layout of the tree (colour, orientation, hiding nodes, etc.).

The tracetree library and ttrender executable are independent components; if you don't want to add the dependency on tracetree to your project, you can just generate the .JSON files directly in your code; the format is not complicated (indeed, you can create them by hand or post-process previously exported .JSON files).


Change log
Dependencies base (>=4.8 && <5), bifunctors (>=4.2 && <5.5), colour (==2.3.*), containers (==0.5.*), diagrams-cairo (==1.3.*), diagrams-contrib (==1.3.*), diagrams-lib (==1.3.*), json (==0.9.*), mtl (==2.2.*), optparse-applicative (>=0.11 && <0.13), parsec (==3.1.*), regex-posix (==0.95.*), SVGFonts (==1.5.*), tracetree, transformers (>=0.4 && <0.6) [details]
License BSD3
Copyright Copyright 2015 Well-Typed LLP
Author Edsko de Vries
Category Development
Source repository head: git clone
Uploaded Sat May 14 07:17:18 UTC 2016 by EdskoDeVries
Updated Mon Oct 3 03:33:50 UTC 2016 by EdskoDeVries to revision 1
Distributions NixOS:
Downloads 115 total (12 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2016-05-14 [all 1 reports]




ttrenderBuild executable to render the trees (requires Cairo)DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees