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