Wish: Add alternative grafting for entwine

Right now, entwine only grafts to {0;X} branches, which do not respect the tree structure of the data fed in. It would therefore be nice if entwine could preserve the data structure and append the branch number to the end of the tree paths.


Preferably the output should be {0;0;X}, which graft right in the picture above approximates for a custom component.

wouldn’t it be the same of passing the first Entwine into a second graft-Entwine with single {0;x} input?

No because I also need to shift tree paths/ trim the tree down to the original input structure. A flatten-entwine doesn’t support this: