draw the workflow