Adding diagrams for the entire flow and ordering