Changed graph display to nearest-neighbor.