After tasks are split, they form an unordered set. The Leader then builds a directed acyclic graph (DAG) based on their dependencies to determine the execution order. For example, in the diagram below, starting a virtual machine depends on creating it, and creating the virtual machine depends on creating the disk.
