code: def iter_equivalent_nodes(self, node: BaseEntity) -> Iterable[BaseEntity]:
          
          yield node
          yield from self._equivalent_node_iterator_helper(node, {node})
docs: Iterate over nodes that are equivalent to the given node, including the original.