Extract the k'th k-core from a graph as a separate graph. The k-th k-core is what remains of the graph after every node with fewer than k edges connected to it is removed from the graph recursively.


k – the k-core to extract


This can be useful in the exploration of a graph to help understand the graph's structure, often visualizing the extracted k-core.

Usage Hints

As a k-core might break one component into two or more, it can be useful to extract the weak components on the result if that occurs in order to inspect each more closely.

See Also