Lines Matching refs:state

101state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pen…
314 …e=function(){this.consumed=!0};function mxMouseEvent(a,b){this.evt=a;this.sourceState=this.state=b}
315 …ype.graphX=null;mxMouseEvent.prototype.graphY=null;mxMouseEvent.prototype.state=null;mxMouseEvent.… method in mxMouseEvent
316 …eturn this.graphY};mxMouseEvent.prototype.getState=function(){return this.state};mxMouseEvent.prot…
458 …erter=this.createUrlConverter();this.reset()}mxAbstractCanvas2D.prototype.state=null;mxAbstractCan… method in mxAbstractCanvas2D
460 mxAbstractCanvas2D.prototype.reset=function(){this.state=this.createState();this.states=[]};
463 …is.path&&(this.path.push(arguments[0]),2<arguments.length))for(var a=this.state,b=2;b<arguments.le…
464state);this.state=mxUtils.clone(this.state)};mxAbstractCanvas2D.prototype.restore=function(){0<thi…
465state.alpha=a};mxAbstractCanvas2D.prototype.setFillAlpha=function(a){this.state.fillAlpha=a};mxAbs…
466state;c.fillColor=a;c.gradientFillAlpha=null!=k?k:1;c.gradientColor=b;c.gradientAlpha=null!=l?l:1;…
467state.dashPattern=a};mxAbstractCanvas2D.prototype.setLineCap=function(a){this.state.lineCap=a};mxA…
468state.fontBackgroundColor=a};mxAbstractCanvas2D.prototype.setFontBorderColor=function(a){a==mxCons…
469state.fontStyle=a};mxAbstractCanvas2D.prototype.setShadow=function(a){this.state.shadow=a};mxAbstr…
477state.alpha==a)return;mxAbstractCanvas2D.prototype.setAlpha.apply(this,arguments)}var b=this.creat…
478 mxXmlCanvas2D.prototype.setStrokeAlpha=function(a){if(this.compressed){if(this.state.strokeAlpha==a…
479 …lor=function(a){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fillColor==a)retur…
481 …lor=function(a){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.strokeColor==a)ret…
482 mxXmlCanvas2D.prototype.setStrokeWidth=function(a){if(this.compressed){if(this.state.strokeWidth==a…
483 mxXmlCanvas2D.prototype.setDashed=function(a,b){if(this.compressed){if(this.state.dashed==a)return;…
484state.dashPattern==a)return;mxAbstractCanvas2D.prototype.setDashPattern.apply(this,arguments)}var …
485state.lineJoin==a)return;mxAbstractCanvas2D.prototype.setLineJoin.apply(this,arguments)}var b=this…
486 …is.textEnabled){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fontColor==a)retur…
487 …is.textEnabled){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fontBackgroundColo…
488 …is.textEnabled){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fontBorderColor==a…
489 ….setFontSize=function(a){if(this.textEnabled){if(this.compressed){if(this.state.fontSize==a)return…
490 …etFontFamily=function(a){if(this.textEnabled){if(this.compressed){if(this.state.fontFamily==a)retu…
491 …nction(a){if(this.textEnabled){null==a&&(a=0);if(this.compressed){if(this.state.fontStyle==a)retur…
492 mxXmlCanvas2D.prototype.setShadow=function(a){if(this.compressed){if(this.state.shadow==a)return;mx…
493 …lor=function(a){if(this.compressed){a==mxConstants.NONE&&(a=null);if(this.state.shadowColor==a)ret…
494 mxXmlCanvas2D.prototype.setShadowAlpha=function(a){if(this.compressed){if(this.state.shadowAlpha==a…
495 …ype.setShadowOffset=function(a,b){if(this.compressed){if(this.state.shadowDx==a&&this.state.shadow…
512 …,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<…
519 mxSvgCanvas2D.prototype.addNode=function(a,b){var c=this.node,d=this.state;if(null!=c){if("path"==c…
522 mxSvgCanvas2D.prototype.updateFill=function(){var a=this.state;(1>a.alpha||1>a.fillAlpha)&&this.nod…
523 …rn Math.max(this.minStrokeWidth,Math.max(.01,this.format(this.state.strokeWidth*this.state.scale))…
524 mxSvgCanvas2D.prototype.updateStroke=function(){var a=this.state;this.node.setAttribute("stroke",St…
525 mxSvgCanvas2D.prototype.updateStrokeAttributes=function(){var a=this.state;null!=a.lineJoin&&"miter…
526 …DashPattern=function(a){var b=[];if("string"===typeof this.state.dashPattern){var c=this.state.das…
528 mxSvgCanvas2D.prototype.createShadow=function(a){a=a.cloneNode(!0);var b=this.state;"none"==a.getAt…
530 mxSvgCanvas2D.prototype.rotate=function(a,b,c,d,e){if(0!=a||b||c){var f=this.state;d+=f.dx;e+=f.dy;…
531 …lement("path")};mxSvgCanvas2D.prototype.rect=function(a,b,c,d){var e=this.state,f=this.createEleme…
532 …is.state.scale));0<f&&this.node.setAttribute("ry",this.format(f*this.state.scale))};mxSvgCanvas2D.…
533 …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…
534 …pha||1>l.fillAlpha)&&m.setAttribute("opacity",l.alpha*l.fillAlpha);e=this.state.transform||"";if(g…
542state.scale;mxSvgCanvas2D.createCss(c+2,d,e,f,g,k,l,null!=this.state.fontBackgroundColor?this.stat…
543state.dx;b+=this.state.dy;var k=n.firstChild,l=k.firstChild,q=l.firstChild,r=(this.rotateHtml?this…
544state.fontBorderColor?"":"border-color: "+this.state.fontBorderColor+"; "));k.setAttribute("width"…
545 this.state.alpha):n.removeAttribute("opacity")}))};
549 mxSvgCanvas2D.prototype.getTextCss=function(){var a=this.state,b="display: inline-block; font-size:…
551 …,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…
553 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 …
557 mxSvgCanvas2D.prototype.updateFont=function(a){var b=this.state;a.setAttribute("fill",b.fontColor);…
559 mxSvgCanvas2D.prototype.addTextBackground=function(a,b,c,d,e,f,g,k,l){var m=this.state;if(null!=m.f…
572 …Shape.prototype.points=null;mxShape.prototype.node=null;mxShape.prototype.state=null;mxShape.proto… method in mxShape
578 …CTION_SOUTH&&b!=mxConstants.DIRECTION_NORTH&&null!=this.state&&null!=this.state.text&&this.state.t…
579 !1);null!=this.state&&null!=this.state.text&&this.state.text.isPaintBoundsInverted()&&(b=c.x,c.x=c.…
593 …ntVertexShape(a,f,g,k,l));null!=m&&null!=a.state&&null!=a.state.transform&&m.setAttribute("transfo…
603 mxShape.prototype.apply=function(a){this.state=a;this.style=a.style;if(null!=this.style){this.fill=…
665 ….redrawHtmlShapeWithCss3():(this.updateSize(this.node,null==this.state||null==this.state.view.text…
676 null!=this.state?this.state.view.textDiv:null;if(null==this.offsetWidth||null==this.offsetHeight)nu…
679state&&null!=this.state.shape?this.state.shape.getTextRotation():0};mxText.prototype.isPaintBounds…
684 …;this.updateFont(this.node);this.updateSize(this.node,null==this.state||null==this.state.view.text…
692 …e;mxUtils.setOpacity(this.node,this.opacity);var e,f=0,g=null!=this.state?this.state.view.textDiv:…
1118 …tants.DIALECT_STRICTHTML:a.view.graph.dialect;a.text.style=a.style;a.text.state=a;this.initializeL…
1487 …this.panDy;null==a.getCell()&&this.isMouseDown&&b==mxEvent.MOUSE_MOVE&&(a.state=this.view.getState…
1497 …):mxEvent.consume(b.getEvent());return}}if(!this.isEventIgnored(a,b,c)){b.state=this.getEventState…
1553 …!=e?e:!0;var f=this.deltas.get(a.cell);null==f?(f={point:new mxPoint(b,c),state:a},this.deltas.put…
1554 …this.translateState(c.state,c.point.x,c.point.y)}));this.deltas.visit(mxUtils.bind(this,function(b…
1636state!=d?(e.destroy(),e=null):this.isHandlerActive(e)||(null!=e.refresh&&e.refresh(),e.redraw()));…
1664 …t)null!=this.marker.highlight&&null!=this.marker.highlight.state&&this.marker.highlight.state.cell…
1731 …sharedDiv=null))};function mxHandle(a,b,c,d){this.graph=a.view.graph;this.state=a;this.cursor=null…
1732 …prototype.copyStyle=function(a){this.graph.setCellStyles(a,this.state.style[a],[this.state.cell])};
1733 …id||!this.graph.isGridEnabledEvent(a.getEvent())),d));this.setPosition(this.state.getPaintBounds(),
1734state.text&&this.state.text.apply(this.state);null!=this.state.shape&&this.state.shape.apply(this.
1736 …erlayPane()));mxEvent.redirectMouseEvents(this.shape.node,this.graph,this.state);this.shape.node.s…
1737 …pe.redraw=function(){if(null!=this.shape&&null!=this.state.shape){var a=this.getPosition(this.stat…
1738 … null!=this.state.text&&this.state.text.node.parentNode==this.graph.container};mxHandle.prototype.…
1739 …nction(a){if(null!=this.state.shape){var b=this.state.getCellBounds();this.state.shape.flipH&&(a.x…
1740 ….prototype.reset=function(){this.setVisible(!0);this.state.style=this.graph.getCellStyle(this.stat…
1741state=a,this.init(),this.escapeHandler=mxUtils.bind(this,function(a,c){this.livePreview&&null!=thi… method in mxVertexHandler
1744state.view.graph;this.selectionBounds=this.getSelectionBounds(this.state);this.bounds=new mxRectan…
1745state);this.graph.isCellMovable(this.state.cell)&&!this.graph.isCellLocked(this.state.cell)&&this.…
1746 [];if(a||this.graph.isLabelMovable(this.state.cell)&&2<=this.state.width&&2<=this.state.height){var…
1747state.cell);null==a||a.relative||this.graph.isSwimlane(this.state.cell)||!this.graph.isLabelMovabl…
1748 …COLOR),this.sizers.push(this.rotationShape));this.graph.isCellLocked(this.state.cell)||(this.custo…
1749state.cell)&&this.graph.isCellRotatable(this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||t…
1751state.cell);if(0<a.length&&(this.minBounds=this.graph.view.getBounds(a),null!=this.minBounds)){var…
1753 mxVertexHandler.prototype.getSelectionColor=function(){return this.graph.isCellEditable(this.state.…
1754 …,c);d=this.createSizerShape(c,b,d);d.isHtmlAllowed()&&null!=this.state.text&&this.state.text.node.…
1755 mxEvent.redirectMouseEvents(d.node,this.graph,this.state);this.graph.isEnabled()&&d.setCursor(a);th…
1760 …LivePreviewBorder=function(){return null!=this.state.shape&&null==this.state.shape.fill&&null==thi…
1761state.cell),this.inTolerance=!0,this.childOffsetY=this.childOffsetX=0,this.index=c,this.startX=a,t…
1762state.view.graph.view.getState(b));this.selectionBorder.node.style.display=c==mxEvent.ROTATION_HAN…
1763 …ION_HANDLE&&(b=this.getRotationHandlePosition(),a=b.x-this.state.getCenterX(),b=b.y-this.state.get…
1764 …andles[mxEvent.CUSTOM_HANDLE-c].setVisible(!0),c=this.graph.getEdges(this.state.cell),this.edgeHan…
1765 …a=this.graph.cellRenderer.createShape(this.state);a.init(this.graph.view.getOverlayPane());a.scale…
1768 …is.index].active=!0,null!=this.ghostPreview?(this.ghostPreview.apply(this.state),this.ghostPreview…
1770 …er.prototype.isGhostPreview=function(){return 0<this.state.view.graph.model.getChildCount(this.sta…
1772state.x+this.state.width/2-b.x,d=this.state.y+this.state.height/2-b.y;this.currentAlpha=0!=c?180*M…
1774state.getCenterX(),this.state.getCenterY()),c=mxUtils.toRadians(this.state.style[mxConstants.STYLE…
1775state,a));g.relative||(k=this.graph.getMaximumGraphBounds(),null!=k&&null!=this.parentState&&(k=mx…
1777 …ive&&null!=this.parentState&&(this.bounds.x+=this.state.x-this.parentState.x,this.bounds.y+=this.s…
1778 …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=…
1779 …d(this.state.cell)||0==b&&0==c?this.childOffsetY=this.childOffsetX=0:(this.childOffsetX=this.state
1780state.clone();this.state.x=this.bounds.x;this.state.y=this.bounds.y;this.state.origin=new mxPoint(…
1781state.absoluteOffset.x=this.state.view.scale*c.x,this.state.absoluteOffset.y=this.state.view.scale…
1782 "hidden");this.state.setState(a)};
1783state.text&&null!=this.state.text.node&&null!=this.state.text.node.nextSibling||null!=this.state.s…
1784state){var c=new mxPoint(b.getGraphX(),b.getGraphY()),d=this.index;this.index=null;null==this.ghos…
1785state.style=e,this.customHandles[mxEvent.CUSTOM_HANDLE-d].positionChanged())}}else if(d==mxEvent.R…
1786state,b);this.resizeCell(this.state.cell,this.roundLength(n/q),this.roundLength(p/q),d,g,this.isCo…
1790state.control&&null!=this.state.control.node&&(this.state.control.node.style.visibility="")}if(nul…
1792 …tGeometry(a);null!=b&&(d==mxEvent.LABEL_HANDLE?(d=-mxUtils.toRadians(this.state.style[mxConstants.…
1795 …/f)*f:Math.round(q/f)*f;e=q-p;c=r-a;k&&(k=this.graph.getCellGeometry(this.state.cell),null!=k&&(k=…
1796 …type.redraw=function(a){this.selectionBounds=this.getSelectionBounds(this.state);this.bounds=new m…
1801 …e-resize s-resize sw-resize w-resize".split(" "),g=mxUtils.toRadians(this.state.style[mxConstants.…
1803 …rs[7].setCursor(f[mxUtils.mod(4+g,f.length)]);n.x=d+this.state.absoluteOffset.x;n.y=e+this.state.a…
1804state.width&&2<=this.state.height?this.moveSizerTo(this.sizers[0],d+this.state.absoluteOffset.x,e+…
1805state.view.graph.isEditing()||!this.handlesVisible?"hidden":""));null!=this.selectionBorder&&(this…
1806 …tVisible=function(){return!this.graph.isCellSelected(this.graph.model.getParent(this.state.cell))};
1807 …){var a=this.isParentHighlightVisible(),b=this.graph.model.getParent(this.state.cell),c=this.graph…
1809 …th.max(0,this.preview.bounds.height-1)),this.preview.rotation=Number(this.state.style[mxConstants.…
1811state.view.graph.removeListener(this.escapeHandler),this.escapeHandler=null);null!=this.preview&&(…
1813state=a,this.init(),this.escapeHandler=mxUtils.bind(this,function(b,c){var d=null!=this.index;this… method in mxEdgeHandler
1816state.view.graph;this.marker=this.createMarker();this.constraintHandler=new mxConstraintHandler(th…
1817state);this.graph.isCellMovable(this.state.cell)&&this.shape.setCursor(mxConstants.CURSOR_MOVABLE_…
1818state.cell)&&(this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells||0>=mxGraphHandler.…
1820state.style[mxConstants.STYLE_EDGE]||this.state.style[mxConstants.STYLE_EDGE]==mxConstants.NONE||1…
1822state.shape.constructor;a.outline=!0;a.apply(this.state);a.isDashed=this.isSelectionDashed();a.str…
1824 …nction(a){var c=mxCellMarker.prototype.getCell.apply(this,arguments);c!=b.state.cell&&null!=c||nul…
1825state.cell||null!=c&&!b.graph.connectableEdges&&e.isEdge(c)||e.isAncestor(b.state.cell,c))c=null;t…
1826 …pe.validateConnection=function(a,b){return this.graph.getEdgeValidationError(this.state.cell,a,b)};
1827state.cell,b=[],c=0;c<this.abspoints.length;c++)if(this.isHandleVisible(c)){var d=c==this.abspoint…
1828 ….createVirtualBends=function(){var a=[];if(this.graph.isCellBendable(this.state.cell))for(var b=1;…
1829state.getVisibleTerminalState(!0),c=this.state.getVisibleTerminalState(!1),d=this.graph.getCellGeo…
1832 …w().getOverlayPane()));mxEvent.redirectMouseEvents(a.node,this.graph,this.state,null,null,null,b);…
1833 mxEdgeHandler.prototype.getHandleForEvent=function(a){var b=null;if(null!=this.state){var c=functio…
1834 …customHandles[d].shape))return mxEvent.CUSTOM_HANDLE-d;if(a.isSource(this.state.text)||c(this.labe…
1836state.cell)){var c=this.getHandleForEvent(b);if(null!=this.bends&&null!=this.bends[c]){var d=this.…
1838 …sLabel=c==mxEvent.LABEL_HANDLE;if(this.isSource||this.isTarget){if(a=this.state.cell,b=this.graph.…
1839 …(!1)};mxEdgeHandler.prototype.clonePreviewState=function(a,b){return this.state.clone()};mxEdgeHan…
1841 …<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…
1842state.getVisibleTerminalState(!1));k=this.state.absolutePoints;if(null!=k)for(var m=0;m<k.length;m…
1843 …n null!=this.marker.highlight&&null!=this.marker.highlight.state&&this.marker.highlight.state.cell…
1844 …etModel(),a=this.graph.view.getTerminalPort(this.state,this.graph.view.getState(a.getTerminal(this…
1846 mxEdgeHandler.prototype.getPreviewPoints=function(a,b){var c=this.graph.getCellGeometry(this.state.…
1847state.absolutePoints.slice();g[this.index]=a;var k=this.state.getVisibleTerminalState(!0);if(null!…
1848 …w.getRoutingCenterY(k))}k=this.state.getVisibleTerminalState(!1);null!=k&&(l=this.graph.getConnect…
1851 …nction(a,b,c,d,e){var f=this.isSource?c:this.state.getVisibleTerminalState(!0),g=this.isTarget?c:t…
1856 …constraintHandler.currentFocus&&this.constraintHandler.currentFocus!=this.state&&(Math.abs(this.sn…
1858 …|this.isTarget?this.isOutlineConnectEvent(b):!1;d?c=this.marker.highlight.state:null!=c&&c!=b.getS…
1861 …ape&&null!=this.shape.node&&(this.shape.node.style.display="");var c=this.state.cell,d=this.index;…
1862 …de&&(this.shape.apply(this.state),this.shape.redraw())}finally{f.endUpdate()}}}else if(this.isLabe…
1865state.cell),this.graph.getView().validate(this.state.cell))}else this.graph.isToggleEvent(b.getEve…
1868 …d.y);c=this.graph.getView().getState(this.graph.getModel().getParent(this.state.cell));null!=c&&(a…
1874 …ew.scale;var e=new mxPoint(e.x*c,e.y*c),f=this.graph.model.getParent(this.state.cell);this.graph.m…
1875 …{if(0<b&&b<this.abspoints.length-1){var c=this.graph.getCellGeometry(this.state.cell);null!=c&&nul…
1876 mxEdgeHandler.prototype.getHandleFillColor=function(a){a=0==a;var b=this.state.cell,c=this.graph.ge…
1877 …ction(a){if(null!=this.state){this.abspoints=this.state.absolutePoints.slice();var b=this.graph.ge…
1878state.cell,b=this.labelShape.bounds;this.label=new mxPoint(this.state.absoluteOffset.x,this.state.…
1882 ….isCustomHandleVisible=function(a){return!this.graph.isEditing()&&1==this.state.view.graph.getSele…
1886 …his.abspoints)||(this.shape.apply(this.state),this.shape.points=this.abspoints.slice(),this.shape.…
1888 …Handler.prototype.refresh=function(){null!=this.state&&(this.abspoints=this.getSelectionPoints(thi…
1890state.view.graph.removeListener(this.escapeHandler),this.escapeHandler=null);null!=this.marker&&(t…
1893 …on(a){!mxEvent.isConsumed(a)&&this.flipEnabled&&(this.graph.flipEdge(this.state.cell,a),mxEvent.co…
1894 …(b,a);b.setCursor(this.getCursorForBend());this.graph.isCellBendable(this.state.cell)||(b.node.sty…
1895state.style[mxConstants.STYLE_EDGE]==mxEdgeStyle.TopToBottom||this.state.style[mxConstants.STYLE_E…
1897 …s.graph.getView().getScale(),d=this.graph.getView().getTranslate(),e=this.state.origin;b&&(a.x=thi…
1898state.cell),d=this.state.absolutePoints,e=null;1<d.length?(a=d[1],b=d[d.length-2]):null!=c.points&…
1901 mxEdgeSegmentHandler.prototype.getCurrentPoints=function(){var a=this.state.absolutePoints;if(null!…
1902 …(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…
1903 c=this.state.getVisibleTerminalState(!1),f=this.state.view.getScale(),g=this.state.view.getTranslat…
1904 …push(this.convertPoint(g.clone(),!1));f=g;g=m}f=this.state.getVisibleTerminalState(!0);g=this.stat…
1905 l=this.state.absolutePoints;if(0==k.length&&(0==Math.round(e[0].x-e[e.length-1].x)||0==Math.round(e…
1909 …a.push(b);var c=this.getCurrentPoints();if(this.graph.isCellBendable(this.state.cell)){null==this.…
1911 …rototype.redrawInnerBends=function(a,b){if(this.graph.isCellBendable(this.state.cell)){var c=this.…
1921 …reset(b,!0);var c=this.getStateForEvent(b);(this.isHideOnHover()||c!=this.state||b.getSource()!=th…
1924 this.graph.getTooltip(c,d,e,f);this.show(a,e,f);this.state=c;this.node=d;this.stateSource=g}}),this…
1928 …nd(this,function(){if(null!=this.state){var a=this.graph.view.getState(this.state.cell);null==a?th…
1929 …t.prototype.keepOnTop=!1;mxCellHighlight.prototype.graph=null;mxCellHighlight.prototype.state=null; method in mxCellHighlight
1931state);a.svgStrokeTolerance=this.graph.tolerance;a.points=this.state.absolutePoints;a.apply(this.s…
1933state&&null!=this.shape&&(this.shape.scale=this.state.view.scale,this.graph.model.isEdge(this.stat…
1934state.view.scale,this.shape.outline=!0),null!=this.state.shape&&this.shape.setCursor(this.state.sh…
2339 …vent(b.getEvent())};var E=this.click;this.click=function(b){var d=null==b.state&&null!=b.sourceSta…
2341 this.getCursorForMouseEvent=function(b){var d=null==b.state&&null!=b.sourceState&&this.isCellLocked…
2345 …Event=function(b){b=ea.apply(this,arguments);null!=b.state&&this.isCellLocked(b.getCell())&&(b.sta…
2498state&&null!=this.node&&this.state.view.graph.enableFlowAnimation&&this.state.view.graph.model.isE…
2499 …E_DASHED,"0")&&b[1].setAttribute("stroke-dasharray",8*this.state.view.scale);var d=this.state.view…
2503 …ull!=this.state?this.state.routedPoints:null;if(this.outline||null==this.state||null==this.style||…
2504state.routedPoints.length;t++){var E=this.state.routedPoints[t],K=new mxPoint(E.x/this.scale,E.y/t…
2509 …s);"1"==b.getAttribute("placeholders")&&null!=c.state&&(e=c.state.view.graph.replacePlaceholders(c…
2583 …C.getAlternateText=function(b,d,f,c,e,g,l,k,m,q,n,H,z){if(null!=g&&0<this.state.fontSize)try{mxUti…
2584 …s.extractTextWithWhitespace(ca.childNodes));for(var da=Math.ceil(2*c/this.state.fontSize),Ta=[],sa…
2603 …(f,d.graphX,d.graphY)||(d.state=this.view.getState(f),null!=d.state&&null!=d.state.shape&&(this.co…
2633 …ts)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.grap…
2634state.cell)?this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.st…
2635state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBo…
2636state.cell)){var d=this.graph,f=d.model,c=this.state,e=this.selectionBorder,g=this;null==b&&(b=[])…
2638 …this.shape.stroke=0==H?mxConstants.NONE:e.stroke;this.shape.bounds.x=this.state.x+(q.width+H)*this…
2639 …leColumnWidth))};l.execute=function(b){if(0!=H)d.setTableColumnWidth(this.state.cell,H,v);else if(…
2640state.shape&&(this.shape.stroke=0==m?mxConstants.NONE:e.stroke,this.shape.bounds.x=this.state.x,th…
2641 …d.y-b.y-b.height)};f.execute=function(b){if(0!=m)d.setTableRowHeight(this.state.cell,m,!mxEvent.is…
2643 [];for(d=0;d<b.getChildCount(this.state.cell);d++)mxUtils.bind(this,function(d){if(null!=d&&b.isVer…
2644state.cell,mxEvent.getClientX(b),mxEvent.getClientY(b),this.graph.getSelectionCells()),this.graph.…
2645state.cell)&&this.refreshMoveHandles()};var H=mxVertexHandler.prototype.getHandlePadding;mxVertexH…
2646state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!f&&null!=this.customHandl…
2647state.cell)&&(d+=7),b.x=this.sizers[0].bounds.width+d,b.y=this.sizers[0].bounds.height+d):b=H.appl…
2648state.view.scale;var f=this.state.view.unit;this.hint.innerHTML=c(this.roundLength(this.bounds.wid…
2650 …r.prototype.updateHint=function(d,f){null==this.hint&&(this.hint=b(),this.state.view.graph.contain…
2670state.getVisibleTerminalState(f),e=null!=b&&(0==b||b>=this.state.absolutePoints.length-1||this.con…
2671 c,f):null,f=null!=(null!=e?this.graph.getConnectionPoint(this.state.getVisibleTerminalState(f),e):n…
2674 …,d){var f=this.graph.getModel(),c=f.getParent(this.state.cell),e=this.graph.getCellGeometry(this.s…
2675state||2<=this.state.width||2<=this.state.height)&&Y.apply(this,arguments)};mxVertexHandler.protot…
2676 …+90,360),this.state.view.graph.setCellStyles(mxConstants.STYLE_ROTATION,b,[this.state.cell])):this…
2678state.cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&(this.graph.isTab…
2679 …this.updateLinkHint(this.graph.getLinkForCell(this.state.cell),this.graph.getLinksForState(this.st…
2680 ….editingHandler);d=this.graph.getLinkForCell(this.state.cell);f=this.graph.getLinksForState(this.s…
2682 …(c,"click",mxUtils.bind(this,function(b){this.graph.setSelectionCell(this.state.cell);this.graph.e…
2683 [mxResources.get("link")]),mxUtils.bind(this,function(b){this.graph.setLinkForCell(this.state.cell,…
2684state.view.graph.connectionHandler.isEnabled()});var b=mxUtils.bind(this,function(){null!=this.lin…
2685state));b();this.redrawHandles()});this.graph.getSelectionModel().addListener(mxEvent.CHANGE,this.…
2687state.x-d[0].bounds.width/2+b;d[0].bounds.y=this.state.y-f+b;d[0].redraw();d[1].bounds.x=d[0].boun…
2688state&&null!=this.linkHint&&(b=new mxPoint(this.state.getCenterX(),this.state.getCenterY()),d=new …
2689 …is.state,this.state.style[mxConstants.STYLE_ROTATION]||"0"):this.state,d=null!=this.state.text?thi…
2692state&&null!=this.linkHint)){var b=this.state;null!=this.state.text&&null!=this.state.text.bounds&…
2701state){var z=this.flipH,g=this.flipV;if(this.direction==mxConstants.DIRECTION_NORTH||this.directio…
2702 …ildCells(this.state.cell,!0);if(0<l.length){var k="0"!=mxUtils.getValue(this.state.style,"rowLines…
2742 …d=function(){return!1};E.prototype.getLabelBounds=function(b){if(mxUtils.getValue(this.state.style,
2759 …size)))),l=mxUtils.getValue(this.style,"participant");null==l||null==this.state?mxRectangleShape.p…
2760 f,c,g):(l=this.state.view.graph.cellRenderer.getShape(l),null!=l&&l!=G&&(l=new l,l.apply(this.state
2854state.dashed,g=b.state.fixDash;va.prototype.origPaintEdgeShape.apply(this,[b,c,f]);3<=b.state.stro…
2861state.style,"arrowWidth",ga.prototype.arrowWidth))),c=Math.max(0,Math.min(b,mxUtils.getValue(this.
2862state.style,"size",b))));return new mxPoint(d.x,d.y+f)},function(b,d){this.state.style.size=Math.m…
2863state.style,"fixedSize","0"):null,c=parseFloat(mxUtils.getValue(this.state.style,"size",f?e:b));re…
2864state.style.size=b},!1,c)];d&&mxUtils.getValue(g.style,mxConstants.STYLE_ROUNDED,!1)&&l.push(Ga(g)…
2865 …f&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?c.x-d.x:Math.max(0,Math.min(b,(c.x-d.x)…
2867 this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(d.width,2*(d.x+d.width-f…
2868 m.positionChanged=function(){k.apply(this,arguments);b.view.invalidate(this.state.cell);b.view.vali…
2878 …nction(d,f){b.style[mxConstants.STYLE_STARTSIZE]=1==mxUtils.getValue(this.state.style,mxConstants.…
2879 …on(b){var d=Math.max(0,Math.min(b.height,parseFloat(mxUtils.getValue(this.state.style,"size",G.pro…
2880state.style.size=Math.round(Math.max(0,Math.min(b.height,d.y-b.y)))},!1)]},umlFrame:function(b){re…
2881state.style.height=Math.round(Math.max(1.5*W.prototype.corner,Math.min(b.height,d.y-b.y)))},!1)]},…
2882state.style.size=f},!1)];mxUtils.getValue(b.style,mxConstants.STYLE_ROUNDED,!1)&&d.push(Ga(b));ret…
2883 …(mxUtils.getValue(this.state.style,"size",t.prototype.size)))));return new mxPoint(b.x+b.width-d,b…
2884state.style,"size",d.prototype.size)))));return new mxPoint(b.x+b.width-f,b.y+f)},function(b,d){th…
2885state.style.size=Math.round(Math.max(0,Math.min(b.height,4*(d.y-b.y)/3)))},!1)];mxUtils.getValue(b…
2886state.style.size=f},!1)]},callout:function(b){var d=[ia(b,["size","position"],function(b){var d=Ma…
2887state.style,"base",C.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(b.height…
2888state.style,"size",C.prototype.size))),f=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"…
2889state.style.base=Math.round(Math.max(0,Math.min(b.width,d.x-b.x-f*b.width)))},!1)];mxUtils.getValu…
2890state.style.dy=Math.round(Math.max(0,Math.min(b.height,d.y-b.y)))},!1)];mxUtils.getValue(b.style,m…
2891state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(b.width,d.x-b.x)));this.state.style.jettyH…
2892state.style.dy=Math.round(Math.max(0,Math.min(b.height,d.y-b.y)))},!1)]},tee:function(b){return[ia…
2893state.style,"tabWidth",n.prototype.tabWidth))),f=Math.max(0,Math.min(b.height,mxUtils.getValue(thi…
2894state.style,"tabPosition",n.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(f=b.width-f);this.st…
2895state.style.size=Math.max(0,Math.min(1,(b.y+b.height-d.y)/b.height))},!1)]},tape:function(b){retur…
2896state.style.isoAngle=Math.max(0,50*(d.y-b.y)/b.height)},!0)]},cylinder2:Wa(l.prototype.size),cylin…
2897state.style,"size",this.size))));return new mxPoint(b.x+d,b.y+d)},function(b,d){this.state.style.s…
2898 …eturn new mxPoint(b.x+.75*b.width,b.y+d*b.height/200)},function(b,d){this.state.style.indent=Math.…
2899state.cell)){var d=this.state.style.shape;null==mxCellRenderer.defaultShapes[d]&&null==mxStencilRe…
2900state.shape&&this.state.shape.isRoundable()&&(d=Qa[mxConstants.SHAPE_RECTANGLE]);null!=d&&(d=d(thi…
2978 …bleCells(g.getSelectionCells()),c=0;c<d.length;c++)if(state=g.getView().getState(d[c]),null!=state
2979state.style,"html","0");if("1"==m&&null==b){var k=g.convertValueToString(state.cell);"0"!=mxUtils.…
2980 "1")&&(k=k.replace(/\n/g,"<br/>")),g.cellLabelChanged(state.cell,g.sanitizeHtml(k)),g.setCellStyles…
3005 ….state,n,e)}}});this.addAction("removeWaypoint",function(){var b=e.actions.get("removeWaypoint");n…
3135 …}}};d.fillSketch=function(d,c,f){var e=b.state.strokeColor,g=b.state.strokeWidth,l=b.state.strokeA…
3136 0>k&&(k=f.strokeWidth/2);b.setStrokeAlpha(b.state.fillAlpha);b.setStrokeColor(f.fill||"");b.setStro…
3140state){var f=this.shape.state.cell.id;if(null!=f)for(var e=0;e<f.length;e++)c=(c<<5)-c+f.charCodeA…
3141 …none"===this.canvas.state.fillColor?"":this.canvas.state.fillColor,e="none"===this.canvas.state.gr…
3143 …llStyle","auto");"auto"==g&&(g=mxUtils.hex2rgba(null!=this.shape.state?this.shape.state.view.graph…
3574 …t(b)};EditorUi.prototype.isLucidChartData=function(b){return null!=b&&('{"state":"{\\"Properties\\…