dag layout work