Releases: kayjan/bigtree
Releases · kayjan/bigtree
0.6.0
2022-11-13
Added
- BaseNode: Rollback functionality to original state when there is error setting parent and children (backwards-compatible).
- BaseNode and DAGNode: Type hints.
- BNode: Node class for Binary Tree.
- BTree Constructor: From list.
- BNode Iterator: Level-Order Iterator.
- Misc: Add Tips and Tricks to documentation (List Directory).
Fixed
- DAGNode: Fix issue of duplicated parent constructor creating duplicated children.
0.5.5
2022-11-12
Added
- Misc: More docstring examples.
- Misc: More test cases.
Fixed
- Tree Modifier: Fix issue with
merge_children
argument not working as expected.
0.5.4
2022-11-12
Added
- BaseNode: Add sort() to sort children.
- Node: Made more extendable with pre-/post-assign checks.
- Misc: Add Tips and Tricks to documentation (Extending Nodes).
- Misc: More test cases.
Fixed
0.5.3
2022-11-11
Added
- DAG and Tree Exporter: More customizations allowed on edges.
- Add Tips and Tricks to documentation (Weighted Trees, Merging Trees).
Fixed
- Tree Modifier: Fix issue with
merge_children
argument not working as expected.
0.5.2
2022-11-10
Fixed
- Tree Constructor: Fix issue
dataframe_to_tree_by_relation
unable to find parent node.
0.5.1
2022-11-09
Added
- Misc: Clean codes and documentation.
0.5.0
2022-11-09
Added
- Misc: Clean codes and documentation.
Changed
- Tree Exporter: Printing tree to group multiple arguments together.
- DAG and Tree Exporter: Export to dot able to plot multiple disjointed trees/dags, rename
bgcolor
to bg_colour
.
0.4.6
2022-11-09
Added
- Tree Constructor: From DataFrame of parent-child columns.
Changed
- Tree Exporter: Printing tree to define node name or path, and default to const style.
- Tree Constructor: Rename
list_to_tree_tuples
to list_to_tree_by_relation
.
- Tree Constructor: Remove parameter
sep
for nested_dict_to_tree
.
0.4.5
2022-11-08
Changed
- Tree Exporter: Printing tree with added ability to omit null attributes.
0.4.4
2022-11-08
Fixed
- Tree Constructor: Handle adding attributes that are array-like - add array even when one of the items is null.