Lines Matching refs:node

1379 	Editor.extractGraphModel = function(node, allowMxFile, checked)  argument
1381 if (node != null && typeof(pako) !== 'undefined')
1383 var tmp = node.ownerDocument.getElementsByTagName('div');
1409 node = doc2.documentElement;
1424 node = doc2.documentElement;
1431 if (node != null && node.nodeName == 'svg')
1433 var tmp = node.getAttribute('content');
1447 node = mxUtils.parseXml(tmp).documentElement;
1455 if (node != null && !allowMxFile)
1459 if (node.nodeName == 'diagram')
1461 diagramNode = node;
1463 else if (node.nodeName == 'mxfile')
1465 var diagrams = node.getElementsByTagName('diagram');
1475 node = Editor.parseDiagramNode(diagramNode, checked);
1479 …if (node != null && node.nodeName != 'mxGraphModel' && (!allowMxFile || node.nodeName != 'mxfile'))
1481 node = null;
1484 return node;
1493 var node = null;
1501 node = mxUtils.parseXml(tmp).documentElement;
1513 node = doc.documentElement;
1517 return node;
1770 Editor.extractParserError = function(node, defaultCause) argument
1773 var errors = (node != null) ? node.getElementsByTagName('parsererror') : null;
2209 Editor.prototype.setGraphXml = function(node) argument
2211 node = (node != null && node.nodeName != 'mxlibrary') ? this.extractGraphModel(node) : null;
2213 if (node != null)
2216 var errs = node.getElementsByTagName('parsererror');
2230 else if (node.nodeName == 'mxGraphModel')
2232 var style = node.getAttribute('style') || 'default-style2';
2261 this.graph.mathEnabled = (urlParams['math'] == '1' || node.getAttribute('math') == '1');
2263 var bgImg = node.getAttribute('backgroundImage');
2282 this.graph.setShadowVisible(node.getAttribute('shadow') == '1', false);
2284 var extFonts = node.getAttribute('extFonts');
2331 var node = editorGetGraphXml.apply(this, arguments);
2336 node.setAttribute('style', this.graph.currentStyle);
2346 node.setAttribute('backgroundImage', JSON.stringify(bgImg));
2349 node.setAttribute('math', (this.graph.mathEnabled) ? '1' : '0');
2350 node.setAttribute('shadow', (this.graph.shadowVisible) ? '1' : '0');
2359 node.setAttribute('extFonts', strExtFonts.join('|'));
2362 return node;
2389 var node = mxUtils.parseXml(tmp).documentElement;
2392 return node.nodeName == 'mxfile' || node.nodeName == 'mxGraphModel';
2407 Editor.prototype.extractGraphModel = function(node, allowMxFile, checked) argument
5973 if (this.node != null && this.node.nodeName == 'DIV')
5975 Graph.processFontAttributes(this.node);
6482 var node = this.themes['default-style2'];
6483 var dec = new mxCodec(node.ownerDocument);
6484 this.defaultStylesheet = dec.decode(node);
7526 mxUtils.setPrefixedStyle(hl.shape.node.style, 'transition', 'all 1200ms ease-in-out');
7527 hl.shape.node.style.opacity = 0;
8631 codec.beforeDecode = function(dec, node, obj) argument
8635 return node;
8638 codec.afterDecode = function(dec, node, obj) argument
8670 codec.beforeDecode = function(dec, node, obj)
8674 return node;