def readRelations(pathToFile):
    """
    Reads in a .txt file that represents the relationships between the task ids. They are delimited by '->'.
    Returns a list of tuples that represents directed edges of a graph.
    """
    with open(pathToFile, "r") as file:
        content = file.read()
    out = content.splitlines()
    out = [i.split('->', 1) for i in out]
    out = list(map(tuple, out)) 
    return out