Added exporting of XML back to grapher.