nearest_neighbor_sparsify

nearest_neighbor_sparsify(graph: TGraph, target_degree, ensure_connected=True)[source]