animate graph