Random graph clustering