/plugin/diagramsnet/lib/js/grapheditor/ |
H A D | EditorUi.js | 1512 clone.geometry.x = graph.snap(Math.round(x / graph.view.scale) - 1514 clone.geometry.y = graph.snap(Math.round(y / graph.view.scale) - 1993 return new mxPoint(Math.max(0, Math.round((graph.container.offsetWidth - 34) / graph.view.scale)), 1994 Math.max(0, Math.round((graph.container.offsetHeight - 34) / graph.view.scale))); 2683 graph.container.scrollLeft += Math.round((dx - tx) * graph.view.scale); 2684 graph.container.scrollTop += Math.round((dy - ty) * graph.view.scale); 2848 …this.cumulativeZoomFactor = Math.round(this.view.scale * this.cumulativeZoomFactor * 20) / 20 / th… 2862 …this.cumulativeZoomFactor = Math.round(this.view.scale * this.cumulativeZoomFactor * 20) / 20 / th…
|
H A D | Format.js | 728 value = mxUtils.mod(Math.round(value * 100), 36000) / 100; 2546 geo.height = Math.round((geo.height * value * 100) / geo.width) / 100; 2572 geo.width = Math.round((geo.width * value * 100) / geo.height) / 100; 4450 lineHeightInput.value = Math.round(lh * 100) + ' %';
|
H A D | Graph.js | 528 ((Math.round(pts[0].x - pts[1].x) == 0 && Math.round(pts[1].x - pts[2].x) == 0) || 529 (Math.round(pts[0].y - pts[1].y) == 0 && Math.round(pts[1].y - pts[2].y) == 0)))); 6194 result.push(Math.round(x)); 6371 row.y = Math.round(y); 6382 row.height = Math.round(y) - row.y; 6738 var f = (Math.round(n.x) < 0 || (Math.round(n.x) == 0 6739 && Math.round(n.y) <= 0)) ? 1 : -1; 9044 label.geometry.y = Math.round(pt2.y); 9051 …label.geometry.offset = new mxPoint(Math.round((x - pt2.x) / scale), Math.round((y - pt2.y) / scal… 12381 this.hint.innerHTML = '[' + Math.round(pt.x * 100) + '%, '+ Math.round(pt.y * 100) + '%]'; [all …]
|
H A D | Shapes.js | 471 var dy = Math.min(h / 2, Math.round(h / 8) + this.strokewidth - 1); 522 Math.round(rect.height / 8) + this.strokewidth - 1), 0, 0); 1413 var segs = Math.round(dist / 10); 1623 r.x += Math.round(inset); 1624 r.width -= Math.round(2 * inset); 1654 inset = Math.round(inset); 5440 this.state.style[mxConstants.STYLE_ARCSIZE] = Math.round(f); 5665 state.style['width'] = Math.round(w * 2) / state.view.scale; 5736 state.style['width'] = Math.round(w * 2) / state.view.scale; 5822 Math.round(Math.max(0, Math.min(bounds.width, pt.x - bounds.x))); [all …]
|
H A D | Sidebar.js | 385 var s = Math.round(Math.min(w / bounds.width, h / bounds.height) * 100) / 100; 463 var x0 = -Math.round(bounds.x - this.tooltipBorder) + 465 var y0 = -Math.round(bounds.y - this.tooltipBorder); 2330 x = Math.round(x); 2331 y = Math.round(y); 2557 dx = geo.x - Math.round(geo2.x); 2558 dy = geo.y - Math.round(geo2.y); 2559 geo.x = Math.round(geo2.x); 2560 geo.y = Math.round(geo2.y); 3903 Math.round(w * scale), Math.round(h * scale), '', stencilName.replace(/_/g, ' '), null, null, [all …]
|
H A D | Toolbar.js | 89 viewMenu.innerHTML = Math.round(this.editorUi.editor.graph.view.scale * 100) + '%';
|
/plugin/diagramsnet/lib/js/jquery/ |
H A D | jquery-3.3.1.min.js | 2 …fsetWidth||"absolute",be.removeChild(l),c=null}}function n(e){return Math.round(parseFloat(e))}var…
|
/plugin/diagramsnet/lib/js/jscolor/ |
H A D | jscolor.js | 493 (0x100 | Math.round(255*this.rgb[0])).toString(16).substr(1) + 494 (0x100 | Math.round(255*this.rgb[1])).toString(16).substr(1) + 495 (0x100 | Math.round(255*this.rgb[2])).toString(16).substr(1) 733 var x = Math.round((THIS.hsv[0]/6) * (mxJSColor.images.pad[0]-1)); 734 var y = Math.round((1-THIS.hsv[yComponent]) * (mxJSColor.images.pad[1]-1)); 785 var y = Math.round((1-THIS.hsv[yComponent]) * (mxJSColor.images.sld[1]-1));
|
/plugin/diagramsnet/lib/js/mermaid/ |
H A D | mermaid.min.js | 6 …round()&&(e=Math.round(e)),function(n){return+t(n)+e}}function K(){return!this.__axis}function J(t… function 29 …round(-1*t):Math.round(t)}function Ae(t,e){q(t,0,0,(function(){var t=this.utcOffset(),n="+";return… method in r
|
/plugin/diagramsnet/lib/js/ |
H A D | orgchart.min.js | 8 …round(n,0)==n&&n>=System.Char.min&&n<=System.Char.max},getDefaultValue:function(){return 0},parse:… method in Bridge.Math
|
H A D | shapes-14-6-5.min.js | 1589 …round(100*Math.max(0,Math.min(1,(b.y-a.y)/a.height*2)))/100})];a=Graph.createHandle(a,["notch"],fu… 1738 "dy1",this.dy1))-1,c.x-a.x)))/100;this.state.style.dy2=Math.round(100*Math.max(parseFloat(mxUtils.g… 1761 …round(100*Math.max(0,Math.min(1,(b.y-a.y)/a.height*2)))/100})];a=Graph.createHandle(a,["notch"],fu… 1801 b,e.x-a.x)))/100;this.state.style.dy=Math.round(Math.max(0,Math.min(a.height,a.y+a.height-e.y)))})]… 1809 …round(Math.max(0,Math.min(a.height,a.y+a.height-e.y)))}),Graph.createHandle(a,["size"],function(a)… 1844 10,a.y+b*a.height)},function(a,b){this.state.style.dy=Math.round(100*Math.max(0,Math.min(1,(b.y-a.y… 1852 …t(a.x+a.width-10,a.y+b*a.height)},function(a,c){this.state.style.dy2=Math.round(100*Math.max(0,Mat… 1926 …ion(a,b){var c=.5*Math.atan2(Math.round(100*Math.max(-1,Math.min(1,(b.x-a.x-.5*a.width)/(.5*a.widt… 2412 …tils.getValue(this.state.style,"dy",this.dy))));this.state.style.dx2=Math.round(100*Math.max(0,Mat… 2455 …ew mxPoint(a.x+a.width-b,a.y)},function(a,b){this.state.style.notch2=Math.round(100*Math.max(0,Mat… [all …]
|
H A D | shapes.min.js | 1540 …round(100*Math.max(0,Math.min(1,(b.y-a.y)/a.height*2)))/100})];a=Graph.createHandle(a,["notch"],fu… 1689 "dy1",this.dy1))-1,c.x-a.x)))/100;this.state.style.dy2=Math.round(100*Math.max(parseFloat(mxUtils.g… 1712 …round(100*Math.max(0,Math.min(1,(b.y-a.y)/a.height*2)))/100})];a=Graph.createHandle(a,["notch"],fu… 1752 b,e.x-a.x)))/100;this.state.style.dy=Math.round(Math.max(0,Math.min(a.height,a.y+a.height-e.y)))})]… 1760 …round(Math.max(0,Math.min(a.height,a.y+a.height-e.y)))}),Graph.createHandle(a,["size"],function(a)… 1795 10,a.y+b*a.height)},function(a,b){this.state.style.dy=Math.round(100*Math.max(0,Math.min(1,(b.y-a.y… 1803 …t(a.x+a.width-10,a.y+b*a.height)},function(a,c){this.state.style.dy2=Math.round(100*Math.max(0,Mat… 1877 …ion(a,b){var c=.5*Math.atan2(Math.round(100*Math.max(-1,Math.min(1,(b.x-a.x-.5*a.width)/(.5*a.widt… 2427 …tils.getValue(this.state.style,"dy",this.dy))));this.state.style.dx2=Math.round(100*Math.max(0,Mat… 2470 …ew mxPoint(a.x+a.width-b,a.y)},function(a,b){this.state.style.notch2=Math.round(100*Math.max(0,Mat… [all …]
|
H A D | viewer-static.min.js | 547 …round(a-2)+"px; "+u):"width"==f?(t="width: "+Math.round(a-2)+"px; ",n+="width: 100%; ",p+=t,r=0,0<… 995 …round(e.x),this.targetPoint.y=Math.round(e.y));if(null!=this.points)for(var f=0;f<this.points.leng… 1085 …round(this.bounds.width/c)+"px",this.textarea.style.height=Math.round(this.bounds.height/c)+"px",8… 1103 …M&&(c.y+=a.height))}return new mxRectangle(Math.round(c.x),Math.round(c.y),Math.round(c.width),Mat… 1146 …etModel().isEdge(a.cell),new mxRectangle(Math.round(e-b/2*d),Math.round(f-c/2*d),Math.round(b*d),M… 1329 …);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.width+… 1370 …et?d.offset=new mxPoint(Math.round(b),Math.round(c)):(d.offset.x=Math.round(parseFloat(d.offset.x+… 1410 g)*this.view.scale+Math.round(l*a+e))}}; 1767 …roundAngle=function(a){return Math.round(10*a)/10};mxVertexHandler.prototype.roundLength=function(… 1971 …round(g[0].x)+","+Math.round(g[0].y);for(p=1;p<g.length;p++)l+=" "+Math.round(g[p].x)+","+Math.rou… [all …]
|
H A D | viewer.min.js | 547 …round(a-2)+"px; "+u):"width"==f?(t="width: "+Math.round(a-2)+"px; ",n+="width: 100%; ",p+=t,r=0,0<… 995 …round(e.x),this.targetPoint.y=Math.round(e.y));if(null!=this.points)for(var f=0;f<this.points.leng… 1085 …round(this.bounds.width/c)+"px",this.textarea.style.height=Math.round(this.bounds.height/c)+"px",8… 1103 …M&&(c.y+=a.height))}return new mxRectangle(Math.round(c.x),Math.round(c.y),Math.round(c.width),Mat… 1146 …etModel().isEdge(a.cell),new mxRectangle(Math.round(e-b/2*d),Math.round(f-c/2*d),Math.round(b*d),M… 1329 …);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.width+… 1370 …et?d.offset=new mxPoint(Math.round(b),Math.round(c)):(d.offset.x=Math.round(parseFloat(d.offset.x+… 1410 g)*this.view.scale+Math.round(l*a+e))}}; 1767 …roundAngle=function(a){return Math.round(10*a)/10};mxVertexHandler.prototype.roundLength=function(… 1971 …round(g[0].x)+","+Math.round(g[0].y);for(p=1;p<g.length;p++)l+=" "+Math.round(g[p].x)+","+Math.rou… [all …]
|
/plugin/diagramsnet/lib/js/orgchart/ |
H A D | bridge.min.js | 8 …round(n,0)==n&&n>=System.Char.min&&n<=System.Char.max},getDefaultValue:function(){return 0},parse:… method in Bridge.Math
|
/plugin/diagramsnet/lib/js/rough/ |
H A D | rough.js.modified | 144 o = Math.round(s.hachureAngle + 90); 209 n.push([[Math.round(_s3.x), r], [Math.round(_o2.x), r]]); 545 r = Math.round(a / (2 * s));
|
H A D | rough.js.orig | 1 …round(s.hachureAngle+90);o&&t(e,n,o);const a=function(t,e){const s=[...t];s[0].join(",")!==s[s.len…
|
H A D | rough.min.js | 22 …0!==d||!v(e,b,c))||!(0!==g||!v(e,a,c))}function C(b,a){var e=[0,0],c=Math.round(a.hachureAngle+90)… 24 …0;k<m.length;k+=2){g=k+1;if(g>=m.length)break;f.push([[Math.round(m[k].edge.x),r],[Math.round(m[g]… 57 …ion(a,e,c){var b=this,d=[];return a.forEach(function(a){var f=h(a),f=Math.round(f/(2*e)),k=a[0],m=…
|
/plugin/diagramsnet/lib/js/socket.io/ |
H A D | simplepeer9.10.0.min.js | 6 …otype=new n,e.prototype.constructor=e}}},{}],11:[function(e,t){var r=Math.round;function a(e){if(e…
|
/plugin/diagramsnet/lib/math/config/ |
H A D | AM_HTMLorMML-full.js | 51 …:"yes",scrollbars:"yes",width:400,height:300,left:Math.round((screen.width-400)/2),top:Math.round(… 56 …round(n*d.em)+0.05)/d.em;return n.toFixed(3).replace(/\.?0+$/,"")+"em"},unEm:function(n){return pa…
|
H A D | AM_HTMLorMML.js | 48 …:"yes",scrollbars:"yes",width:400,height:300,left:Math.round((screen.width-400)/2),top:Math.round(…
|
H A D | Accessible-full.js | 68 …:"yes",scrollbars:"yes",width:400,height:300,left:Math.round((screen.width-400)/2),top:Math.round(… 78 …round(n*d.em)+0.05)/d.em;return n.toFixed(3).replace(/\.?0+$/,"")+"em"},unEm:function(n){return pa…
|
H A D | Accessible.js | 65 …:"yes",scrollbars:"yes",width:400,height:300,left:Math.round((screen.width-400)/2),top:Math.round(…
|
H A D | MML_HTMLorMML-full.js | 51 …:"yes",scrollbars:"yes",width:400,height:300,left:Math.round((screen.width-400)/2),top:Math.round(… 56 …round(n*d.em)+0.05)/d.em;return n.toFixed(3).replace(/\.?0+$/,"")+"em"},unEm:function(n){return pa…
|
H A D | MML_HTMLorMML.js | 49 …:"yes",scrollbars:"yes",width:400,height:300,left:Math.round((screen.width-400)/2),top:Math.round(…
|