code: def generate_isomorphism(v, w, M, ordered_children):
      # make sure tree1 comes first
      assert v < w
      M.append((v, w))
      for i, (x, y) in enumerate(
          zip(ordered_children[v], ordered_children[w])
      ):
          generate_isomorphism(x, y, M, ordered_children)
  
file_path: networkx/networkx/algorithms/isomorphism/tree_isomorphism.py
imports: import networkx
  from networkx.utils.decorators import not_implemented_for
label_desc: Use image node_id 4 for calling a global function with example usage: generate_isomorphism(v, w, M, ordered_children) without return types