Moved printing code to WpfDiagramPrinter class