code: def test_view_edge_list_for_Graph(graph_file):
      cu_M = utils.read_csv_file(graph_file)
  
      # Create nx Graph
      pdf = cu_M.to_pandas()[["0", "1"]]
      nx_graph = nx.from_pandas_edgelist(
          pdf, source="0", target="1", create_using=nx.Graph
      )
      nx_edges = nx_graph.edges()
  
      # Create Cugraph Graph from DataFrame
      G = cugraph.from_cudf_edgelist(
          cu_M, source="0", destination="1", create_using=cugraph.Graph
      )
  
      cu_edge_list = G.view_edge_list().sort_values(["0", "1"])
  
      # Check if number of Edges is same
      assert len(nx_edges) == len(cu_edge_list)
      assert nx_graph.number_of_edges() == G.number_of_edges()
  
      # Get edges as upper triangle of matrix
      edges = []
      for edge in nx_edges:
          if edge[0] > edge[1]:
              edges.append([edge[1], edge[0]])
          else:
              edges.append([edge[0], edge[1]])
      edges = list(edges)
      edges.sort()
      nx_edge_list = cudf.DataFrame(edges, columns=["0", "1"])
  
      # Compare nx and cugraph edges when viewing edgelist
      # assert cu_edge_list.equals(nx_edge_list)
      assert (
          cu_edge_list["0"].to_numpy() == nx_edge_list["0"].to_numpy()
      ).all()
      assert (
          cu_edge_list["1"].to_numpy() == nx_edge_list["1"].to_numpy()
      ).all()
  
imports: import gc
  import time
  import pytest
  import pandas
  import scipy
  import networkx
  import cupy
  import cudf
  import cugraph
  from cugraph.testing import utils
  from cudf.testing import assert_series_equal
  from cudf.testing.testing import assert_frame_equal
  import dask_cudf
  import cugraph.dask
  from dask.distributed import Client
  from dask_cuda import LocalCUDACluster
  from pylibcugraph import ResourceHandle
  from pylibcugraph import bfs
  from cugraph.dask.traversal.bfs import convert_to_cudf
  from cugraph.dask.common.mg_utils import is_single_gpu
label_desc: Use image node_id 14 for calling a global function with example usage: test_view_edge_list_for_Graph(graph_file) without return types