pub fn get_all_edges(graph: &Graph) -> HashSet<Edge>