code: def createGraph(edgelist_gdf, createDiGraph, renumber, symmetrized):
      if createDiGraph:
          G = cugraph.DiGraph()
      else:
          G = cugraph.Graph(symmetrized=symmetrized)
      G.from_cudf_edgelist(
          edgelist_gdf,
          source="src",
          destination="dst",
          edge_attr="val",
          renumber=renumber,
      )
      return G
  
file_path: cugraph/python/utils/run_benchmarks.py
imports: import argparse
  import sys
  from collections import OrderedDict
  from scipy.io import mmread
  import cugraph
  import cudf
  from benchmark import Benchmark
label_desc: Use image node_id 3 for calling a global function with example usage: createGraph(edgelist_gdf, createDiGraph, renumber, symmetrized) and returns: G