change position of class diagrams in document structure