code: def use(netlib=None):
      r"""
      Specifies to use which graph library as the DeepSNAP backend.
      The default backend is NetworkX. Current DeepSNAP also supports
      Snap.py (SnapX) backend for undirected homogeneous graph. You
      can switch the backend to SnapX via:
  
      .. code-block:: python
  
          import snap
          import snapx as sx
          import deepsnap
          deepsnap.use(sx)
  
      Args:
          netlib (types.ModuleType, optional): The graph backend module.
              Currently DeepSNAP supports the NetworkX and SnapX (for
              SnapX only the undirected homogeneous graph) as the graph
              backend. Default graph backend is the NetworkX.
  
      """
      global _netlib
      if netlib is not None:
          _netlib = netlib
  
file_path: deepsnap/deepsnap/__init__.py
imports: import types
  import torch
  import random
  import numpy
  import deepsnap.graph
  import deepsnap.dataset
  import deepsnap.batch
  import deepsnap.hetero_graph
  import deepsnap.hetero_gnn
  import networkx
label_desc: Use image node_id 1 for calling a global function with example usage: use(netlib) without return types