Add class diagram as PDF.