Print layered dependencies.