Share Download code Jump to the code Open in the playground

Onion Decomposition

This example shows how to use the onion decomposition to filter or group the nodes by their "importance" derived from onion decomposition (type of k-core decomposition).