Compute the average (pseudo-) geodesic distance on the mesh from each vertex to all other vertices.
Useful links