code: def create_graph(idtype, num_node):
      g = dgl.graph([])
      g = g.astype(idtype).to(F.ctx())
      g.add_nodes(num_node)
      return g
  
file_path: dgl/tests/python/common/test_heterograph-remove.py
imports: import backend
  import dgl
  import numpy
  from utils import parametrize_idtype
label_desc: Use image node_id 1 for calling a global function with example usage: create_graph(idtype, num_node) and returns: g