Initialize graph locations.