Lines Matching refs:GraphViewer

4012GraphViewer=function(b,c,e){this.init(b,c,e)};mxUtils.extend(GraphViewer,mxEventSource);GraphViewe…
4013 GraphViewer.prototype.autoOrigin=!0;GraphViewer.prototype.center=!1;GraphViewer.prototype.forceCent…
4014 GraphViewer.prototype.init=function(b,c,e){this.graphConfig=null!=e?e:{};this.autoFit=null!=this.gr…
4027 …Width&&(p.disconnect(),k())}));p.observe(g,{attributes:!0})}else k()}};GraphViewer.prototype.getOb…
4028 GraphViewer.prototype.getImageUrl=function(b){null!=b&&"http://"!=b.substring(0,7)&&"https://"!=b.s…
4029 GraphViewer.prototype.getImageForGraphModel=function(b){var c=Graph.createOffscreenGraph(this.graph…
4030 GraphViewer.prototype.getIndexById=function(b){if(null!=this.diagrams)for(var c=0;c<this.diagrams.l…
4031 GraphViewer.prototype.setFileNode=function(b){null==this.xmlNode&&(this.xmlDocument=b.ownerDocument…
4032 GraphViewer.prototype.setLayersVisible=function(b){var c=!0;if(!this.autoOrigin){var e=[],k=this.gr…
4033 GraphViewer.prototype.setGraphXml=function(b){if(null!=this.graph){this.graph.view.translate=new mx…
4035 GraphViewer.prototype.addSizeHandler=function(){var b=this.graph.container,c=this.graph.getGraphBou…
4039 !1}),0))});GraphViewer.useResizeSensor&&(9>=document.documentMode?(mxEvent.addListener(window,"resi…
4040 …gResize||(p=window.setTimeout(mxUtils.bind(this,this.fitGraph),100))});GraphViewer.useResizeSensor…
4043 GraphViewer.prototype.crop=function(){var b=this.graph,c=b.getGraphBounds(),e=b.border,k=b.view.sca…
4044 GraphViewer.prototype.showLayers=function(b,c){var e=this.graphConfig.layers,e=null!=e&&0<e.length?…
4046 GraphViewer.prototype.addToolbar=function(){function b(b,c,d,f){var g=document.createElement("div")…
4065 GraphViewer.prototype.disableButton=function(b){var c=this.graphConfig["toolbar-buttons"][b];null!=…
4066 GraphViewer.prototype.addClickHandler=function(b,c){b.linkPolicy=this.graphConfig.target||b.linkPol…
4068 GraphViewer.prototype.showLightbox=function(b,c,e){if("open"==this.graphConfig.lightbox||window.sel…
4071 GraphViewer.prototype.showLocalLightbox=function(){mxUtils.getDocumentScrollOrigin(document);var b=…
4074 …ld(b);document.body.removeChild(c);document.body.style.overflow="auto";GraphViewer.resizeSensorEna…
4075 …tPrefixedStyle(d.style,"border-radius","4px");d.style.position="fixed";GraphViewer.resizeSensorEna…
4078 GraphViewer.prototype.updateTitle=function(b){b=b||"";this.showTitleAsTooltip&&null!=this.graph&&nu…
4079 GraphViewer.processElements=function(b){mxUtils.forEach(GraphViewer.getElementsByClassName(b||"mxgr…
4080 GraphViewer.getElementsByClassName=function(b){if(document.getElementsByClassName){var c=document.g…
4081 GraphViewer.createViewerForElement=function(b,c){var e=b.getAttribute("data-mxgraph");if(null!=e){v…
4082 GraphViewer.initCss=function(){try{var b=document.createElement("style");b.type="text/css";b.innerH…
4083 GraphViewer.cachedUrls={};GraphViewer.getUrl=function(b,c,e){if(null!=GraphViewer.cachedUrls[b])c(G…
4087 …ddEventListener(c,d)};C(e,"scroll",K);C(k,"scroll",K)}var d=function(){GraphViewer.resizeSensorEna…
4089 …ction(){Editor.initMath();GraphViewer.initCss();if(null!=window.onDrawioViewerLoad)window.onDrawio…