Generative tree visualiser for Python
twyg lets you visualise arbitrary tree structures in a pretty way. The appearance of the tree (layout, color, node, connection shapes etc.) is fully controlled via configuration files in a generative way. This means that almost all visual properties of the output can be controlled by expressions that depend on the characteristics of the tree (e.g. the color or shape of a node can be a function of its hierarchical position in the tree). This allows for crafting very flexible configurations that can be applied to trees of arbitrary size and complexity.
- Compatible with Python 2.5, 2.6 and 2.7
- Supports the Cairo and NodeBox1 rendering backends
- 16 visually fine-tuned built-in configurations
- 32 attractive looking colorschemes
- Simple JSON files as input
- PNG, PDF, SVG and PostScript output using the Cairo backend
- Fully customisable node and connection shapes and coloring algorithms
- High-quality font rendering via Cairo
- Gradient and drop shadow support, even in PDF and PostScript files
- Custom human-readable configuration language that allows the visual properties of the tree to be defined as expressions of arbitraty complexity
- Ability to cascade configurations and configuration sections
- Full CSS3 color notation and SVG 1.0 color keyword name support
- Extensive reference documentation
Installation & Usage
For detailed instructions, please refer to the user documentation.
© Copyright 2011-2014, John Novak. This project is released under the MIT license.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|twyg-0.1.0-py2.7.egg (174.9 kB) Copy SHA256 hash SHA256||Egg||2.7||Mar 19, 2014|
|twyg-0.1.0.tar.gz (75.8 kB) Copy SHA256 hash SHA256||Source||None||Mar 19, 2014|