pub fn volume(graph: &Graph, nodes: &[&str]) -> usize
Return the volume of a set of nodes (sum of degrees of nodes in the set).