commit code for class diagrams