Lines Matching refs:container

290 …"+f+'px;"><div style="position:relative;left:'+k+"px;top:"+l+'px;">')+a.container.innerHTML;b.writ…
291 …"div");e.style.position="absolute";e.style.left=k+"px";e.style.top=l+"px";f=a.container.firstChild;
393container),f=mxUtils.getScrollOrigin(),g=this.getElementForEvent(b);if(this.checkEventSource)for(;…
400 …pe.dragOver=function(a,b){var c=mxUtils.getOffset(a.container),d=mxUtils.getScrollOrigin(a.contain…
401 this.previewElement.parentNode&&(a.container.appendChild(this.previewElement),this.previewElement.s…
403container.style.visibility&&a.container.focus()};function mxToolbar(a){this.container=a}mxToolbar.… method in mxToolbar
404 …b);null!=a&&(null!=b?g.setAttribute("title",a):mxUtils.write(g,a));this.container.appendChild(g);n…
406 …Element("select");c.className=a||"mxToolbarCombo";b.appendChild(c);this.container.appendChild(b);r…
407 …ons[c.selectedIndex];c.selectedIndex=0;null!=b.funct&&b.funct(a)});this.container.appendChild(c);r…
409 …Selected";this.fireEvent(new mxEventObject(mxEvent.SELECT));c()}));this.container.appendChild(f);n…
411 (this.defaultMode=g,this.defaultFunction=c,this.selectMode(g,c)));this.container.appendChild(g);ret…
413 …urn this.addItem(null,a,null)};mxToolbar.prototype.addBreak=function(){mxUtils.br(this.container)};
414container.appendChild(a)};mxToolbar.prototype.destroy=function(){mxEvent.release(this.container);t…
426container);this.scrollLeft=a.container.scrollLeft;this.scrollTop=a.container.scrollTop;return wind…
427 …active||this.start();this.scrollLeft=a.container.scrollLeft;this.scrollTop=a.container.scrollTop;v…
568 g,!1)));this.graph.snapDelta(b,a,!c,k,n);b=this.getDelta(a,l,b.x,p,b.y);c=this.graph.container;k||n…
756 ….container&&(null==c&&b.isLayer(a)||a==this.graph.getView().currentRoot)&&(c=new mxRectangle(0,0,t…
767 ….container&&(null==d&&c.isLayer(a)||a==this.graph.getView().currentRoot)&&(d=new mxRectangle(0,0,t…
1039 …unction(a,b,c,d,e,f){var g=this.graph.getView();d=this.graph.container;this.graph.container=e;var …
1042 …rentNode.removeChild(g.overlayPane);this.graph.setEnabled(r);this.graph.container=d;this.graph.cel…
1093 …arOnChange=this.textarea.innerHTML==this.getEmptyLabelText();this.graph.container.appendChild(this…
1118 …=mxEvent.getClientX(b),b=mxEvent.getClientY(b),b=mxUtils.convertPoint(c.container,d,b),d=c.view.ge…
1120 …&mxClient.NO_FO&&b.dialect!=mxConstants.DIALECT_SVG?b.init(a.view.graph.container):b.init(a.view.g…
1126 …onstants.DIALECT_SVG?(b.dialect=mxConstants.DIALECT_PREFERHTML,b.init(e.container),b.node.style.zI…
1129 …=mxEvent.getClientX(c),c=mxEvent.getClientY(c),c=mxUtils.convertPoint(b.container,d,c),d=b.view.ge…
1147 …de,g.nextSibling);else if(null==g)if(d[e].node.parentNode==a.view.graph.container){for(g=a.view.ca…
1148 a.view.graph.container;)g=g.parentNode;null!=g&&null!=g.nextSibling?g.nextSibling!=d[e].node&&d[e].…
1150 …PE]&&(a.shape.destroy(),a.shape=null);null==a.shape&&null!=a.view.graph.container&&a.cell!=a.view.…
1245 …sContainerEvent=function(a){a=mxEvent.getSource(a);return a==this.graph.container||a.parentNode==t…
1246container);a=new mxPoint(a.clientX-b.x,a.clientY-b.y);var b=this.graph.container.offsetWidth,c=thi…
1247 mxGraphView.prototype.installListeners=function(){var a=this.graph,b=a.container;if(null!=b){mxClie…
1250container&&!this.isContainerEvent(b)&&"none"!=a.container.style.display&&"hidden"!=a.container.sty…
1252 mxGraphView.prototype.createHtml=function(){var a=this.graph.container;null!=a&&(this.canvas=this.c…
1253 …ion(a,b){if(null!=this.graph.container){var c=this.graph.container.offsetHeight;this.canvas.style.…
1255 mxGraphView.prototype.createSvg=function(){var a=this.graph.container;this.canvas=document.createEl…
1258 …ument,null,this.moveHandler,this.endHandler),mxEvent.release(this.graph.container),a.parentNode.re…
1273 mxGraph.prototype.init=function(a){this.container=a;this.cellEditor=this.createCellEditor();this.vi…
1296container))this.allowAutoPanning&&!this.panningHandler.isActive()&&(null==this.panningManager&&(th…
1297 …tants.DIALECT_SVG){a=this.view.getDrawPane().ownerSVGElement;var g=this.container.scrollWidth+d-f}…
1298 b=this.container.scrollHeight+d-f):(b=Math.max(e.clientHeight,e.scrollHeight)+d-f,a=this.view.getCa…
1299 mxGraph.prototype.getBorderSizes=function(){var a=mxUtils.getCurrentStyle(this.container);return ne…
1301container){a=null!=a?a:this.getBorder();b=null!=b?b:!1;c=null!=c?c:0;d=null!=d?d:!0;e=null!=e?e:!1…
1302 …ollbars(this.container)?(this.view.setScale(e),a=this.getGraphBounds(),null!=a.x&&(this.container.…
1304 mxGraph.prototype.sizeDidChange=function(){var a=this.getGraphBounds();if(null!=this.container){var…
1306 …th.min(this.maximumContainerSize.height,b));this.container.style.width=Math.ceil(a)+"px";this.cont…
1401container))this.container.scrollLeft=-a,this.container.scrollTop=-b;else{var c=this.view.getCanvas…
1402 …ftPreview1=null;this.container.appendChild(c.parentNode);for(d=this.shiftPreview2.firstChild;null!…
1403container.firstChild;null!=d;)e=d.nextSibling,d!=c.parentNode?f.appendChild(d):f=this.shiftPreview…
1406container),f=2*this.getBorder(),g=this.container.clientWidth-f,f=this.container.clientHeight-f,k=t…
1407 (a-g)/2,this.container.scrollTop=(b-f)/2):this.view.setTranslate(a?Math.floor(l.x-k.x/m+n*c/m):l.x,…
1408 …e(c));else if(d=mxUtils.hasScrollbars(this.container),b&&!d){var d=this.container.offsetWidth,e=th…
1409container.scrollLeft,l=this.container.scrollTop;this.view.setScale(c);d&&(e=d=0,b&&(d=this.contain…
1411container.clientWidth/a.width/(this.container.clientHeight/a.height);a.x=Math.max(0,a.x);a.y=Math.…
1412container.clientWidth/a.width;c=this.view.scale*b;mxUtils.hasScrollbars(this.container)?(this.view…
1413 …gle(c+e.x,d+e.y,e.width,e.height),b&&null!=this.container&&(d=this.container.clientWidth,e=this.co…
1415container.offsetWidth,d=this.container.offsetHeight,e=Math.min(c,a.width),f=Math.min(d,a.height);i…
1461 …th;e++)if(this.isSwimlane(a[e]))return null;e=mxUtils.convertPoint(this.container,mxEvent.getClien…
1472 mxGraph.prototype.getPointForEvent=function(a,b){var c=mxUtils.convertPoint(this.container,mxEvent.…
1487 …a,b){if(null==a.graphX||null==a.graphY){var c=mxUtils.convertPoint(this.container,a.getX(),a.getY(…
1488 …Event.getClientX(a);a=mxEvent.getClientY(a);b=mxUtils.convertPoint(this.container,b,a);return this…
1497 …ent.IS_IE11||mxClient.IS_IE&&mxClient.IS_SVG||b.getEvent().target!=this.container){if(a==mxEvent.M…
1498container.scrollLeft||0!=this.container.scrollTop)){var d=this.view.scale,e=this.view.translate;th…
1503 …this.graphModelChangeListener),this.graphModelChangeListener=null),this.container=null)};function …
1506 …ll!=b&&this.init(b)}mxOutline.prototype.source=null;mxOutline.prototype.container=null;mxOutline.p… method in mxOutline
1508 mxOutline.prototype.init=function(a){this.container=a;this.updateHandler=mxUtils.bind(this,function…
1509 …nd(this,function(a,c){this.update(!1)});mxEvent.addListener(this.source.container,"scroll",this.sc…
1510 …nction(){return this.source.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.source.container)};
1512 …p.width/e,n=n-p.height/e,q=this.svg.getBoundingClientRect();this.source.container.scrollLeft=p.x-l…
1513container.scrollTop=p.y-n*e/2+(b.y-this.border-q.top)*e}else p=this.source.view.translate,n=this.v…
1514 …l!=b&&(this.isScrolling()?(this.source.container.scrollLeft=c+(mxEvent.getClientX(a)-b.x)*e,this.s…
1516 …svg&&(this.svg=this.createSvg(),this.addGestureListeners(this.svg),this.container.appendChild(this…
1520 …createViewport(),this.svg.appendChild(this.viewport));var a=this.source.container,a=new mxRectangl…
1522 mxOutline.prototype.update=function(a){null!=this.source&&null!=this.source.container&&(null!=this.…
1523 …ener(mxEvent.PAN,this.scrollHandler),mxEvent.removeListener(this.source.container,"scroll",this.sc…
1534 …a,b){if(null!=a&&null!=b)for(var c=mxUtils.convertPoint(this.getGraph().container,mxEvent.getClien…
1561 …yHandler=mxUtils.bind(this,function(a){null==this.graph.container||"hidden"==this.graph.container.…
1577 …htmlPreview?(a.dialect=mxConstants.DIALECT_STRICTHTML,a.init(this.graph.container)):(a.dialect=mxC…
1578 …unction(a,b,c,d){this.cell=a;this.first=mxUtils.convertPoint(this.graph.container,b,c);this.cells=…
1582 mxGraphHandler.prototype.getDelta=function(a){a=mxUtils.convertPoint(this.graph.container,a.getX(),…
1601 …graph.getView().getState(a),null!=a)){c=mxUtils.convertPoint(this.graph.container,mxEvent.getClien…
1614 …r.prototype.start=function(a){this.dx0=-this.graph.container.scrollLeft;this.dy0=-this.graph.conta…
1616 …(!this.graph.useScrollbarsForPanning||!mxUtils.hasScrollbars(this.graph.container)){var c=this.gra…
1653 …ate=function(a){return null!=a.text&&a.text.node.parentNode==this.graph.container?!0:this.moveIcon…
1654 …ForState(a)?(e.dialect=mxConstants.DIALECT_STRICTHTML,e.init(this.graph.container)):(e.dialect=mxC…
1662container),c=a.getEvent(),d=mxEvent.getClientX(c),c=mxEvent.getClientY(c),e=document.documentEleme…
1677 null!=this.cursor&&(this.graph.container.style.cursor=this.cursor);mxEvent.consume(b.getEvent());b.…
1685 …e.addWaypointForEvent=function(a){var b=mxUtils.convertPoint(this.graph.container,a.getX(),a.getY(…
1689 …troy(),this.shape=null);null!=this.cursor&&null!=this.graph.container&&(this.graph.container.style…
1709 …null!=this.graph.container&&(this.mouseleaveHandler=mxUtils.bind(this,function(){this.reset()}),mx…
1719 …);null!=this.mouseleaveHandler&&null!=this.graph.container&&(mxEvent.removeListener(this.graph.con…
1720 …andEvent(e)){var b=mxUtils.getOffset(this.graph.container),f=mxUtils.getScrollOrigin(this.graph.co…
1723 …getEvent())){var c=mxUtils.getOffset(this.graph.container),d=mxUtils.getScrollOrigin(this.graph.co…
1724 …=b.x;a.graphY=b.y;return a}this.first=new mxPoint(a,b);var d=this.graph.container;this.dragHandler…
1725 …is.first){var c=mxUtils.getScrollOrigin(this.graph.container),d=mxUtils.getOffset(this.graph.conta…
1726 …and",mxUtils.setOpacity(this.sharedDiv,this.defaultOpacity));this.graph.container.appendChild(this…
1736 …shape.dialect=mxConstants.DIALECT_STRICTHTML,this.shape.init(this.graph.container)):(this.shape.di…
1738 …turn null!=this.state.text&&this.state.text.node.parentNode==this.graph.container};mxHandle.protot…
1754 …ntNode==this.graph.container?(--d.bounds.height,--d.bounds.width,d.dialect=mxConstants.DIALECT_STR…
1762 …0")||null==this.state.text||this.state.text.node.parentNode!=this.graph.container?(this.preview.di…
1763 (this.preview.dialect=mxConstants.DIALECT_STRICTHTML,this.preview.init(this.graph.container));c==mx…
1809 …his.preview.bounds=this.bounds,this.preview.node.parentNode==this.graph.container&&(this.preview.b…
1817container;if(!this.preferHtml){var a=this.state.getVisibleTerminalState(!0);null!=a&&(this.preferH…
1818 a.text&&a.text.node.parentNode==this.graph.container))}this.graph.isCellEditable(this.state.cell)&&…
1832 ….preferHtml?(a.dialect=mxConstants.DIALECT_STRICTHTML,a.init(this.graph.container)):(a.dialect=thi…
1849container),c=a.getEvent(),d=mxEvent.getClientX(c),c=mxEvent.getClientY(c),e=document.documentEleme…
1873 mxEdgeHandler.prototype.addPoint=function(a,b){var c=mxUtils.convertPoint(this.graph.container,mxEv…
1916 ….graph.cellEditor.isEventSource(a)?!0:mxUtils.isAncestorNode(this.graph.container,b)};mxKeyHandler…
2061 …raphComponents=function(){var b=this.graph;null!=b.container&&(b.view.validateBackground(),b.conta…
2071 …Listener(window,"resize",this.resizeListener);this.onDialogClose=t;this.container=B;b.editor.fireE…
2075 …veListener(window,"resize",this.resizeListener);this.container.parentNode.removeChild(this.contain…
2078 …e.appendChild(k));this.init=function(){u.focus()};m.appendChild(e);this.container=m},PrintDialog=f…
2085 g.appendChild(f);k.appendChild(g);t.appendChild(k);p.appendChild(t);this.container=p};PrintDialog.p…
2095 …cancelFirst||p.appendChild(n);g.appendChild(p);d.appendChild(g);t.appendChild(d);this.container=t};
2113 v.appendChild(y);this.container=v};FilenameDialog.filenameHelpLink=null;
2119 …b.container&&!b.transparentBackground){if(b.pageVisible){var d=this.getBackgroundPageBounds();if(n…
2120 this.backgroundPageShape.init(b.container),f.style.position="absolute",b.container.insertBefore(thi…
2124 …derColor,b.container.className="geDiagramContainer geDiagramBackdrop",f.style.backgroundImage="non…
2132 this.useScrollbarsForPanning&&mxUtils.hasScrollbars(this.container)||(this.view.backgroundPageShape…
2134 …urce.call(this);this.destroyFunctions=[];this.editor=b||new Editor;this.container=c||document.body…
2142 …event);return k.isEditing()||null!=b&&this.isSelectionAllowed(b)});this.container==document.body&&…
2146container.style.cursor="move",k.isEditing()||mxEvent.getSource(b)!=k.container||mxEvent.consume(b)…
2148 …his.toolbar&&B!=k.cellEditor.isContentEditing()){for(var b=this.toolbar.container.firstChild,d=[];…
2149 …oolbar.createTextToolbar();else{for(var c=0;c<E.length;c++)this.toolbar.container.appendChild(E[c]…
2151container.setAttribute("tabindex","0");k.container.style.cursor="default";if(window.self===window.…
2163container,"scroll",mxUtils.bind(this,function(){b.tooltipHandler.hide();null!=b.connectionHandler&…
2164 "keydown",mxUtils.bind(this,function(b){this.onKeyDown(b)}));mxEvent.addListener(b.container,"keypr…
2167 …tParent()))g.apply(this,arguments);else{var f=mxUtils.convertPoint(this.container,mxEvent.getClien…
2170 …d.getBoundingClientRect(),g=mxUtils.getOffset(b.container),k=b.container.scrollLeft+d.x-g.x,g=b.co…
2175 ….background!=mxConstants.NONE&&(f.style.backgroundColor=q.background);q.container.appendChild(f);e…
2177container.scrollTop+q.container.offsetHeight);0<t&&(f.style.top=Math.max(q.container.scrollTop+22,…
2195 …n new mxPoint(Math.max(0,Math.round((b.container.offsetWidth-34)/b.view.scale)),Math.max(0,Math.ro…
2196container&&!b.isViewer()){c=null!=c?c:0;e=null!=e?e:0;var l=b.pageVisible?b.view.getBackgroundPage…
2197container.scrollTop,k=b.container.scrollLeft,n=8<=document.documentMode?20:14;if(8==document.docum…
2198 m.x),Math.floor(A-m.y)),b.container.scrollTop=H*d/q,b.container.scrollLeft=k*d/q;else if(0!=c||0!=e…
2201 …ut");var p=mxUtils.bind(this,function(){var d=mxUtils.getCurrentStyle(b.container);b.isViewer()?th…
2209 …city(this.layersDialog,80));f=mxUtils.getCurrentStyle(this.editor.graph.container);this.layersDial…
2212 …eBtn&&window.self===window.top||b.lightbox&&("1"==urlParams.close||this.container!=document.body))…
2213 …le,"transform","translate(-50%,0)");b.container.appendChild(this.chromelessToolbar);mxEvent.addLis…
2215container.scrollLeft;this.scrollTop=b.container.scrollTop},mouseMove:function(b,d){},mouseUp:funct…
2216container&&mxUtils.hasScrollbars(this.graph.container)){var b=this.graph.getPagePadding(),d=this.g…
2217 …view.translate.y,b.view.setTranslate(e,f),b.container.scrollLeft+=Math.round((e-d)*b.view.scale),b…
2219 …view.getOverlayPane().style.opacity="");var d=new mxPoint(b.container.scrollLeft,b.container.scrol…
2220container),l=b.view.scale,g=0,q=0;null!=L&&(g=b.container.offsetWidth/2-L.x+f.x,q=b.container.offs…
2221 …f||!b.scrollbars)&&(L=new mxPoint(b.container.offsetLeft+b.container.clientWidth/2,b.container.off…
2223container.scrollLeft,b.container.scrollTop);d=f?b.container.scrollLeft+b.container.clientWidth/2:L…
2224container.clientWidth/2+b.container.scrollLeft-d.offsetLeft+"px":L.x+b.container.scrollLeft-d.offs…
2225 …eners(b.container,function(b){null!=C&&window.clearTimeout(C)},null,function(d){1!=b.cumulativeZoo…
2226 …|b.isZoomWheelEvent(d))for(var g=mxEvent.getSource(d);null!=g;){if(g==b.container)return b.tooltip…
2227 b.container);b.panningHandler.zoomGraph=function(d){b.cumulativeZoomFactor=d.scale;b.lazyZoom(0<d.s…
2236 …,e=c.container.style.overflow;c.scrollbars=b;this.editor.updateGraphComponents();e!=c.container.st…
2237container.scrollTop=0,b.container.scrollLeft=0,mxUtils.hasScrollbars(b.container)||b.view.setTrans…
2238container.scrollLeft+.9*b.container.clientWidth&&(b.container.scrollLeft=Math.min(c.x+c.width-b.co…
2239container.scrollLeft=Math.floor(Math.max(0,c.x-Math.max(0,(b.container.clientWidth-e)/2)))}else{va…
2240container),k=0,g=0;e&&(k=c.view.translate.x*c.view.scale-c.container.scrollLeft,g=c.view.translate…
2257 …resh=function(b){b=null!=b?b:!0;var c=this.container.clientWidth,e=this.container.clientHeight;thi…
2265container);null!=this.menubar&&(this.statusContainer=this.createStatusContainer(),this.editor.addL…
2266container.appendChild(this.sidebarContainer);this.format=this.editor.chromeless||!this.formatEnabl…
2267container.appendChild(this.sidebarFooterContainer);this.container.appendChild(this.diagramContaine…
2273 …k"),k,g,p,t,m,d,f);c=Math.ceil(null!=c?c.length/50:1);this.showDialog(b.container,l||340,q||100+20…
2274container.firstChild)&&(e=this.dialogs.pop(),0==e.close(b,c)?this.dialogs.push(e):(this.dialog=0<t…
2275 this.editor.graph.cellEditor.textarea.focus():(mxUtils.clearSelection(),this.editor.graph.container
2276 …);c(b)},function(){e.cellEditor.restoreSelection(k)});this.showDialog(p.container,230,g,!0,!1);p.i…
2277 …unction(b){this.hideDialog(b)}));this.showDialog((new OpenDialog(this)).container,Editor.useLocalS…
2288 …s.confirm(mxResources.get("invalidName"));return!1})),this.showDialog(b.container,300,100,!0,!0),b…
2292 …nkDialog=function(b,c,e){b=new LinkDialog(this,b,c,e);this.showDialog(b.container,420,90,!0,!0);b.…
2293 …og=function(b){null!=b&&(b=new EditDataDialog(this,b),this.showDialog(b.container,480,420,!0,!1,nu…
2338container)&&mxClient.IS_FF&&mxClient.IS_WIN&&null==b.getState()&&mxEvent.isTouchEvent(b.getEvent()…
2339 mxUtils.bind(this,function(){this.isEnabled()&&(this.container.style.cursor=M)}));this.popupMenuHan…
2343 …ar f=d.getProperty("event"),c=d.getProperty("cell");null==c?(f=mxUtils.convertPoint(this.container,
2349container.style.visibility="hidden";c.container.style.position="absolute";c.container.style.overfl…
2369 ….addListener(mxEvent.SIZE,mxUtils.bind(this,function(b,c){if(null!=this.container&&this.flowAnimat…
2434 …c=this.getCurrentCellStyle(b);return this.isSwimlane(b)?"0"!=c.container:"1"==c.container};Graph.p…
2439container.clientWidth-c,k=this.container.clientHeight-c,g=Math.floor(20*Math.min(e/b.width,k/b.hei…
2452container,"scroll",this.resetHandler);this.graph.addListener(mxEvent.ESCAPE,mxUtils.bind(this,func…
2453 mxEvent.getSource(b)==this.graph.container&&this.setDisplay("none")}));this.graph.addListener(mxEve…
2455 function(b,k){var e=k.getEvent();mxUtils.convertPoint(this.graph.container,mxEvent.getClientX(e),mx…
2457 …s.isResetEvent(b)||(this.mouseDownPoint=mxUtils.convertPoint(this.graph.container,mxEvent.getClien…
2478container.appendChild(this.arrowUp),this.graph.container.appendChild(this.arrowDown));this.graph.c…
2560 …totype.insertTextForEvent=function(b,d){var f=mxUtils.convertPoint(this.container,mxEvent.getClien…
2562 d=this.container.scrollLeft/this.view.scale-this.view.translate.x,f=this.container.scrollTop/this.v…
2563container)?new mxPoint(this.snap(Math.round((this.container.scrollLeft+this.container.clientWidth/…
2564 ….snap(Math.round(this.container.clientWidth/2/this.view.scale-this.view.translate.x-b.width/2)),th…
2566 …ckHandler=function(b,d,f){var c=mxUtils.bind(this,function(){var b=this.container.getElementsByTag…
2567 …ull,null,d))}});this.model.addListener(mxEvent.CHANGE,c);c();var e=this.container.style.cursor,g=t…
2568 …raphY();this.scrollLeft=l.container.scrollLeft;this.scrollTop=l.container.scrollTop;null==this.cur…
2569 (l.container.style.cursor="move");this.updateCurrentState(d)},mouseMove:function(b,d){if(l.isMouseD…
2570 …arentNode;null==e&&Math.abs(this.scrollLeft-l.container.scrollLeft)<g&&Math.abs(this.scrollTop-l.c…
2571 …&&!c.isConsumed()&&Math.abs(this.scrollLeft-l.container.scrollLeft)<g&&Math.abs(this.scrollTop-l.c…
2572 …b.cell),l.container.style.cursor="pointer",null!=this.highlight&&this.highlight.highlight(b))},cle…
2603 …d.state.shape&&(this.container.style.cursor=d.state.shape.node.style.cursor))}null==d.getState()&&…
2625 …iner()};mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(ca…
2627 …pe||this.livePreviewActive)){null==this.hint&&(this.hint=b(),this.graph.container.appendChild(this…
2644 …b),d.cell,b),mxEvent.consume(b))}));this.moveHandles.push(f);this.graph.container.appendChild(f)}}…
2647 …ent.LABEL_HANDLE){null==this.hint&&(this.hint=b(),this.state.view.graph.container.appendChild(this…
2650 …int=function(d,f){null==this.hint&&(this.hint=b(),this.state.view.graph.container.appendChild(this…
2665 …is.first){var f=mxUtils.getScrollOrigin(this.graph.container),c=mxUtils.getOffset(this.graph.conta…
2667 …tyle.width=Math.max(0,this.width)+"px",this.div.style.height=this.graph.container.clientHeight+"px…
2668 …s.secondDiv.style.top=this.y+"px",this.secondDiv.style.width=this.graph.container.clientWidth+"px"…
2681 …his.linkHint.style.opacity="1",this.linkHint.style.filter="",this.graph.container.appendChild(this…
2956 …OrMissingFile")+": "+m.message)}}));e.showDialog((new OpenDialog(this)).container,320,220,!0,!0,fu…
2957container,300,340,!0,!0)});this.addAction("editDiagram...",function(){var b=new EditDiagramDialog(…
2958 …;this.addAction("print...",function(){e.showDialog((new PrintDialog(e)).container,300,180,!0,!0)},…
2973 d)});e.showDialog(d.container,320,200,!0,!0);d.init()}},null,null,"Alt+Shift+T");this.addAction("op…
2981 …enterValue")+" ("+mxResources.get("rotation")+" 0-360)");e.showDialog(b.container,375,80,!0,!0);b.…
2983 ….funct();var b=g.pageFormat,d=g.pageScale;g.zoomTo(Math.floor(20*Math.min((g.container.clientWidth-
2984container.clientHeight-10)/b.height/d))/20);mxUtils.hasScrollbars(g.container)&&(b=g.getPagePaddin…
2985container.clientHeight-10)/b.height/d))/20);mxUtils.hasScrollbars(g.container)&&(b=g.getPagePaddin…
2986container)){var b=g.getPagePadding();g.container.scrollLeft=Math.min(b.x*g.view.scale,(g.container
2987 …e(b))}),mxResources.get("pageScale")+" (%)");this.editorUi.showDialog(b.container,300,80,!0,!0);b.…
2993 …t")+" Graph Editor...",function(){d||(e.showDialog((new AboutDialog(e)).container,320,280,!0,!0,fu…
3003 …Style(mxUtils.trim(d),b)},null,null,400,220);this.editorUi.showDialog(d.container,420,300,!0,!0);d…
3035 …Manager,g=k.history.slice(),p=k.indexOfNextAdd,t=this.ui.editor.graph;t.container.style.visibility…
3036 …this.ui.currentPage)&&this.ui.selectPage(this.ui.pages[0],!0)}finally{t.container.style.visibility…
3184 d){null!=this.graph.container&&this.graph.mathEnabled&&!this.graph.blockMathRender&&Editor.MathJaxR…
3238 …tate();"image"!=b.style.shape&&!b.containsLabel&&0<b.cells.length&&this.container.appendChild(this…
3239 …bject.getOwnPropertyNames&&0<Object.getOwnPropertyNames(d).length&&this.container.appendChild(this…
3276 …ent.addListener(this.container,"mouseenter",b);mxEvent.addListener(this.container,"mousemove",b);m…
3297container.firstChild.nodeName?null==this.webKitForceRepaintNode||this.graph.mathEnabled&&("svg"==t…
3340 …s?b.pages.length:1:F.apply(this,arguments)};document.body.appendChild(l.container);b.updatePageRoo…
3341 c(l,u,t!=n);l!=e&&l.container.parentNode.removeChild(l.container)}}else u=c(e);null==u?b.handleErro…
3351 …ndChild(x);b.editor.cancelFirst||l.appendChild(n);g.appendChild(l);this.container=g};var N=ChangeP…
3395 …:"pagenumber"==b?1:l.apply(this,arguments)};document.body.appendChild(d.container);d.model.setRoot…
3396 ….location.href,b,c,e,g,m,v,x);d!=this.editor.graph&&d.container.parentNode.removeChild(d.container
3430 …]}};EditorUi.prototype.repositionLibrary=function(b){var d=this.sidebar.container;if(null==b){var …
3452 …function(b,c,e,g,k){b=new ImageDialog(this,b,c,e,g,k);this.showDialog(b.container,Graph.fileSuppor…
3453container,360,200,!0,!0);d.init()};EditorUi.prototype.showLibraryDialog=function(b,c,e,g,k){b=new …
3461 …){this.loadFile(window.location.hash.substr(1),!0)}));this.showDialog(c.container,300,100,!0,!0)})…
3463 …=new ErrorDialog(this,null,b,mxResources.get("ok"),c);this.showDialog(b.container,e||340,100,!0,!1…
3464 …nction(){d();null!=e&&e()},g,k,null,null,null,null,f);this.showDialog(b.container,340,46+f,!0,n);b…
3471 …a.style.width="600px";d.textarea.style.height="380px";this.showDialog(d.container,620,460,!0,!0,nu…
3476 …tml"==e.substring(0,9)){var f=new EmbedDialog(this,b);this.showDialog(f.container,450,240,!0,!0);f…
3477 …ull,1<k,d,b,e,g);n=this.isServices(k)?k>d?390:270:160;this.showDialog(c.container,420,n,!0,!0);c.i…
3482 …Toolbar.offsetHeight+4+"px";c=mxUtils.getCurrentStyle(this.editor.graph.container);this.tagsDialog…
3484 …ialog),this.layersDialog=null)}));mxEvent.addListener(this.editor.graph.container,"click",mxUtils.…
3485 …d=mxUtils.bind(this,function(){mxEvent.removeListener(this.editor.graph.container,"click",d);null!…
3487 this.chromelessToolbar.offsetHeight+4+"px";e=mxUtils.getCurrentStyle(this.editor.graph.container);t…
3489 …l,null,null,Editor.defaultBorder);mxEvent.addListener(this.editor.graph.container,"click",d);docum…
3492 …ull,1<d,f,g,n,k);d=this.isServices(d)?4<d?390:270:160;this.showDialog(b.container,420,d,!0,!0);b.i…
3498 …rl"),null,null,null,null,function(){g.value="blank"});this.showDialog(b.container,300,80,!0,!1);b.…
3512 ….checked,K.checked,C.checked,L.getLink())}),null,b,c);this.showDialog(b.container,340,430,!0,!0);f…
3515 …sPublic":"diagramIsNotPublic"),mxResources.get("ok"));this.showDialog(b.container,300,80,!0,!1);b.…
3519 null!=t?t.value:null,O.checked)}),null,mxResources.get("create"),p);this.showDialog(c.container,340…
3522 …=p?p.checked:!1,null!=t?t.checked:!1,b,d)}),null,b,c);this.showDialog(b.container,300,(k?25:0)+(g?…
3530 …ll!=ea?ea.checked:null,C.value,T.checked)}),null,e,g);this.showDialog(e.container,340,l,!0,!0,null…
3533 B.getLink(),E.checked)}),null,mxResources.get("embed"),k);this.showDialog(c.container,280,300,!0,!0…
3542 …d.getDefaultStylesheet():d.getStylesheet()),document.body.appendChild(d.container),this.decodeNode…
3544container);d.model.setRoot(q.root)}this.editor.exportToCanvas(mxUtils.bind(this,function(e){try{nu…
4019 " "+(b.height+1));this.container.style.backgroundColor=e.style.backgroundColor;this.fireEvent(new m…
4024 …tion(b){return!mxEvent.isPopupTrigger(b.getEvent())&&"auto"==this.graph.container.style.overflow},…
4029container);b=(new mxCodec(b.ownerDocument)).decode(b).root;c.model.setRoot(b);b=c.getSvg();var e=c…
4033 …ve||(this.widthIsEmpty?(this.graph.container.style.width="",this.graph.container.style.height=""):…
4035 GraphViewer.prototype.addSizeHandler=function(){var b=this.graph.container,c=this.graph.getGraphBou…
4039 …esize",k),this.graph.addListener("size",k)):new ResizeSensor(this.graph.container,k));if(this.grap…
4040 …Mode?mxEvent.addListener(window,"resize",k):new ResizeSensor(this.graph.container,k))}else 9>=docu…
4047 …y(g,30);g.appendChild(b);e.appendChild(g);q++;return g}var c=this.graph.container;"bottom"==this.g…
4049 …display="";mxUtils.setOpacity(e,b||30)});mxEvent.addListener(this.graph.container,mxClient.IS_POIN…
4051container.scrollLeft;this.scrollTop=d.container.scrollTop},mouseMove:function(b,c){},mouseUp:funct…
4066 ….bind(this,function(e,k){if(null==k)for(var g=mxEvent.getSource(e);g!=b.container&&null!=g&&null==…
4074 …esizeSensorEnabled=!0;p.apply(this,arguments)};var t=k.editor.graph,d=t.container;d.style.overflow…
4078 …;this.showTitleAsTooltip&&null!=this.graph&&null!=this.graph.container&&this.graph.container.setAt…