Returns a new graph that contains only the edges that exist in all graphs.
All supplied graphs must have the same node set.
graphs (list) – List of NetworkX graphs
- Return type
A new graph with the same type as the first graph in list
ValueError – If
graphsis an empty list.
Attributes from the graph, nodes, and edges are not copied to the new graph.