code: def test_graph_with_AGraph_attrs(self):
      G = nx.complete_graph(2)
      # Add entries to graph dict that to_agraph handles specially
      G.graph["node"] = {"width": "0.80"}
      G.graph["edge"] = {"fontsize": "14"}
      path, A = nx.nx_agraph.view_pygraphviz(G, show=False)
      # Ensure user-specified values are not lost
      assert dict(A.node_attr)["width"] == "0.80"
      assert dict(A.edge_attr)["fontsize"] == "14"
  
imports: import warnings
  import pytest
  import networkx
  from networkx.utils import edges_equal, graphs_equal, nodes_equal
label_desc: Use image node_id 18 for calling the TestAGraph obj's underlying member method code with example usage: obj.test_graph_with_AGraph_attrs() without return types