class_docstr: An abstract base class for generating synthetic graphs.
code: def resolve(
      query: Any, *args: Any, **kwargs: Any
  ) -> "GraphGenerator":
      import torch_geometric.datasets.graph_generator as _graph_generators
  
      graph_generators = [
          gen
          for gen in vars(_graph_generators).values()
          if isinstance(gen, type) and issubclass(gen, GraphGenerator)
      ]
      return resolver(
          graph_generators,
          {},
          query,
          GraphGenerator,
          "Graph",
          *args,
          **kwargs,
      )
  
file_path: pytorch_geometric/torch_geometric/datasets/graph_generator/base.py
imports: from abc import ABC, abstractmethod
  from typing import Any
  from torch_geometric.data import Data
  from torch_geometric.resolver import resolver
label_desc: Use image node_id 2 for calling the GraphGenerator obj's underlying member method code with example usage: obj.resolve(query) and returns: resolver