Curvature-based Clustering on Graphs