The list of curves was trimmed with a brep after it was grafted to make sure that the swatches stayed with the branch even if the contents was split into two curves or deleted all together. You can see here that the two lists (before/after pipe) contain the same number and order of objects and empty branches:
Ah good, that’s what I was hoping was the case. I was surprised that the branches weren’t maintained through the other operations.
The lines are from an openfoam case in butterfly and then run through vector smoothing loosely based on this post: Wind Flow Map to vectors or curves
I now realize you were also in that thread. It is super promising for stuff that isn’t supposed to be hyper accurate but more visually compelling.