c0fec0de / anytree

Python tree data library
Apache License 2.0
955 stars 133 forks source link

Can you join the features that merge two trees into one? please #74

Open j1nse opened 5 years ago

j1nse commented 5 years ago

two similar tree merge into one like this: Node('/a') └── Node('/a/b') and Node('/a') └── Node('/a/c') then: Node('/a') |── Node('/a/c') └── Node('/a/b')

Wenzil commented 3 years ago

With option to specify a conflict resolving function, would be great.

kayjan commented 2 years ago

Hi, this is implemented over here.

https://bigtree.readthedocs.io/en/latest/others/tips.html#merging-trees