code: def construct_graph(n):
      g_list = []
      for _ in range(n):
          g = generate_rand_graph(30)
          g.edata["e1"] = F.randn((g.num_edges(), 32))
          g.edata["e2"] = F.ones((g.num_edges(), 32))
          g.ndata["n1"] = F.randn((g.num_nodes(), 64))
          g_list.append(g)
      return g_list
  
imports: import os
  import tempfile
  import time
  import unittest
  import warnings
  import backend
  import dgl
  import dgl.ndarray
  import numpy
  import pytest
  import scipy
  from dgl.data.utils import load_labels, load_tensors, save_tensors
label_desc: Use image node_id 2 for calling a global function with example usage: construct_graph(n) and returns: g_list