allDone = function () 
                    {
	                    var path = mxVsdxCodec.vsdxPlaceholder + "/document.xml";
	                    var rootDoc = (function (m, k) { return m[k] ? m[k] : null; })(docData, path);
	                    var rootChild = rootDoc.firstChild;
	                    while (rootChild != null && !(rootChild.nodeType == 1)) {
	                    	rootChild = rootChild.nextSibling;
	                    }
	                    ;
	                    if (rootChild != null && (rootChild.nodeType == 1)) {
	                        _this.importNodes(rootDoc, rootChild, path, docData);
	                    }
	                    else {
	                        return null;
	                    }
	                    _this.vsdxModel = new com.mxgraph.io.vsdx.mxVsdxModel(rootDoc, docData, mediaData);
	                    var pages = _this.vsdxModel.getPages();
	                    var xmlBuilder = { str: _this.RESPONSE_HEADER, toString: function () { return this.str; } };
	                    {
	                        var array122 = (function (m) { if (m.entries == null)
	                            m.entries = []; return m.entries; })(pages);
	                        var _loop_1 = function (index121, remaining) {
	                            var entry = array122[index121];
	                            {
	                                var page_1 = entry.getValue();
	                                //As per many requests, include all pages in the output
	                                //if (!page_1.isBackground()) 
	                                {
	                                    var graph_1 = this_1.createMxGraph();
	                                    graph_1.getModel().beginUpdate();
	                                    this_1.importPage(page_1, graph_1, graph_1.getDefaultParent(), true);
	                                    this_1.scaleGraph(graph_1, page_1.getPageScale() / page_1.getDrawingScale());
	                                    graph_1.getModel().endUpdate();

	                                    this_1.postImportPage(page_1, graph_1, function()
	                                    {
	                                    	this_1.sanitiseGraph(graph_1);
		                                    /* append */ (function (sb) { return sb.str = sb.str.concat(_this.RESPONSE_DIAGRAM_START); })(xmlBuilder);
		                                    /* append */ (function (sb) { return sb.str = sb.str.concat(_this.processPage(graph_1, page_1)); })(xmlBuilder);
		                                    /* append */ (function (sb) { return sb.str = sb.str.concat(_this.RESPONSE_DIAGRAM_END); })(xmlBuilder);
		                                    
		                                    if (index121 < array122.length - 1)
		                                	{
		    	                            	_loop_1(index121 + 1, remaining);
		                                	}
		    	                            else
		                                	{
		    	                            	remaining();
		                                	}
	                                    });
	                                }
	                            }
	                        };
	                        var this_1 = _this;
	                        
	                        if (array122.length > 0)
                        	{
	                        	_loop_1(0, remaining);
                        	}
	                        else
	                        {
	                        	remaining();
	                        }
	                    }
	                    
	                    function remaining()
	                    {
		                    /* append */ (function (sb) { return sb.str = sb.str.concat(_this.RESPONSE_END); })(xmlBuilder);
		                    var dateAfter = new Date();
	                       	//console.log("File processed in " + (dateAfter - dateBefore) + "ms");
		                    //console.log(xmlBuilder.str);
		                    if (callback) 
		                    {
	                     		callback(xmlBuilder.str);
		                    }
	                    }
                    }
Parses the input VSDX format and uses the information to populate
the specified graph.
@param docs All XML documents contained in the VSDX source file
@throws IOException
@throws ParserConfigurationException
@throws SAXException
@throws TransformerException
@param {Array} data
@param {string} charset
@return {string}