Automated Drawing of UML Diagrams