Skip to main content

Generative tree visualiser for Python

Project description

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.

Features

  • 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.

License

© Copyright 2011-2014, John Novak. This project is released under the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

twyg-0.1.0.tar.gz (75.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

twyg-0.1.0-py2.7.egg (174.9 kB view details)

Uploaded Egg

File details

Details for the file twyg-0.1.0.tar.gz.

File metadata

  • Download URL: twyg-0.1.0.tar.gz
  • Upload date:
  • Size: 75.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for twyg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 98f14c6911a1ddab102a68a4147d9ce9ae2b613c0aaf364bcf71bb3a07162028
MD5 0ab479bd81a6d5c0d1a6cb11426654f8
BLAKE2b-256 0b30f26d53ad8889d5a6797f7f8066cec28f6fd1ece63e6e6feea731be0ede33

See more details on using hashes here.

File details

Details for the file twyg-0.1.0-py2.7.egg.

File metadata

  • Download URL: twyg-0.1.0-py2.7.egg
  • Upload date:
  • Size: 174.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for twyg-0.1.0-py2.7.egg
Algorithm Hash digest
SHA256 81481132a335fbedb37296c6e4e832b61964d1d448b07cf2a71cc1ce266c9940
MD5 aea97462c80ede4c9513459c008f4da1
BLAKE2b-256 bed790a9455efd549269a94eb567cef10b28ebb26a0c347db0804e4d09657937

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page