Warning

This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.

intersection_all

intersection_all(graphs)[source]

Return a new graph that contains only the edges that exist in all graphs.

All supplied graphs must have the same node set.

Parameters :

graphs_list : list

List of NetworkX graphs

Returns :

R : A new graph with the same type as the first graph in list

Notes

Attributes from the graph, nodes, and edges are not copied to the new graph.