Subtree Partial Alignment

This is my flow, i’m used TreeLayout.

Before moved nodes :::

After movement :::

And I want to sort nodes that in the blue box, other nodes fixed.

expecting result :::

I’m used TreeLayout.DoLayout method.
Is there any way partial sort ?? Other nodes fixed.

I tried doLayout method parameter change.

result ▼

Precisely what happened when “movement::”?


select nodes -> drag nodes

Are you calling TreeLayout.DoLayout with only the Nodes and Links that you want to be laid out again? Use TreeLayout.Arrangement set to TreeArrangement.FixedRoots so that the root nodes are not moved, and their children are arranged in subtrees from where those root nodes are.

Thanks! very helpful!

I’m missed Links that i want to be laid out again.