caesar0301 / treelib

An efficient implementation of tree data structure in python 2/3.
http://treelib.readthedocs.io/en/latest/
Other
800 stars 185 forks source link

Any method to add weight to edges? #192

Open rsdelhi91 opened 2 years ago

rsdelhi91 commented 2 years ago

Is there a way to add weight to edges using treelib? Something similar to: https://anytree.readthedocs.io/en/latest/tricks/weightededges.html

liamlundy commented 2 years ago

That is not currently supported. AFAIK its not in the works either. If there is enough demand it would probably be considered tho. I'll leave this open for now in case other people want to up vote this ticket.