code: def disconnected():
      graph = nx.Graph()
      graph.add_edges_from([(1, 2), (2, 3), (4, 5), (5, 6)])
      graph.nodes[1]["weight"] = 10
      graph.nodes[2]["weight"] = 20
      graph.nodes[3]["weight"] = 5
      graph.nodes[4]["weight"] = 100
      graph.nodes[5]["weight"] = 200
      graph.nodes[6]["weight"] = 50
      return graph
  
file_path: networkx/networkx/algorithms/tests/test_max_weight_clique.py
imports: import pytest
  import networkx
label_desc: Use image node_id 7 for calling a global function with example usage: disconnected() and returns: graph