adding a vertical layout of the class diagram