def add_edge(self, u_node: int, v_node: int, weight: int) -> None:

        if self.m_component[u_node] == u_node:
            return u_node
        return self.find_component(self.m_component[u_node])