def METHOD_NAME(graph: GraphRepr) -> Set[str]:
    edge_list: List[str] = []
    for _, dependent_collections in graph.items():
        for _, edges in dependent_collections.items():
            if edges:
                edge_list.extend(edges)
    return set(edge_list)