Redraw graph