Knn graph clustering python. First, clustering without a connectivit.