code: def multidigraph_node_data_iterator(graph):
      for _, node_data in graph.nodes(data=True):
          yield node_data
  
imports: from itertools import chain
label_desc: Use image node_id 2 for calling a global function with example usage: multidigraph_node_data_iterator(graph) without return types