changed graph redraw strategy