generating kinematic tree visualizations