code: def static_graph_to_general_data(
      static_graph: GeneralStaticGraph,
  ) -> autogl.data.Data:
      return StaticGraphToGeneralData().__call__(static_graph)
  
file_path: AutoGL/autogl/data/graph/_general_static_graph/utils/conversion/_general.py
imports: import torch
  import typing
  import autogl
  from ...None import GeneralStaticGraph
label_desc: Use image node_id 1 for calling a global function with example usage: static_graph_to_general_data(static_graph) and returns: StaticGraphToGeneralData