epreston / PSTreeGraph

A tree graph view control for iPad applications. This is a port of the sample code from Max OS X to iOS (iPad).
http://epreston.github.io/PSTreeGraph/
259 stars 50 forks source link

Animations for lines and nodes are approximate #2

Closed epreston closed 13 years ago

epreston commented 13 years ago

When child nodes are expanded and collapsed, the animations for the lines connecting them are close but not exact. The animations are quick so it appears to be correct. Improvement can be made in this area.

epreston commented 13 years ago

After some testing, the animations for lines are correct. (There is a commented line in layoutGraph for slowing down the animation time) The issue is with the timing and redraw of very short animations. For very short animations, the draw method may only be called once and the result stretched to complete the animation.