Lines Matching refs:state

134state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pen…
348 …e=function(){this.consumed=!0};function mxMouseEvent(a,b){this.evt=a;this.sourceState=this.state=b}
349 …ype.graphX=null;mxMouseEvent.prototype.graphY=null;mxMouseEvent.prototype.state=null;mxMouseEvent.… method in mxMouseEvent
350 …eturn this.graphY};mxMouseEvent.prototype.getState=function(){return this.state};mxMouseEvent.prot…
492 …erter=this.createUrlConverter();this.reset()}mxAbstractCanvas2D.prototype.state=null;mxAbstractCan… method in mxAbstractCanvas2D
494 mxAbstractCanvas2D.prototype.reset=function(){this.state=this.createState();this.states=[]};
497 …is.path&&(this.path.push(arguments[0]),2<arguments.length))for(var a=this.state,b=2;b<arguments.le…
498state);this.state=mxUtils.clone(this.state)};mxAbstractCanvas2D.prototype.restore=function(){0<thi…
499state.alpha=a};mxAbstractCanvas2D.prototype.setFillAlpha=function(a){this.state.fillAlpha=a};mxAbs…
500state;c.fillColor=a;c.gradientFillAlpha=null!=k?k:1;c.gradientColor=b;c.gradientAlpha=null!=l?l:1;…
501state.dashPattern=a};mxAbstractCanvas2D.prototype.setLineCap=function(a){this.state.lineCap=a};mxA…
502state.fontBackgroundColor=a};mxAbstractCanvas2D.prototype.setFontBorderColor=function(a){a==mxCons…
503state.fontStyle=a};mxAbstractCanvas2D.prototype.setShadow=function(a){this.state.shadow=a};mxAbstr…
511state.alpha==a)return;mxAbstractCanvas2D.prototype.setAlpha.apply(this,arguments)}var b=this.creat…
512 mxXmlCanvas2D.prototype.setStrokeAlpha=function(a){if(this.compressed){if(this.state.strokeAlpha==a…
513 …lor=function(a){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fillColor==a)retur…
515 …lor=function(a){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.strokeColor==a)ret…
516 mxXmlCanvas2D.prototype.setStrokeWidth=function(a){if(this.compressed){if(this.state.strokeWidth==a…
517 mxXmlCanvas2D.prototype.setDashed=function(a,b){if(this.compressed){if(this.state.dashed==a)return;…
518state.dashPattern==a)return;mxAbstractCanvas2D.prototype.setDashPattern.apply(this,arguments)}var …
519state.lineJoin==a)return;mxAbstractCanvas2D.prototype.setLineJoin.apply(this,arguments)}var b=this…
520 …is.textEnabled){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fontColor==a)retur…
521 …is.textEnabled){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fontBackgroundColo…
522 …is.textEnabled){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fontBorderColor==a…
523 ….setFontSize=function(a){if(this.textEnabled){if(this.compressed){if(this.state.fontSize==a)return…
524 …etFontFamily=function(a){if(this.textEnabled){if(this.compressed){if(this.state.fontFamily==a)retu…
525 …nction(a){if(this.textEnabled){null==a&&(a=0);if(this.compressed){if(this.state.fontStyle==a)retur…
526 mxXmlCanvas2D.prototype.setShadow=function(a){if(this.compressed){if(this.state.shadow==a)return;mx…
527 …lor=function(a){if(this.compressed){a==mxConstants.NONE&&(a=null);if(this.state.shadowColor==a)ret…
528 mxXmlCanvas2D.prototype.setShadowAlpha=function(a){if(this.compressed){if(this.state.shadowAlpha==a…
529 …ype.setShadowOffset=function(a,b){if(this.compressed){if(this.state.shadowDx==a&&this.state.shadow…
546 …,g,k,l,m,n,p,q){a=this.getAlternateText(a,b,c,d,e,f,g,k,l,m,n,p,q);d=this.state;return null!=a&&0<…
553 mxSvgCanvas2D.prototype.addNode=function(a,b){var c=this.node,d=this.state;if(null!=c){if("path"==c…
556 mxSvgCanvas2D.prototype.updateFill=function(){var a=this.state;(1>a.alpha||1>a.fillAlpha)&&this.nod…
557 …rn Math.max(this.minStrokeWidth,Math.max(.01,this.format(this.state.strokeWidth*this.state.scale))…
558 mxSvgCanvas2D.prototype.updateStroke=function(){var a=this.state;this.node.setAttribute("stroke",St…
559 mxSvgCanvas2D.prototype.updateStrokeAttributes=function(){var a=this.state;null!=a.lineJoin&&"miter…
560 …DashPattern=function(a){var b=[];if("string"===typeof this.state.dashPattern){var c=this.state.das…
562 mxSvgCanvas2D.prototype.createShadow=function(a){a=a.cloneNode(!0);var b=this.state;"none"==a.getAt…
564 mxSvgCanvas2D.prototype.rotate=function(a,b,c,d,e){if(0!=a||b||c){var f=this.state;d+=f.dx;e+=f.dy;…
565 …lement("path")};mxSvgCanvas2D.prototype.rect=function(a,b,c,d){var e=this.state,f=this.createEleme…
566 …is.state.scale));0<f&&this.node.setAttribute("ry",this.format(f*this.state.scale))};mxSvgCanvas2D.…
567 …verter.convert(e);f=null!=f?f:!0;g=null!=g?g:!1;k=null!=k?k:!1;var l=this.state;a+=l.dx;b+=l.dy;va…
568 …pha||1>l.fillAlpha)&&m.setAttribute("opacity",l.alpha*l.fillAlpha);e=this.state.transform||"";if(g…
576state.scale;mxSvgCanvas2D.createCss(c+2,d,e,f,g,k,l,null!=this.state.fontBackgroundColor?this.stat…
577state.dx;b+=this.state.dy;var k=n.firstChild,l=k.firstChild,q=l.firstChild,r=(this.rotateHtml?this…
578state.fontBorderColor?"":"border-color: "+this.state.fontBorderColor+"; "));k.setAttribute("width"…
579 this.state.alpha):n.removeAttribute("opacity")}))};
583 mxSvgCanvas2D.prototype.getTextCss=function(){var a=this.state,b="display: inline-block; font-size:…
585 …,b,c,d,e,f,g,k,l,m,n,p,q,r,this.root))}else this.plainText(a+this.state.dx,b+this.state.dy,c,d,e,f…
587 mxSvgCanvas2D.prototype.plainText=function(a,b,c,d,e,f,g,k,l,m,n,p){n=null!=n?n:0;k=this.state;var …
591 mxSvgCanvas2D.prototype.updateFont=function(a){var b=this.state;a.setAttribute("fill",b.fontColor);…
593 mxSvgCanvas2D.prototype.addTextBackground=function(a,b,c,d,e,f,g,k,l){var m=this.state;if(null!=m.f…
606 …Shape.prototype.points=null;mxShape.prototype.node=null;mxShape.prototype.state=null;mxShape.proto… method in mxShape
612 …CTION_SOUTH&&b!=mxConstants.DIRECTION_NORTH&&null!=this.state&&null!=this.state.text&&this.state.t…
613 !1);null!=this.state&&null!=this.state.text&&this.state.text.isPaintBoundsInverted()&&(b=c.x,c.x=c.…
627 …ntVertexShape(a,f,g,k,l));null!=m&&null!=a.state&&null!=a.state.transform&&m.setAttribute("transfo…
637 mxShape.prototype.apply=function(a){this.state=a;this.style=a.style;if(null!=this.style){this.fill=…
699 ….redrawHtmlShapeWithCss3():(this.updateSize(this.node,null==this.state||null==this.state.view.text…
710 null!=this.state?this.state.view.textDiv:null;if(null==this.offsetWidth||null==this.offsetHeight)nu…
713state&&null!=this.state.shape?this.state.shape.getTextRotation():0};mxText.prototype.isPaintBounds…
718 …;this.updateFont(this.node);this.updateSize(this.node,null==this.state||null==this.state.view.text…
726 …e;mxUtils.setOpacity(this.node,this.opacity);var e,f=0,g=null!=this.state?this.state.view.textDiv:…
1152 …tants.DIALECT_STRICTHTML:a.view.graph.dialect;a.text.style=a.style;a.text.state=a;this.initializeL…
1521 …this.panDy;null==a.getCell()&&this.isMouseDown&&b==mxEvent.MOUSE_MOVE&&(a.state=this.view.getState…
1531 …):mxEvent.consume(b.getEvent());return}}if(!this.isEventIgnored(a,b,c)){b.state=this.getEventState…
1587 …!=e?e:!0;var f=this.deltas.get(a.cell);null==f?(f={point:new mxPoint(b,c),state:a},this.deltas.put…
1588 …this.translateState(c.state,c.point.x,c.point.y)}));this.deltas.visit(mxUtils.bind(this,function(b…
1670state!=d?(e.destroy(),e=null):this.isHandlerActive(e)||(null!=e.refresh&&e.refresh(),e.redraw()));…
1698 …t)null!=this.marker.highlight&&null!=this.marker.highlight.state&&this.marker.highlight.state.cell…
1765 …sharedDiv=null))};function mxHandle(a,b,c,d){this.graph=a.view.graph;this.state=a;this.cursor=null…
1766 …prototype.copyStyle=function(a){this.graph.setCellStyles(a,this.state.style[a],[this.state.cell])};
1767 …id||!this.graph.isGridEnabledEvent(a.getEvent())),d));this.setPosition(this.state.getPaintBounds(),
1768state.text&&this.state.text.apply(this.state);null!=this.state.shape&&this.state.shape.apply(this.
1770 …erlayPane()));mxEvent.redirectMouseEvents(this.shape.node,this.graph,this.state);this.shape.node.s…
1771 …pe.redraw=function(){if(null!=this.shape&&null!=this.state.shape){var a=this.getPosition(this.stat…
1772 … null!=this.state.text&&this.state.text.node.parentNode==this.graph.container};mxHandle.prototype.…
1773 …nction(a){if(null!=this.state.shape){var b=this.state.getCellBounds();this.state.shape.flipH&&(a.x…
1774 ….prototype.reset=function(){this.setVisible(!0);this.state.style=this.graph.getCellStyle(this.stat…
1775state=a,this.init(),this.escapeHandler=mxUtils.bind(this,function(a,c){this.livePreview&&null!=thi… method in mxVertexHandler
1778state.view.graph;this.selectionBounds=this.getSelectionBounds(this.state);this.bounds=new mxRectan…
1779state);this.graph.isCellMovable(this.state.cell)&&!this.graph.isCellLocked(this.state.cell)&&this.…
1780 [];if(a||this.graph.isLabelMovable(this.state.cell)&&2<=this.state.width&&2<=this.state.height){var…
1781state.cell);null==a||a.relative||this.graph.isSwimlane(this.state.cell)||!this.graph.isLabelMovabl…
1782 …COLOR),this.sizers.push(this.rotationShape));this.graph.isCellLocked(this.state.cell)||(this.custo…
1783state.cell)&&this.graph.isCellRotatable(this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||t…
1785state.cell);if(0<a.length&&(this.minBounds=this.graph.view.getBounds(a),null!=this.minBounds)){var…
1787 mxVertexHandler.prototype.getSelectionColor=function(){return this.graph.isCellEditable(this.state.…
1788 …,c);d=this.createSizerShape(c,b,d);d.isHtmlAllowed()&&null!=this.state.text&&this.state.text.node.…
1789 mxEvent.redirectMouseEvents(d.node,this.graph,this.state);this.graph.isEnabled()&&d.setCursor(a);th…
1794 …LivePreviewBorder=function(){return null!=this.state.shape&&null==this.state.shape.fill&&null==thi…
1795state.cell),this.inTolerance=!0,this.childOffsetY=this.childOffsetX=0,this.index=c,this.startX=a,t…
1796state.view.graph.view.getState(b));this.selectionBorder.node.style.display=c==mxEvent.ROTATION_HAN…
1797 …ION_HANDLE&&(b=this.getRotationHandlePosition(),a=b.x-this.state.getCenterX(),b=b.y-this.state.get…
1798 …andles[mxEvent.CUSTOM_HANDLE-c].setVisible(!0),c=this.graph.getEdges(this.state.cell),this.edgeHan…
1799 …a=this.graph.cellRenderer.createShape(this.state);a.init(this.graph.view.getOverlayPane());a.scale…
1802 …is.index].active=!0,null!=this.ghostPreview?(this.ghostPreview.apply(this.state),this.ghostPreview…
1804 …er.prototype.isGhostPreview=function(){return 0<this.state.view.graph.model.getChildCount(this.sta…
1806state.x+this.state.width/2-b.x,d=this.state.y+this.state.height/2-b.y;this.currentAlpha=0!=c?180*M…
1808state.getCenterX(),this.state.getCenterY()),c=mxUtils.toRadians(this.state.style[mxConstants.STYLE…
1809state,a));g.relative||(k=this.graph.getMaximumGraphBounds(),null!=k&&null!=this.parentState&&(k=mx…
1811 …ive&&null!=this.parentState&&(this.bounds.x+=this.state.x-this.parentState.x,this.bounds.y+=this.s…
1812 …b.x;m=c.y-b.y;b=g*l-k*m-l;c=k*l+g*m-m;l=this.bounds.x-this.state.x;m=this.bounds.y-this.state.y;e=…
1813 …d(this.state.cell)||0==b&&0==c?this.childOffsetY=this.childOffsetX=0:(this.childOffsetX=this.state
1814state.clone();this.state.x=this.bounds.x;this.state.y=this.bounds.y;this.state.origin=new mxPoint(…
1815state.absoluteOffset.x=this.state.view.scale*c.x,this.state.absoluteOffset.y=this.state.view.scale…
1816 "hidden");this.state.setState(a)};
1817state.text&&null!=this.state.text.node&&null!=this.state.text.node.nextSibling||null!=this.state.s…
1818state){var c=new mxPoint(b.getGraphX(),b.getGraphY()),d=this.index;this.index=null;null==this.ghos…
1819state.style=e,this.customHandles[mxEvent.CUSTOM_HANDLE-d].positionChanged())}}else if(d==mxEvent.R…
1820state,b);this.resizeCell(this.state.cell,this.roundLength(n/q),this.roundLength(p/q),d,g,this.isCo…
1824state.control&&null!=this.state.control.node&&(this.state.control.node.style.visibility="")}if(nul…
1826 …tGeometry(a);null!=b&&(d==mxEvent.LABEL_HANDLE?(d=-mxUtils.toRadians(this.state.style[mxConstants.…
1829 …/f)*f:Math.round(q/f)*f;e=q-p;c=r-a;k&&(k=this.graph.getCellGeometry(this.state.cell),null!=k&&(k=…
1830 …type.redraw=function(a){this.selectionBounds=this.getSelectionBounds(this.state);this.bounds=new m…
1835 …e-resize s-resize sw-resize w-resize".split(" "),g=mxUtils.toRadians(this.state.style[mxConstants.…
1837 …rs[7].setCursor(f[mxUtils.mod(4+g,f.length)]);n.x=d+this.state.absoluteOffset.x;n.y=e+this.state.a…
1838state.width&&2<=this.state.height?this.moveSizerTo(this.sizers[0],d+this.state.absoluteOffset.x,e+…
1839state.view.graph.isEditing()||!this.handlesVisible?"hidden":""));null!=this.selectionBorder&&(this…
1840 …tVisible=function(){return!this.graph.isCellSelected(this.graph.model.getParent(this.state.cell))};
1841 …){var a=this.isParentHighlightVisible(),b=this.graph.model.getParent(this.state.cell),c=this.graph…
1843 …th.max(0,this.preview.bounds.height-1)),this.preview.rotation=Number(this.state.style[mxConstants.…
1845state.view.graph.removeListener(this.escapeHandler),this.escapeHandler=null);null!=this.preview&&(…
1847state=a,this.init(),this.escapeHandler=mxUtils.bind(this,function(b,c){var d=null!=this.index;this… method in mxEdgeHandler
1850state.view.graph;this.marker=this.createMarker();this.constraintHandler=new mxConstraintHandler(th…
1851state);this.graph.isCellMovable(this.state.cell)&&this.shape.setCursor(mxConstants.CURSOR_MOVABLE_…
1852state.cell)&&(this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells||0>=mxGraphHandler.…
1854state.style[mxConstants.STYLE_EDGE]||this.state.style[mxConstants.STYLE_EDGE]==mxConstants.NONE||1…
1856state.shape.constructor;a.outline=!0;a.apply(this.state);a.isDashed=this.isSelectionDashed();a.str…
1858 …nction(a){var c=mxCellMarker.prototype.getCell.apply(this,arguments);c!=b.state.cell&&null!=c||nul…
1859state.cell||null!=c&&!b.graph.connectableEdges&&e.isEdge(c)||e.isAncestor(b.state.cell,c))c=null;t…
1860 …pe.validateConnection=function(a,b){return this.graph.getEdgeValidationError(this.state.cell,a,b)};
1861state.cell,b=[],c=0;c<this.abspoints.length;c++)if(this.isHandleVisible(c)){var d=c==this.abspoint…
1862 ….createVirtualBends=function(){var a=[];if(this.graph.isCellBendable(this.state.cell))for(var b=1;…
1863state.getVisibleTerminalState(!0),c=this.state.getVisibleTerminalState(!1),d=this.graph.getCellGeo…
1866 …w().getOverlayPane()));mxEvent.redirectMouseEvents(a.node,this.graph,this.state,null,null,null,b);…
1867 mxEdgeHandler.prototype.getHandleForEvent=function(a){var b=null;if(null!=this.state){var c=functio…
1868 …customHandles[d].shape))return mxEvent.CUSTOM_HANDLE-d;if(a.isSource(this.state.text)||c(this.labe…
1870state.cell)){var c=this.getHandleForEvent(b);if(null!=this.bends&&null!=this.bends[c]){var d=this.…
1872 …sLabel=c==mxEvent.LABEL_HANDLE;if(this.isSource||this.isTarget){if(a=this.state.cell,b=this.graph.…
1873 …(!1)};mxEdgeHandler.prototype.clonePreviewState=function(a,b){return this.state.clone()};mxEdgeHan…
1875 …<e&&(d.x=b,f=!0);a=a.y;Math.abs(d.y-a)<e&&(d.y=a,g=!0)}};k.call(this,this.state.getVisibleTerminal…
1876state.getVisibleTerminalState(!1));k=this.state.absolutePoints;if(null!=k)for(var m=0;m<k.length;m…
1877 …n null!=this.marker.highlight&&null!=this.marker.highlight.state&&this.marker.highlight.state.cell…
1878 …etModel(),a=this.graph.view.getTerminalPort(this.state,this.graph.view.getState(a.getTerminal(this…
1880 mxEdgeHandler.prototype.getPreviewPoints=function(a,b){var c=this.graph.getCellGeometry(this.state.…
1881state.absolutePoints.slice();g[this.index]=a;var k=this.state.getVisibleTerminalState(!0);if(null!…
1882 …w.getRoutingCenterY(k))}k=this.state.getVisibleTerminalState(!1);null!=k&&(l=this.graph.getConnect…
1885 …nction(a,b,c,d,e){var f=this.isSource?c:this.state.getVisibleTerminalState(!0),g=this.isTarget?c:t…
1890 …constraintHandler.currentFocus&&this.constraintHandler.currentFocus!=this.state&&(Math.abs(this.sn…
1892 …|this.isTarget?this.isOutlineConnectEvent(b):!1;d?c=this.marker.highlight.state:null!=c&&c!=b.getS…
1895 …ape&&null!=this.shape.node&&(this.shape.node.style.display="");var c=this.state.cell,d=this.index;…
1896 …de&&(this.shape.apply(this.state),this.shape.redraw())}finally{f.endUpdate()}}}else if(this.isLabe…
1899state.cell),this.graph.getView().validate(this.state.cell))}else this.graph.isToggleEvent(b.getEve…
1902 …d.y);c=this.graph.getView().getState(this.graph.getModel().getParent(this.state.cell));null!=c&&(a…
1908 …ew.scale;var e=new mxPoint(e.x*c,e.y*c),f=this.graph.model.getParent(this.state.cell);this.graph.m…
1909 …{if(0<b&&b<this.abspoints.length-1){var c=this.graph.getCellGeometry(this.state.cell);null!=c&&nul…
1910 mxEdgeHandler.prototype.getHandleFillColor=function(a){a=0==a;var b=this.state.cell,c=this.graph.ge…
1911 …ction(a){if(null!=this.state){this.abspoints=this.state.absolutePoints.slice();var b=this.graph.ge…
1912state.cell,b=this.labelShape.bounds;this.label=new mxPoint(this.state.absoluteOffset.x,this.state.…
1916 ….isCustomHandleVisible=function(a){return!this.graph.isEditing()&&1==this.state.view.graph.getSele…
1920 …his.abspoints)||(this.shape.apply(this.state),this.shape.points=this.abspoints.slice(),this.shape.…
1922 …Handler.prototype.refresh=function(){null!=this.state&&(this.abspoints=this.getSelectionPoints(thi…
1924state.view.graph.removeListener(this.escapeHandler),this.escapeHandler=null);null!=this.marker&&(t…
1927 …on(a){!mxEvent.isConsumed(a)&&this.flipEnabled&&(this.graph.flipEdge(this.state.cell,a),mxEvent.co…
1928 …(b,a);b.setCursor(this.getCursorForBend());this.graph.isCellBendable(this.state.cell)||(b.node.sty…
1929state.style[mxConstants.STYLE_EDGE]==mxEdgeStyle.TopToBottom||this.state.style[mxConstants.STYLE_E…
1931 …s.graph.getView().getScale(),d=this.graph.getView().getTranslate(),e=this.state.origin;b&&(a.x=thi…
1932state.cell),d=this.state.absolutePoints,e=null;1<d.length?(a=d[1],b=d[d.length-2]):null!=c.points&…
1935 mxEdgeSegmentHandler.prototype.getCurrentPoints=function(){var a=this.state.absolutePoints;if(null!…
1936 …(c.y=a.y,f.y=a.y));e<b.length-1&&d.push(f);c=f}if(1==d.length){var b=this.state.getVisibleTerminal…
1937 c=this.state.getVisibleTerminalState(!1),f=this.state.view.getScale(),g=this.state.view.getTranslat…
1938 …push(this.convertPoint(g.clone(),!1));f=g;g=m}f=this.state.getVisibleTerminalState(!0);g=this.stat…
1939 l=this.state.absolutePoints;if(0==k.length&&(0==Math.round(e[0].x-e[e.length-1].x)||0==Math.round(e…
1943 …a.push(b);var c=this.getCurrentPoints();if(this.graph.isCellBendable(this.state.cell)){null==this.…
1945 …rototype.redrawInnerBends=function(a,b){if(this.graph.isCellBendable(this.state.cell)){var c=this.…
1955 …reset(b,!0);var c=this.getStateForEvent(b);(this.isHideOnHover()||c!=this.state||b.getSource()!=th…
1958 this.graph.getTooltip(c,d,e,f);this.show(a,e,f);this.state=c;this.node=d;this.stateSource=g}}),this…
1962 …nd(this,function(){if(null!=this.state){var a=this.graph.view.getState(this.state.cell);null==a?th…
1963 …t.prototype.keepOnTop=!1;mxCellHighlight.prototype.graph=null;mxCellHighlight.prototype.state=null; method in mxCellHighlight
1965state);a.svgStrokeTolerance=this.graph.tolerance;a.points=this.state.absolutePoints;a.apply(this.s…
1967state&&null!=this.shape&&(this.shape.scale=this.state.view.scale,this.graph.model.isEdge(this.stat…
1968state.view.scale,this.shape.outline=!0),null!=this.state.shape&&this.shape.setCursor(this.state.sh…
2524 …e if(null!=t&&null!=K){null!=u.currentHighlight&&null!=u.currentHighlight.state&&u.currentHighligh…
2526 u.currentHighlight.state&&a.model.isEdge(u.currentHighlight.state.cell)?(this.previewElement.style.…
2588 …vent(a.getEvent())};var C=this.click;this.click=function(a){var b=null==a.state&&null!=a.sourceSta…
2590 this.getCursorForMouseEvent=function(a){var b=null==a.state&&null!=a.sourceState&&this.isCellLocked…
2594 …eEvent=function(a){a=M.apply(this,arguments);null!=a.state&&this.isCellLocked(a.getCell())&&(a.sta…
2747state&&null!=this.node&&this.state.view.graph.enableFlowAnimation&&this.state.view.graph.model.isE…
2748 …E_DASHED,"0")&&a[1].setAttribute("stroke-dasharray",8*this.state.view.scale);var b=this.state.view…
2752 …ull!=this.state?this.state.routedPoints:null;if(this.outline||null==this.state||null==this.style||…
2753state.routedPoints.length;p++){var C=this.state.routedPoints[p],G=new mxPoint(C.x/this.scale,C.y/t…
2758 …s);"1"==a.getAttribute("placeholders")&&null!=c.state&&(d=c.state.view.graph.replacePlaceholders(c…
2832 …w.getAlternateText=function(a,b,c,d,e,f,g,k,h,l,m,n,r){if(null!=f&&0<this.state.fontSize)try{mxUti…
2833 …ils.extractTextWithWhitespace(U.childNodes));for(var A=Math.ceil(2*d/this.state.fontSize),B=[],D=0…
2852 …(c,b.graphX,b.graphY)||(b.state=this.view.getState(c),null!=b.state&&null!=b.state.shape&&(this.co…
2882 …ts)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.grap…
2883state.cell)?this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.st…
2884state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBo…
2885state.cell)){var b=this.graph,c=b.model,d=this.state,e=this.selectionBorder,f=this;null==a&&(a=[])…
2887 …this.shape.stroke=0==n?mxConstants.NONE:e.stroke;this.shape.bounds.x=this.state.x+(l.width+n)*this…
2888 …leColumnWidth))};g.execute=function(a){if(0!=n)b.setTableColumnWidth(this.state.cell,n,p);else if(…
2889state.shape&&(this.shape.stroke=0==h?mxConstants.NONE:e.stroke,this.shape.bounds.x=this.state.x,th…
2890 …b.y-a.y-a.height)};c.execute=function(a){if(0!=h)b.setTableRowHeight(this.state.cell,h,!mxEvent.is…
2892 [];for(b=0;b<a.getChildCount(this.state.cell);b++)mxUtils.bind(this,function(b){if(null!=b&&a.isVer…
2893state.cell,mxEvent.getClientX(a),mxEvent.getClientY(a),this.graph.getSelectionCells()),this.graph.…
2894state.cell)&&this.refreshMoveHandles()};var X=mxVertexHandler.prototype.getHandlePadding;mxVertexH…
2895state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!c&&null!=this.customHandl…
2896state.cell)&&(b+=7),a.x=this.sizers[0].bounds.width+b,a.y=this.sizers[0].bounds.height+b):a=X.appl…
2897state.view.scale;var d=this.state.view.unit;this.hint.innerHTML=b(this.roundLength(this.bounds.wid…
2899 …r.prototype.updateHint=function(c,d){null==this.hint&&(this.hint=a(),this.state.view.graph.contain…
2919state.getVisibleTerminalState(c),e=null!=a&&(0==a||a>=this.state.absolutePoints.length-1||this.con…
2920 d,c):null,c=null!=(null!=e?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(c),e):n…
2923 …,b){var c=this.graph.getModel(),d=c.getParent(this.state.cell),e=this.graph.getCellGeometry(this.s…
2924state||2<=this.state.width||2<=this.state.height)&&pa.apply(this,arguments)};mxVertexHandler.proto…
2925 …+90,360),this.state.view.graph.setCellStyles(mxConstants.STYLE_ROTATION,a,[this.state.cell])):this…
2927state.cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&(this.graph.isTab…
2928 …this.updateLinkHint(this.graph.getLinkForCell(this.state.cell),this.graph.getLinksForState(this.st…
2929 ….editingHandler);b=this.graph.getLinkForCell(this.state.cell);c=this.graph.getLinksForState(this.s…
2931 …(d,"click",mxUtils.bind(this,function(a){this.graph.setSelectionCell(this.state.cell);this.graph.e…
2932 [mxResources.get("link")]),mxUtils.bind(this,function(a){this.graph.setLinkForCell(this.state.cell,…
2933 …this.constraintHandler.isEnabled=mxUtils.bind(this,function(){return this.state.view.graph.connect…
2934state.cell),this.graph.getLinksForState(this.state));a();this.redrawHandles()});this.graph.getSele…
2936state.x-b[0].bounds.width/2+a;b[0].bounds.y=this.state.y-c+a;b[0].redraw();b[1].bounds.x=b[0].boun…
2937 …ull!=this.state&&null!=this.linkHint&&(a=new mxPoint(this.state.getCenterX(),this.state.getCenterY…
2938state.width+24,this.state.height+22),c=mxUtils.getBoundingBox(b,this.state.style[mxConstants.STYLE…
2941state&&null!=this.linkHint)){var a=this.state;null!=this.state.text&&null!=this.state.text.bounds&…
3247state){var r=this.flipH,f=this.flipV;if(this.direction==mxConstants.DIRECTION_NORTH||this.directio…
3248 …ildCells(this.state.cell,!0);if(0<g.length){var A="0"!=mxUtils.getValue(this.state.style,"rowLines…
3288 …d=function(){return!1};C.prototype.getLabelBounds=function(a){if(mxUtils.getValue(this.state.style,
3305 …size)))),r=mxUtils.getValue(this.style,"participant");null==r||null==this.state?mxRectangleShape.p…
3306 c,d,f):(r=this.state.view.graph.cellRenderer.getShape(r),null!=r&&r!=Q&&(r=new r,r.apply(this.state
3400state.dashed,f=a.state.fixDash;wa.prototype.origPaintEdgeShape.apply(this,[a,d,c]);3<=a.state.stro…
3407state.style,"arrowWidth",V.prototype.arrowWidth))),d=Math.max(0,Math.min(a,mxUtils.getValue(this.s…
3408state.style,"size",a))));return new mxPoint(b.x,b.y+c)},function(a,b){this.state.style.size=Math.m…
3409state.style,"fixedSize","0"):null,d=parseFloat(mxUtils.getValue(this.state.style,"size",c?e:a));re…
3410state.style.size=a},!1,d)];b&&mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,!1)&&g.push(ra(f)…
3411 …c&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?d.x-b.x:Math.max(0,Math.min(a,(d.x-b.x)…
3413 this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(b.width,2*(b.x+b.width-c…
3414 h.positionChanged=function(){k.apply(this,arguments);a.view.invalidate(this.state.cell);a.view.vali…
3424 …nction(b,c){a.style[mxConstants.STYLE_STARTSIZE]=1==mxUtils.getValue(this.state.style,mxConstants.…
3425 …on(a){var b=Math.max(0,Math.min(a.height,parseFloat(mxUtils.getValue(this.state.style,"size",Q.pro…
3426state.style.size=Math.round(Math.max(0,Math.min(a.height,b.y-a.y)))},!1)]},umlFrame:function(a){re…
3427state.style.height=Math.round(Math.max(1.5*U.prototype.corner,Math.min(a.height,b.y-a.y)))},!1)]},…
3428state.style.size=c},!1)];mxUtils.getValue(a.style,mxConstants.STYLE_ROUNDED,!1)&&b.push(ra(a));ret…
3429 …(mxUtils.getValue(this.state.style,"size",k.prototype.size)))));return new mxPoint(a.x+a.width-b,a…
3430state.style,"size",h.prototype.size)))));return new mxPoint(a.x+a.width-b,a.y+b)},function(a,b){th…
3431state.style,"fixedSize","0"),c=parseFloat(mxUtils.getValue(this.state.style,"size",b?J.prototype.f…
3432state.style.size=c},!1)]},callout:function(a){var b=[T(a,["size","position"],function(a){var b=Mat…
3433state.style.size=Math.round(Math.max(0,Math.min(a.height,a.y+a.height-b.y)));this.state.style.posi…
3434state.style,"size",y.prototype.size))),c=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"…
3435state.style,"dx",aa.prototype.dx))),c=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.sty…
3436state.style,"jettyWidth",ca.prototype.jettyWidth))),c=Math.max(0,Math.min(a.height,mxUtils.getValu…
3437state.style.jettyHeight=Math.round(Math.max(0,Math.min(a.height,b.y-a.y))/2)})]},corner:function(a…
3438state.style,"dx",ia.prototype.dx))),c=Math.max(0,Math.min(a.height,mxUtils.getValue(this.state.sty…
3439state.style,"tabWidth",p.prototype.tabWidth))),c=Math.max(0,Math.min(a.height,mxUtils.getValue(thi…
3440state.style.tabWidth=Math.round(c);this.state.style.tabHeight=Math.round(Math.max(0,Math.min(a.hei…
3441state.style,"size",v.prototype.size))));return new mxPoint(a.getCenterX(),a.y+b*a.height/2)},funct…
3442state.style.isoAngle=Math.max(0,50*(b.y-a.y)/a.height)},!0)]},cylinder2:Sa(l.prototype.size),cylin…
3443state.style,"size",this.size))));return new mxPoint(a.x+b,a.y+b)},function(a,b){this.state.style.s…
3444 b){this.state.style.indent=Math.round(100*Math.max(0,Math.min(100,200*(b.y-a.y)/a.height)))/100});b…
3445state.cell)){var b=this.state.style.shape;null==mxCellRenderer.defaultShapes[b]&&null==mxStencilRe…
3446state),null!=b&&(a=null==a?b:a.concat(b)))}return a};mxEdgeHandler.prototype.createCustomHandles=f…
3523 …bleCells(c.getSelectionCells()),e=0;e<b.length;e++)if(state=c.getView().getState(b[e]),null!=state
3524state.style,"html","0");if("1"==f&&null==a){var h=c.convertValueToString(state.cell);"0"!=mxUtils.…
3525 "1")&&(h=h.replace(/\n/g,"<br/>")),c.cellLabelChanged(state.cell,c.sanitizeHtml(h)),c.setCellStyles…
3550 ….state,h,f)}}});this.addAction("removeWaypoint",function(){var a=d.actions.get("removeWaypoint");n…
10467 …}}};c.fillSketch=function(c,f,d){var e=b.state.strokeColor,l=b.state.strokeWidth,m=b.state.strokeA…
10468 0>p&&(p=d.strokeWidth/2);b.setStrokeAlpha(b.state.fillAlpha);b.setStrokeColor(d.fill||"");b.setStro…
10472state){var d=this.shape.state.cell.id;if(null!=d)for(var e=0;e<d.length;e++)f=(f<<5)-f+d.charCodeA…
10473 …none"===this.canvas.state.fillColor?"":this.canvas.state.fillColor,e="none"===this.canvas.state.gr…
10475 …llStyle","auto");"auto"==l&&(l=mxUtils.hex2rgba(null!=this.shape.state?this.shape.state.view.graph…
10906 …t(b)};EditorUi.prototype.isLucidChartData=function(b){return null!=b&&('{"state":"{\\"Properties\\…
11546 …de||10<=document.documentMode)?App.mode==App.MODE_GOOGLE||null!=urlParams.state&&""==window.locati…
11629 …ing"))){try{this.stateArg=null!=urlParams.state&&null!=this.drive?JSON.parse(decodeURIComponent(ur…
11646 c)}))}else(null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.state&&null…
12029 …ly(this,arguments);(d(this.state.cell)||b(this.state.cell))&&!n(this.state.cell)&&0<this.graph.get…
12030 …is.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(b),mxEvent.getClientY(b),this.graph…
12031 ….left=this.state.x+this.state.width+(40>this.state.width?10:0)+2+"px",this.moveHandle.style.top=th…