use centroid instead of shape for node location