def generate_path(paths):
    """Generate path string from path list"""
    path_str = ""

    for path in paths:
        if path_str == "":
            path_str = str(path)
        else:
            path_str += "->" + str(path)

    return path_str