add diagrams-pdf as extra dep