Interactive Dynamic Tree

I am trying to create an interactive tree that gives out 2 branches when 1 node is clicked. I want the angle between the topmost 2 branches to expand whenever any 2 nodes collide.

for this, I want everything below the top 2 nodes to move alongwith the nodes when the angle increases. Can I get a hint as to how this can be achieved? Can nesting of Sprites and using LocalToglobal Function come in handy?