def METHOD_NAME(self, node: JoinClause[Entity]) -> EquivalenceGraph:
    ret: EquivalenceGraph = {}
    mapping = node.get_alias_node_map()
    for condition in node.keys:
        self.__add_relationship(
            ret,
            entity_from_node(mapping[condition.left.table_alias]),
            condition.left.column,
            entity_from_node(mapping[condition.right.table_alias]),
            condition.right.column,
        )
    def merge_into_graph(node: JoinNode[Entity]) -> None:
        for col, equivalences in node.accept(self).items():
            ret[col] = ret.get(col, set()) | equivalences
    merge_into_graph(node.left_node)
    merge_into_graph(node.right_node)
    return ret