[igraph] Sorting vertices by degree with igraph C library
From:
Vincent Beugnet
Subject:
[igraph] Sorting vertices by degree with igraph C library
Date:
Thu, 22 Mar 2018 20:56:43 +0100
Hello,
I'd like to sort all vertices from a graph (undirected) by decreasing degree and print their ids with this order. But as the vector in igraph_degree is not related with the graph, I don't know how to get the ordered ids. Can someone help me ?