docs: def ensure_node(self, tokens: ParseResults) -> BaseEntity:
          """Turn parsed tokens into canonical node name and makes sure its in the graph."""
          if MODIFIER in tokens:
              return self.ensure_node(tokens[TARGET])
  
          node = parse_result_to_dsl(tokens)
          self.graph.add_node_from_data(node)
          return node