changed graph layout