anytree icon indicating copy to clipboard operation
anytree copied to clipboard

Python tree data library

Results 72 anytree issues
Sort by recently updated
recently updated
newest added

The usage of `__slots__` is highly recommended in order to reduce memory usage on classes, even more for the ones which are used a lot of time as it could...

As title mention, citing information is available in scipy https://scipy.org/citing-scipy/. Is there any way to cite the package?

Version 2.1.1 - glob returns only the closest children: ``` d = Node("parent") child_1 = Node("child_1", parent=d, value="5") child_2 = Node("child_2", parent=d, value="5") grandson_1 = Node("child_1", parent=child_1, value="5") grandson_2 =...

enhancement

I've got some files I'm trying to parse into a tree (a FEM assembly tree actually) and need to take a list of lists and create a tree form it....

Hello, I was wondering whether there is any function that we can convert trees in Newick format to anytree or not? Thanks elena

I would like to delete leafs of a tree but I couldn't find a good way - is there a method that I missed? Thanks!

**Is anyway to make the lines straight?** In [Graphviz library](https://graphviz.org/docs/attrs/splines/) is documented with the function `splines=line` or `false`. ![image](https://user-images.githubusercontent.com/92316283/171277723-c5077870-3066-4346-a2f4-d9f95d6df60b.png) It is only valid on Graphs: ![image](https://user-images.githubusercontent.com/92316283/171277876-64d842fc-d24c-4e8f-ac6b-3804d4aae210.png) I have only see...

I'm not sure if I missed it in the Doc or not. But I'd like to be able to delete a node.

Hi, I am building a USSD application and using this library, I wanted to know if there is a way I can feed it a path and it returns the...