code: def test_pyg_to_graph_global(self):
      import deepsnap
  
      deepsnap.use(nx)
  
      pyg_dataset = Planetoid("./planetoid", "Cora")
      pyg_data = pyg_dataset[0]
      graph = Graph.pyg_to_graph(pyg_data)
      self.assertTrue(isinstance(graph.G, nx.Graph))
  
      deepsnap.use(sx)
      graph = Graph.pyg_to_graph(pyg_data)
      self.assertTrue(isinstance(graph.G, sx.Graph))
  
file_path: deepsnap/tests/test_graph_backend.py
imports: import snap
  import snapx
  import unittest
  import torch
  import networkx
  from torch.utils.data import DataLoader
  from torch_geometric.datasets import Planetoid
  from deepsnap.graph import Graph
  from deepsnap.batch import Batch
  from deepsnap.dataset import GraphDataset
label_desc: Use image node_id 3 for calling the TestGraphBackend obj's underlying member method code with example usage: obj.test_pyg_to_graph_global() without return types