

def allTasks(self, graph):
    print()
    print('All tasks in pipeline (not ordered by workflow):')
    print()
    for task in graph.getNodes('task'):
        print('task:', task)
        print('\tinputs:')
        for nodeId in graph.graph.predecessors(task):
            print('\t\t', graph.getArgumentAttribute(nodeId, task, 'longFormArgument'), ' ', graph.getGraphNodeAttribute(nodeId, 'values'), ' (node id: ', nodeId, ')', sep='')
        print('\toutputs:')
        for nodeId in graph.graph.successors(task):
            print('\t\t', graph.getArgumentAttribute(task, nodeId, 'longFormArgument'), ' ', graph.getGraphNodeAttribute(nodeId, 'values'), ' (node id: ', nodeId, ')', sep='')

dataset/ETHPy150Open gkno/gkno_launcher/src/gkno/debug.py debug.allTasks/original