pub fn modularity_with(g: &Snapshot, labels: &[u32], resolution: f64) -> f64
The same, at a resolution other than one.
If labels is not one label per node.
labels