Lines Matching refs:xmlNode

8 GraphViewer = function(container, xmlNode, graphConfig)  argument
10 this.init(container, xmlNode, graphConfig);
118 GraphViewer.prototype.init = function(container, xmlNode, graphConfig) argument
159 if (xmlNode != null)
161 this.xmlDocument = xmlNode.ownerDocument;
162 this.xmlNode = xmlNode;
163 this.xml = mxUtils.getXml(xmlNode);
242 this.xmlNode = this.editor.extractGraphModel(this.xmlNode, true);
244 if (this.xmlNode != xmlNode)
246 this.xml = mxUtils.getXml(this.xmlNode);
247 this.xmlDocument = this.xmlNode.ownerDocument;
265 if (this.xmlNode.nodeName == 'mxfile')
267 var diagrams = this.xmlNode.getElementsByTagName('diagram');
336 if (this.xmlNode == null || this.xmlNode.nodeName != 'mxfile')
340 if (this.xmlNode != lastXmlNode)
342 this.diagrams = this.xmlNode.getElementsByTagName('diagram');
343 lastXmlNode = this.xmlNode;
413 this.editor.setGraphXml(this.xmlNode);
615 GraphViewer.prototype.setXmlNode = function(xmlNode) argument
618 xmlNode = this.editor.extractGraphModel(xmlNode, true);
620 this.xmlDocument = xmlNode.ownerDocument;
621 this.xml = mxUtils.getXml(xmlNode);
622 this.xmlNode = xmlNode;
624 this.updateGraphXml(xmlNode);
631 GraphViewer.prototype.setFileNode = function(xmlNode) argument
633 if (this.xmlNode == null)
635 this.xmlDocument = xmlNode.ownerDocument;
636 this.xml = mxUtils.getXml(xmlNode);
637 this.xmlNode = xmlNode;
640 this.setGraphXml(xmlNode);
646 GraphViewer.prototype.updateGraphXml = function(xmlNode) argument
648 this.setGraphXml(xmlNode);
687 GraphViewer.prototype.setGraphXml = function(xmlNode) argument
699 this.editor.setGraphXml(xmlNode);