code: def cx_to_networkx(cx):
      
      graph = networkx.MultiDiGraph()
      for node_entry in get_aspect(cx, 'nodes'):
          id = node_entry['@id']
          attrs = get_attributes(get_aspect(cx, 'nodeAttributes'), id)
          attrs['n'] = node_entry['n']
          graph.add_node(id, **attrs)
      for edge_entry in get_aspect(cx, 'edges'):
          id = edge_entry['@id']
          attrs = get_attributes(get_aspect(cx, 'edgeAttributes'), id)
          attrs['i'] = edge_entry['i']
          graph.add_edge(edge_entry['s'], edge_entry['t'], key=id, **attrs)
      return graph
docs: Return a MultiDiGraph representation of a CX network.