Export/print diagram as picture or pdf

It would be nice to be able to export a diagram from the querybuilder as a picture or even as a pdf.