Export the png diagram.