pub fn k_core(store: &LpgStore, k: usize) -> Vec<NodeId>
Extracts the k-core subgraph (nodes with core number >= k).