add animations to style diagram