code: def test_intersection_all():
      G = nx.Graph()
      H = nx.Graph()
      R = nx.Graph(awesome=True)
      G.add_nodes_from([1, 2, 3, 4])
      G.add_edge(1, 2)
      G.add_edge(2, 3)
      H.add_nodes_from([1, 2, 3, 4])
      H.add_edge(2, 3)
      H.add_edge(3, 4)
      R.add_nodes_from([1, 2, 3, 4])
      R.add_edge(2, 3)
      R.add_edge(4, 1)
      I = nx.intersection_all([G, H, R])
      assert set(I.nodes()) == {1, 2, 3, 4}
      assert sorted(I.edges()) == [(2, 3)]
      assert I.graph == {}
  
imports: import pytest
  import networkx
  from networkx.utils import edges_equal
label_desc: Use image node_id 2 for calling a global function with example usage: test_intersection_all() without return types