code: def __init__(self, graph: nx.MultiDiGraph, string: str):
      self.graph = graph
      self.string = string
  
file_path: typedb-ml/typedb_ml/networkx/query_graph.py
imports: import networkx
label_desc: Use image node_id 1 to create a new Query object  with example: obj = Query(graph, string)