code: def build_graph(self, G):
      edges = [
          ("A", "B"),
          ("A", "C"),
          ("A", "C"),
          ("B", "C"),
          ("A", "D"),
      ]
      G.add_edges_from(edges)
      G.add_node("E")
      G.graph["metal"] = "bronze"
      return G
  
imports: import warnings
  import pytest
  import networkx
  from networkx.utils import edges_equal, graphs_equal, nodes_equal
label_desc: Use image node_id 1 for calling the TestAGraph obj's underlying member method code with example usage: obj.build_graph(G) and returns: G