- Support for basic tree drawing with lists and
nltk.tree.Tree
objects.
- Fix for non-leaf nodes that are larger than the leaf nodes they dominate.
- More flexible arguments to
draw_tree
(will accept the top node + children via variable arguments, rather than a list/tuple as the first argument.) - Documentation improvements.
New features:
- Support for multi-line nodes.
- Edge styles, muti-segment descents for level skipping.
- Wrote a manual.
- Tree annotations: movement arrows, constituent highlighting / underlining.
- Complex figures: grids of trees, captioning.
Fixes, improvements, changes:
- Massively improve responsivity of svgling diagrams.
- TreeLayout objects manage font size directly.
distance_to_daughter
is now a distance between levels, i.e. excluding node height.
New features:
- Basic support for drawing trees using a mix of HTML/CSS (for positioning) and SVG (for line drawing). This is much more limited than the core drawing algorithms, but allows for arbitrary node labels + MathJax.
Fixes, improvements, changes:
- Improve documentation