pub fn all_nodes(imports: &HashMap<String, HashSet<String>>) -> HashSet<String>
Collect all nodes from the import graph.