Releases: Luke-Poeppel/treeplotter
Releases · Luke-Poeppel/treeplotter
Version 0.5.0
v0.5.0 September 20, 2021
Added
- Three methods for querying children:
get_child_by_name
,get_child_by_name_depth
(a depth-first approach), andget_child_by_name_breadth
(a breadth-first approach). All three were contributed by Ricardo Reis.
Fixed
- Method for removing children was erroneously based on value, not the node itself. Bugfix provided by Ricardo Reis.
Version 0.4.3
Version 0.4.2
Version 0.4.1
v0.4.1 June 12, 2021
Fixed
- Fixed typo in the tutorial (
make_tree_diagram
instead ofcreate_tree_diagram
). - Removed
flake8
,pre-commit
, andpytest
from requirements. Now added to"dev"
requirements. - The
Treant.css
file was the only template not being rendered by jinja2.
Version 0.4.0
v0.4.0 June 11, 2021
Added
- Upgraded styling system for the package with the
style.py
module. CreatedNodeStyle
andConnectorStyle
objects to be used with theTree
. We can now customize several different features of the document, tree, and nodes.
Changed
- All of the CSS and HTML templates (exluding the libraries, of course) are gone. They now come from strings (parsed by
a jinja2 template) made in the style module.
Version 0.3.1
Version 0.3.0
v0.3.0 June 11, 2021
Added
- Added support for
orientation
inTree
objects. - The package now has two install parameters:
treeplotter install-assist --standard
andtreeplotter install-assist --screenshot
. This allows the user to more carefully choose what they need to use the package. Added anInstallation.md
file with updated details.
Changed
- The use of
R
andwebshot
is now fully optional! The user specifieswebshot=True
increate_tree_diagram
. This will obviously fail if they don't haveR
installed.
Version 0.2.0
v0.2.0 June 11, 2021
Added
- Allow displaying images in the node.
- Added a
show
method totree.Tree
objects. - Added support for
connector_type
inTree
objects.
Removed
- Remove the
get_ordered_children
method forNode
. It didn't make sense to keep it since nodes need no longer have a value. - Remove the
write_to_json
method forNode
. It was unused anywhere in the package.
Version 0.1.1
v0.1.1 June 10, 2021
Added
- Added a CHANGELOG.md file.
Changed
- The
package_installer.zsh
now asks the user if they want to installR
and webshot. Due to the versioning constraints ofR
, we don't want to install this without the user being sure! - Minor tutorial improvements and rewordings.
Version 0.1.0
First version of the treeplotter
package. Installable via pip3 install treeplotter
.