add automatic layout for the workflow.