class_docstr: A custom graph to represent a query. Has additional helper methods specific to adding TypeQL patterns.
docstr: Add variables, stored as nodes in the graph
  Args:
      vars: String variables
  
  Returns:
      self
docstr_tok: ["Add","variables",",","stored","as","nodes","in","the","graph","Args",":","vars",":","String","variables","Returns",":","self"]
code: def add_vars(self, vars):
      """
      Add variables, stored as nodes in the graph
      Args:
          vars: String variables
  
      Returns:
          self
      """
      for var in vars:
          self.add_node(var)
      return self
  
file_path: typedb-ml/typedb_ml/networkx/query_graph.py
imports: import networkx
label_desc: Use image node_id 1 for calling the QueryGraph obj's underlying member method code with example usage: obj.add_vars(vars) and returns: self