Add basic animation for the graph