migrate the diagrams to papyrus