code: def test_multigraph():
      G = nx.MultiGraph()
      G.add_edge(1, 2, key="first")
      G.add_edge(1, 2, key="second", color="blue")
      H = cytoscape_graph(cytoscape_data(G))
      assert nx.is_isomorphic(G, H)
      assert H[1][2]["second"]["color"] == "blue"
  
file_path: networkx/networkx/readwrite/json_graph/tests/test_cytoscape.py
imports: import copy
  import json
  import pytest
  import networkx
  from networkx.readwrite.json_graph import cytoscape_data, cytoscape_graph
label_desc: Use image node_id 6 for calling a global function with example usage: test_multigraph() without return types