code: def test_view_edge_list_from_adj_list(graph_file):
      Mnx = utils.read_csv_for_nx(graph_file)
      N = max(max(Mnx["0"]), max(Mnx["1"])) + 1
      Mcsr = scipy.sparse.csr_matrix(
          (Mnx.weight, (Mnx["0"], Mnx["1"])), shape=(N, N)
      )
  
      offsets = cudf.Series(Mcsr.indptr)
      indices = cudf.Series(Mcsr.indices)
      G = cugraph.Graph(directed=True)
      G.from_cudf_adjlist(offsets, indices, None)
      edgelist_df = G.view_edge_list()
      Mcoo = Mcsr.tocoo()
      src1 = Mcoo.row
      dst1 = Mcoo.col
      compare_series(src1, edgelist_df["src"])
      compare_series(dst1, edgelist_df["dst"])
  
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 10 for calling a global function with example usage: test_view_edge_list_from_adj_list(graph_file) without return types