Tree Animation

A static JSON Tree structure is used as input for this animation.

Click on a node to select it.

You can select the tree orientation by changing the select box in the right column.

You can change the selection mode from Normal selection (i.e. center the selected node) to Set as Root.

Drag and Drop the canvas to do some panning.

Leaves color depend on the number of children they actually have.
See the Example Code

Tree Orientation

Selection Mode