Building a bit of the workflow graph