def METHOD_NAME(self) -> Optional["QDataDepGraphBlock"]:
    if self._rel_nodes and 0 <= self._curr_search_idx < len(self._rel_nodes):
        return self._rel_nodes[self._curr_search_idx]
    else:
        return None