Lines Matching refs:clone

104 …&(this[c]=a[c]);a.hasOwnProperty("toString")&&(this.toString=a.toString)},clone:function(){return …
106 32-8*(c%4);a.length=u.ceil(c/4)},clone:function(){var a=t.clone.call(this);a.words=this.words.slice…
108 …k(e,q);q=e.splice(0,a);c.sigBytes-=j}return new r.init(q,j)},clone:function(){var a=t.clone.call(t…
109 a._data=this._data.clone();return a},_minBufferSize:0});l.Hasher=q.extend({cfg:t.extend(),init:func…
118 …6711935|(c<<24|c>>>8)&4278255360;return b},clone:function(){var b=v.clone.call(this);b._hash=this.…
262 …turn null!=a&&a.x==this.x&&a.y==this.y};mxPoint.prototype.clone=function(){return mxUtils.clone(th… method in mxPoint
290 …){a=null!=a?a[b]:null;null==a?a=c:a==mxConstants.NONE&&(a=null);return a},clone:function(a,b,c){c=…
291 …==b||0>mxUtils.indexOf(b,e))&&(d[e]=c||"object"!=typeof a[e]?a[e]:mxUtils.clone(a[e]))}return d},e…
322 d=null!=d?d:0;var e=c.width-2*d;c=c.height-2*d;d=b.getGraphBounds().clone();b=b.getView().getScale(…
498 mxAbstractCanvas2D.prototype.save=function(){this.states.push(this.state);this.state=mxUtils.clone(…
600 …yPane())));k=k||f},f=this.graph.getView().scale,f=this.getGuideTolerance(c)*f,g=a.clone();g.x+=b.x;
612 …ate&&null!=this.state.text&&this.state.text.isPaintBoundsInverted()&&(c=c.clone(),b=c.width,c.widt…
643 mxShape.prototype.createBoundingBox=function(){var a=this.bounds.clone();(null!=this.stencil&&(this…
665 …nction(b,c,d,k,l,m,n,p,q,r){c=l*q*1.118;p=m*q*1.118;l*=n+q;m*=n+q;var e=k.clone();e.x-=c;e.y-=p;n=…
666clone();e.x-=c;e.y-=d;k.x+=2*-c;k.y+=2*-d;return function(){b.begin();b.moveTo(e.x-l-m/a,e.y-m+l/a…
667 …3));mxMarker.addMarker("oval",function(a,b,c,g,k,l,m,n,p,q){var d=m/2,e=g.clone();g.x-=k*d;g.y-=l*…
668 …nction(a,b,c,g,k,l,m,n,p,q){b=k*p*1.118;n=l*p*1.118;k*=m+p;l*=m+p;var d=g.clone();d.x-=b;d.y-=n;c=…
708 mxText.prototype.updateBoundingBox=function(){var a=this.node;this.boundingBox=this.bounds.clone();…
781 …model,d=c.getGeometry(a);null==d?(d=new mxGeometry,d.setRelative(!0)):d=d.clone();if(null!=this.pa…
783 this.parent&&(g=this.getParentOffset(g),b-=g.x,c-=g.y));if(e.x!=b||e.y!=c)e=e.clone(),e.x=b,e.y=c,d…
785 b=b.clone(),null!=a&&a!=this.parent&&(a=this.getParentOffset(a),b.x+=a.x,b.y+=a.y));return new mxRe…
794 …ells(a),q=0;q<p.length;q++){var r=p[q],t=d.getGeometry(r);if(null!=t){t=t.clone();null!=this.wrap&…
798 …try=function(a,b,c){var d=this.isHorizontal(),e=this.graph.getModel(),f=b.clone();d?(c=c.x+c.width…
802 …Update();try{for(g=0;g<f;g++){var k=e[g],p=c.getGeometry(k);null!=p&&(p=p.clone(),p.x=l,p.y=m,b?(t…
809 …rentX&&null!=this.parentY&&(f=this.graph.getCellGeometry(a),null!=f&&(f=f.clone(),f.x=this.parentX…
830 …n this.visited){var f=this.getVertexBounds(this.visited[e]),c=null!=c?c:f.clone();c.add(f)}this.ca…
857 …f:d;Math.abs(d)<Math.abs(e)?e=0:d=0;f=c.getGeometry(a.cell);null!=f&&(f=f.clone(),null!=f.offset?(…
888 …this.maxChainDfs(b,g,f,mxUtils.clone(d,null,!0),0):b.swimlaneIndex==g.swimlaneIndex&&this.maxChain…
905 …sAsTarget),c.connectsAsSource.push(e));b[c.id]=c;delete d[c.id]},c,!0,null);e=mxUtils.clone(b,null,
941 mxSwimlaneOrdering.prototype.execute=function(a){a=this.layout.getModel();var b=mxUtils.clone(a.ver…
947 …rentX&&null!=this.parentY&&(d=this.graph.getCellGeometry(a),null!=d&&(d=d.clone(),d.x=this.parentX…
963 …rentX&&null!=this.parentY&&(d=this.graph.getCellGeometry(a),null!=d&&(d=d.clone(),d.x=this.parentX…
965 …d=this.graph.isSwimlane(f)?this.graph.getStartSize(f):new mxRectangle,k=c.clone(),l=d.width+(0==e?…
986 ….getOrigin(this.getParent(a)),f=this.getOrigin(c),g=f.x-e.x,e=f.y-e.y,d=d.clone();d.translate(-g,-…
1005 …d(),l=null==k||this.isEdge(g)&&c?null:this.getCell(k);if(null==l){var m=g.clone();m.setId(k);m.set…
1008 mxGraphModel.prototype.cellCloned=function(a){return a.clone()};mxGraphModel.prototype.restoreClone…
1025clone=function(){var a=mxUtils.clone(this,this.mxTransient);a.setValue(this.cloneValue());return a… method in mxCell
1058 …d>");k.writeln('<body class="mxPage">')}var m=this.graph.getGraphBounds().clone(),n=this.graph.get…
1083 …=a&&0<a.length)for(var d=a.split(";"),c=null!=c&&";"!=a.charAt(0)?mxUtils.clone(c):{},e=0;e<d.leng…
1092clone=function(){var a=new mxCellState(this.view,this.cell,this.style);if(null!=this.absolutePoint… method in mxCellState
1198 …nt(a.view.getRoutingCenterX(b),a.view.getRoutingCenterY(b)):null!=m&&(m=m.clone());var n=f.length-…
1201 !l,d=p[q],l?m.y=d.y:m.x=d.x,c.push(m.clone())}else d=m,l=!0;m=f[n];null==m&&null!=g&&(m=new mxPoint…
1206 …ull;else c=null;return c},scaleCellState:function(a,b){var c;null!=a?(c=a.clone(),c.setRect(Math.r…
1234 …=a.shape.boundingBox.clone()),null!=a.text&&null!=a.text.boundingBox&&(null!=c?c.add(a.text.boundi…
1257 …h,k.height)}else if(null!=b)for(f=0;f<b.length;f++)null!=b[f]&&(c=mxUtils.clone(b[f]),e.push(this.…
1335 ….getGraphBounds();if(0<g.width&&0<g.height){b&&null!=g.x&&null!=g.y&&(g=g.clone(),g.width+=g.x,g.h…
1350 ….getCellGeometry(b[d]),this.model.isEdge(b[d])||null==f||f.relative||(f=f.clone(),a==mxConstants.A…
1359 …State(d[g]),l=this.getCellGeometry(d[g]);null!=k&&null!=l&&l.relative&&(l=l.clone(),l.x=k.origin.x,
1363 l.clone();c&&(l.x=Math.round(l.x+n.x-b-p.x-g),l.y=Math.round(l.y+n.y-b-p.y-d));l.width=Math.round(n…
1370 …:n,t=this.model.getGeometry(a[l]);if(null!=t){var u=r.x-m.x,x=r.y-m.y,t=t.clone();t.translate(u,x)…
1375 …!1,m=k;null!=m;){if(a[e]==m){l=!0;break}m=this.model.getParent(m)}l&&(g=g.clone(),l=this.view.getS…
1377 …points.slice(0,q);m=this.getCellGeometry(a);null!=m&&null!=m.points&&(m=m.clone(),m.points=m.point…
1382 …s=function(a,b){if(null!=a){var c=this.model.getGeometry(a);null!=c&&(c=c.clone(),this.updateAlter…
1386 …del.getGeometry(a);if(null!=c&&null!=d){var e=this.isCellCollapsed(a),d=d.clone();if(this.isSwimla…
1394 …l!=e&&(e.x!=b.x||e.y!=b.y||e.width!=b.width||e.height!=b.height)){var f=e.clone();!c&&f.relative?(…
1396 …is.model.getGeometry(a);if(null!=e){var f=this.getCurrentCellStyle(a),e=e.clone(),g=e.x,k=e.y,l=e.…
1397 …,null!=a&&!a.relative&&(c.width<a.x+a.width||c.height<a.y+a.height)&&(c=c.clone(),c.width=Math.max…
1403 …this.model.getGeometry(a);if(null!=d){b=parseFloat(b);c=parseFloat(c);d=d.clone();d.translate(b,c)…
1408 …g])&&d.push(f[g]);d=this.getBoundingBoxFromGeometry(d,!1);if(null!=d){c=c.clone();f=0;c.width>e.wi…
1411 …his.model.getGeometry(a);null!=b&&null!=b.points&&0<b.points.length&&(b=b.clone(),b.points=[],this…
1426 …is.view.getState(this.model.getParent(a[e]));if(null!=g&&null!=k){var f=f.clone(),l=-k.origin.x,m=…
1582 …)){var g=e.getGeometry(a);null!=g&&(d&&g.height!=c||!d&&g.width!=b)&&(g=g.clone(),d?g.height=c:g.w…
1624 …is.allCells.put(e.cell,f):this.allCells.remove(e.cell),e=f);null!=e&&(f=e.clone(),c.push([e,f]),nu…
1693 …traintHandler.currentFocus,this.first=this.constraintHandler.currentPoint.clone()):this.first=new …
1707 d=this.constraintHandler.currentPoint.clone()):null!=this.previous&&mxEvent.isShiftDown(b.getEvent(…
1709 …=f));f=d.x-g.x;g=d.y-g.y;k=Math.sqrt(f*f+g*g);if(0==k)return;this.originalPoint=d.clone();d.x-=4*f/
1714 …null!=this.waypoints)for(var c=[],d=0;d<this.waypoints.length;d++){var e=this.waypoints[d].clone();
1745 …[m];this.currentPoint=this.focusPoints[m];a=n;n=this.focusIcons[m].bounds.clone();n.grow(mxConstan…
1814 …n(a){var b=this.graph.view.scale,c=this.graph.view.translate;a=this.state.clone();this.state.x=thi…
1821 …f(null!=e){var f=this.graph.getCellGeometry(c);null==f||d.isEdge(c)||(e=e.clone(),e.rotate(b,new m…
1826 …Math.round((this.labelShape.bounds.getCenterY()-this.startY)/d)),g,c),b=b.clone(),null==b.offset?b…
1827 …++){var g=d.getChildAt(a,f),k=this.graph.getCellGeometry(g);null!=k&&(k=k.clone(),k.translate(b,c)…
1873 …mxEdgeHandler.prototype.clonePreviewState=function(a,b){return this.state.clone()};mxEdgeHandler.p…
1892 …andler.currentPoint)this.currentPoint=this.constraintHandler.currentPoint.clone();else if(this.out…
1897 …(c),e=this.graph.cloneCell(c);f.add(g,e,f.getChildCount(g));null!=k&&(k=k.clone(),f.setGeometry(e,…
1903 …,e=d.getGeometry(a.cell);if(null!=e){var f=this.graph.getView().scale,e=e.clone();if(e.relative){v…
1905 …ChildCount(f));e.setTerminal(a,g,!c)}var k=e.getGeometry(a);null!=k&&(k=k.clone(),k.setTerminalPoi…
1906 …rminal(a,f,!0);d.setTerminal(a,g,!1)}var k=d.getGeometry(a);null!=k&&(k=k.clone(),k.points=b,d.set…
1908 …this.graph.getCellGeometry(a.cell);b=new mxPoint(b,c);if(null!=d){var d=d.clone(),e=this.graph.vie…
1909 …this.graph.getCellGeometry(this.state.cell);null!=c&&null!=c.points&&(c=c.clone(),c.points.splice(…
1936 …s.convertPoint(b[0].clone(),!1);a=this.convertPoint(a.clone(),!1);for(var d=[],e=1;e<b.length;e++)…
1938clone(),!1);for(var e=a.absolutePoints,f=e[0],g=e[1],k=[],l=2;l<e.length;l++){var m=e[l];0==Math.r…
1941 ….y)||k.push(this.convertPoint(n.clone(),!1));m=n;n=q}f.beginUpdate();try{null!=k&&(g=f.getGeometry…
2008 …ttribute("as"),null!=b)){var f=c.getAttribute("extend"),g=null!=f?mxUtils.clone(d.styles[f]):null;…
2100 …inlineFullscreen||null==a.embedViewport?mxUtils.getDocumentSize():mxUtils.clone(a.embedViewport);n…
2171 …DefaultStyle=function(a){try{var b=e.view.getState(a);if(null!=b){var c=a.clone();c.style="";var d…
2172 …ltStyle=function(){e.currentEdgeStyle=mxUtils.clone(e.defaultEdgeStyle);e.currentVertexStyle=mxUti…
2331 …c])&&e.isCellResizable(d[c])){var f=e.getCellGeometry(d[c]);null!=f&&(f=f.clone(),37==a?f.width=Ma…
2376 ….join(" ")}return null};Sidebar.prototype.cloneCell=function(a,b){var d=a.clone();null!=b&&(d.valu…
2455 a.vertex=!0;a.insert(d.clone());a.insert(e.clone());a.insert(b.cloneCell(d,"+ method(type): type"))…
2456 !0;a.insert(d.clone());a.insert(d.clone());a.insert(d.clone());return b.createVertexTemplateFromCel…
2457 … class divider hline line separator",function(){return b.createVertexTemplateFromCells([e.clone()],
2458 …straint=eastwest;");a.vertex=!0;return b.createVertexTemplateFromCells([a.clone()],a.geometry.widt…
2464 …Helvetica;html=1;");a.vertex=!0;return b.createVertexTemplateFromCells([a.clone()],a.geometry.widt…
2465 …Helvetica;html=1;");a.vertex=!0;return b.createVertexTemplateFromCells([a.clone()],a.geometry.widt…
2466 …Helvetica;html=1;");a.vertex=!0;return b.createVertexTemplateFromCells([a.clone()],a.geometry.widt…
2467 …Helvetica;html=1;");a.vertex=!0;return b.createVertexTemplateFromCells([a.clone()],a.geometry.widt…
2513 …ngth,h=c.getCellGeometry(a);e=c.getCellGeometry(b);null!=h&&null!=e&&(e=e.clone(),c.model.isEdge(a…
2514 h=h.clone(),h.x=(a.x-f.translate.x)/f.scale,h.y=(a.y-f.translate.y)/f.scale),f=c.defaultEdgeLength,…
2567 …efaultThemes;this.currentEdgeStyle=mxUtils.clone(this.defaultEdgeStyle);this.currentVertexStyle=mx…
2598 …ar b=new Graph(document.createElement("div"));b.stylesheet.styles=mxUtils.clone(a.styles);b.resetV…
2621 …a};Graph.prototype.copyStyle=function(a){var b=null;if(null!=a){b=mxUtils.clone(this.getCurrentCel…
2681 …s.view.getState(c[b]),k=this.getCellGeometry(c[b]);null!=f&&null!=k&&(k=k.clone(),k.translate(Math…
2682 … f=this.getCellGeometry(a),k=this.view.getState(a);null!=k&&null!=f&&(f=f.clone(),b.horizontal?f.w…
2734clone();c.height+=b;e.setGeometry(a,c);var f=e.getParent(a),k=e.getChildCells(f,!0);if(!d){var h=m…
2736clone(),n.width+=b,null!=n.alternateBounds&&(n.alternateBounds.width+=b),e.setGeometry(m,n));a<k.l…
2737 …e.setGeometry(m,n)))}if(h||d){var p=this.getCellGeometry(f);null!=p&&(p=p.clone(),p.width+=b,e.set…
2740 … m=0;m<k.length;m++){var n=this.graph.getCellGeometry(k[m]);null!=n&&(n=n.clone(),n.y=a.y,n.height…
2744clone(),p.height=g-n+p.height,k.setGeometry(m[m.length-1],p))}for(var q=f?null:this.getRowLayout(m…
2786 d=this.getCellGeometry(a[0]),null!=e&&null!=d)){c=e.clone();e=d.clone();e.x=c.x;e.y=c.y;c.x=d.x;c.y…
2787 …Geometry(J);null!=n&&(n=n.clone(),n.height-=l.height,this.model.setGeometry(J,n))}n=this.getCellGe…
2788 …getCellGeometry(Y[q]),t=this.getCellGeometry(p[q]);null!=u&&null!=t&&(t=t.clone(),t.width=u.width,…
2796 …inal(f,k,!0);c.setTerminal(f,g,!1);var h=c.getGeometry(f);if(null!=h){h=h.clone();null!=h.points&&…
2798 …ble(f)||this.isTableRow(f)||this.isTableCell(f)||this.isSwimlane(f))){h=h.clone();h.x+=h.width/2-h…
2823 …is.getCellGeometry(h[c]),p=this.getCellGeometry(l);null!=J&&null!=p&&(p=p.clone(),p.height+=J.heig…
2827 …[f].cell)),m=this.getCellGeometry(c[f].cell),d=d+h;null!=m&&null!=l&&(m=m.clone(),a?m.x=Math.round…
2841 …is.getCellGeometry(a[d]),g=this.getCellGeometry(e);null!=f&&null!=g&&(g=g.clone(),g.height-=f.heig…
2843 …ight)}c.add(g[f],l,e+(b?0:1))}var J=this.getCellGeometry(d);null!=J&&(J=J.clone(),J.width+=k,c.set…
2845 ….height)}c.add(d,e,k+(b?0:1));var m=this.getCellGeometry(d);null!=m&&(m=m.clone(),m.height+=h.heig…
2846 …llGeometry(k);null!=h&&(a=Math.max(a,h.width))}var l=this.getCellGeometry(c);null!=l&&(l=l.clone(),
2847 …etry(d);null!=f&&(a=f.height);var g=this.getCellGeometry(c);null!=g&&(g=g.clone(),g.height-=a,b.se…
2879 "1"),g=this.graph.getActualStartSize(d),e=e.clone();c?e.height=b.height+g.y+g.height+2*f:e.width=b.…
2914 null!=h&&null!=l&&(l=l.clone(),l.translate(f,g),this.graph.model.setGeometry(k[c],l))}}finally{this…
3050 …urces.get("center"),mxUtils.bind(this,function(a){c.beginUpdate();try{H=H.clone(),H.x=0,H.y=0,H.of…
3051 …getModel().isVertex(g[l])){var m=e.getCellGeometry(g[l]);if(null!=m&&(m=m.clone(),!b(m,k,g[l]))){v…
3053 …if(e.getModel().isEdge(g[l])){var m=e.getCellGeometry(g[l]);null!=m&&(m=m.clone(),b(m,k),e.getMode…
3212 ….setPanning(!1);h.setEnabled(!1);h.getCellStyle=function(g){var k=mxUtils.clone(Graph.prototype.ge…
3215 ….style.opacity=1;d.currentVertexStyle=mxUtils.clone(d.defaultVertexStyle);d.currentEdgeStyle=mxUti…
3217 …ridColor:d.view.defaultGridColor;d.getCellStyle=function(b){var f=mxUtils.clone(c.apply(this,argum…
3245 …wa(){mxConnector.call(this)}function Ra(a,b,c,d,e,f,g,k,h,l){g+=h;var r=d.clone();d.x-=e*(2*g+h);d…
3400 function(a,b,c){for(var d=[],e=0;e<b.length;e++)d.push(mxUtils.clone(b[e]));var e=a.state.dashed,f=…
3403clone(),r=Ra.apply(this,arguments),n=e*(g+2*k),p=f*(g+2*k);return function(){r.apply(this,argument…
3404 …nction(a,b,c,d,e,f,g,h,k,l){b=e*k*1.118;c=f*k*1.118;e*=g+k;f*=g+k;var m=d.clone();m.x-=b;m.y-=c;d.…
3405 e,f,g,h,k,l,m){f*=h+l;g*=h+l;var r=e.clone();return function(){b.begin();b.moveTo(r.x,r.y);k?b.line…
3507 …(c.getModel().isVertex(a[b])){var e=c.getCellGeometry(a[b]);null!=e&&(e=e.clone(),e.width=d.copied…
3551 …l,[f]),c.setCellStyles(mxConstants.STYLE_ENTRY_Y,null,[f])):null!=g&&(g=g.clone(),g.points=null,g.…
3554 …ount()&&null!=b&&null!=d){var l=e[0],m=c.getModel().getGeometry(l);null!=m&&(m=m.clone(),m.width=b,
3602 …if(a.getModel().isEdge(h)){if(k){var q=a.getCellGeometry(h);null!=q&&(q=q.clone(),q.points=null,a.…
3857 …etry(20,20,100,40),"whiteSpace=wrap;html=1;");h.vertex=!0;c.insert(h);g=g.clone();d.insertEdge(g,!…
3858 d.vertex=!0;c.insert(d);g=g.clone();f.insertEdge(g,!0);d.insertEdge(g,!1);c.insert(g);g=g.clone();h…
6612 …elation table list",function(){return b.createVertexTemplateFromCells([e.clone()],e.geometry.widt…
9235 d.vertex=!0;c.insert(d);c.insert(b.clone());d=new mxCell("operations",new mxGeometry(0,0,140,20),"t…
9240 …nts=[[0,0.5],[1,0.5]];resizeWidth=1;");d.vertex=!0;c.insert(d);c.insert(b.clone());d=new mxCell("i…
9250 …y.relative=!0;e.geometry.offset=new mxPoint(-25,9);d.insert(e);c.insert(b.clone());d=new mxCell("p…
9251 …top;strokeColor=none;fillColor=none;");d.vertex=!0;c.insert(d);c.insert(b.clone());d=new mxCell("r…
9263clone());d=new mxCell("behavior1",new mxGeometry(0,0,140,25),"fillColor=none;strokeColor=none;alig…
9310 …y.relative=!0;e.geometry.offset=new mxPoint(-25,7);d.insert(e);c.insert(b.clone());d=new mxCell("e…
10321 …y{for(var c=0;c<e.length;c++){var f=d.getCellGeometry(e[c]);null!=f&&(f=f.clone(),d.isCellMovable(…
10623clone(this.globalVars):{};var b=JSON.parse(decodeURIComponent(urlParams.vars));if(null!=b)for(var …
10748 …");if(null!=G){var G=JSON.parse(G),E=e.getCellGeometry(n);if(null!=E){E=E.clone();for(key in G){va…
11926 …s.clone(this.editorUi.editor.graph.extFonts);if(null!=k&&0<k.length)for(e=0;e<k.length;e++)if(k[e]…
11958 …llTop-this.view.translate.y*this.view.scale,translate:this.view.translate.clone(),lastPasteXml:thi…
12125 …ction(){null!=this.sidebar&&(this.sidebar.graph.stylesheet.styles=mxUtils.clone(n.stylesheet.style…
12142 …eight,mxResources.get("line"),!0,null,!0,!1),mxResources.get("line"));b=b.clone();b.style="edgeSty…