code: def multidigraph_edge_data_iterator(graph):
      for _, _, _, edge_data in graph.edges(data=True, keys=True):
          yield edge_data
  
imports: from itertools import chain
label_desc: Use image node_id 1 for calling a global function with example usage: multidigraph_edge_data_iterator(graph) without return types