<commit_before># twyg – Generative tree visualiser for Python

**twyg** lets you visualise arbitrary tree structures in a pretty way.  The
appearance of the tree (layout, color, node and connection shapes etc.) is
fully controlled via configuration files in a programmatic way. Comes with an
extensive set of default configurations and colorschemes. Requires Cairo (and
optionally PIL) for image generation when used from the command-line or can be
used as a NodeBox1 library.


## Main Features<commit_msg>Add readme image<commit_after># twyg – Generative tree visualiser for Python

**twyg** lets you visualise arbitrary tree structures in a pretty way.  The
appearance of the tree (layout, color, node and connection shapes etc.) is
fully controlled via configuration files in a programmatic way. Comes with an
extensive set of default configurations and colorschemes. Requires Cairo (and
optionally PIL) for image generation when used from the command-line or can be
used as a NodeBox1 library.

![goals-boxes](img/goals-boxes.png)


## Main Features
{'fraction_non_alphanumeric': 0.05218216318785579, 'fraction_numerical': 0.0018975332068311196, 'mean_word_length': 4.96045197740113, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4363942', 'n_tokens_mistral': 271, 'n_tokens_neox': 266, 'n_words': 150}