1. A method, comprising: determining, by a processor, a first node connected to at least two predecessor nodes in an optimized directed graph of nodes representing a process flow; performing, by the processor, a depth first traversal of the nodes of the optimized directed graph above the determined predecessor nodes and ending at the first node; after the depth first traversal of the nodes above the determined predecessor nodes, performing, by the processor, a depth first traversal of the optimized directed graph starting from the first node; and outputting text associated with a linear form of the process flow based on the depth first traversals.