code: def to_numpy_array(G):
      """
      Returns the graph adjacency matrix as a NumPy array.
  
      Parameters
      ----------
      G : cugraph.Graph
          Graph containing the adjacency matrix.
      """
      A = G.to_numpy_array()
      return A
  
file_path: cugraph/python/cugraph/cugraph/structure/convert_matrix.py
imports: import cudf
  import dask_cudf
  from cugraph.structure.graph_classes import Graph
label_desc: Use image node_id 9 for calling a global function with example usage: to_numpy_array(G) and returns: A