Animation of a treediagram