Lines Matching refs:cell

233 …){var m=a.getView().getState(l.cell||l.child,!1);if(null!=m)if(g=!0,l.constructor!=mxGeometryChang…
234 …/10,m.height+=n/10);a.cellRenderer.redraw(m);mxEffects.cascadeOpacity(a,l.cell,100*d/10)}}}10>d&&g…
316 …Event.prototype.getCell=function(){var a=this.getState();return null!=a?a.cell:null};mxMouseEvent.…
325 …=g)g(a);else if(!mxEvent.isConsumed(a)){var c=k(a);b.dblClick(a,null!=c?c.cell:null)}})},release:f…
452 …};mxMorphing.prototype.getDelta=function(a){var b=this.getOriginForCell(a.cell),c=this.graph.getVi…
456 …r d=a.view.graph,e=d.model.getChildCount(a.cell),f=0;f<e;f++){var g=d.view.getState(d.model.getChi…
567cell&&e.call(this,g.getCenterX(),g,!1)),this.vertical&&(d.call(this,g.getCenterY(),g,!0),d.call(th…
570 …scale;if(this.rounded||null!=b&&null==b.cell)c=Math.round((a.x+c)/f)*f-a.x;if(this.rounded||null!=…
679 …){return!this.horizontal&&null!=this.state&&this.state.view.graph.model.isVertex(this.state.cell)};
751 ….updateGroupBounds(a,b,!0,c,d,e,f)};function WeightedCellSorter(a,b){this.cell=a;this.weightedValu…
752 WeightedCellSorter.prototype.cell=null;WeightedCellSorter.prototype.compare=function(a,b){return nu… method in WeightedCellSorter
788 mxCompactTreeLayout.prototype.createNode=function(a){var b={};b.cell=a;b.x=0;b.y=0;b.width=0;b.heig…
789 mxCompactTreeLayout.prototype.apply=function(a,b){var c=this.graph.getModel(),d=a.cell,e=c.getGeome…
792 mxCompactTreeLayout.prototype.processNodeOutgoing=function(a){for(var b=a.child,c=a.cell,d=0,e=[];n…
793 e[k].cell.cell,m=this.getVertexBounds(l),l=this.graph.getEdgesBetween(c,l,!1),n=[],p,q,r=0;r<l.leng…
797 …=0;e<this.row[c].length;e++)f=this.row[c],d=f[e],f=this.getVertexBounds(d.cell),d.theta=(f.x+f.wid…
798 …].length;e++)f=this.row[c],d=f[e],f=this.getVertexBounds(d.cell),this.setVertexLocation(d.cell,thi…
799 …r(var e=null!=a[d]?a[d].child:null;null!=e;){var f=this.getVertexBounds(e.cell);this.rowMinX[b]=Ma…
823 …=c.getGeometry(a.cell);null!=f&&(f=f.clone(),null!=f.offset?(f.offset.x+=d,f.offset.y+=e):f.offset…
827cell=a;this.id=mxObjectIdentity.get(a);this.connectsAsTarget=[];this.connectsAsSource=[]}mxGraphHi… method in mxGraphHierarchyNode
831 mxGraphHierarchyNode.prototype.getCoreCell=function(){return this.cell};function mxGraphHierarchyEd…
854 mxSwimlaneModel.prototype.maxChainDfs=function(a,b,c,d,e){if(null!=b&&(a=mxCellPath.create(b.cell),…
868cell=g;var l;l=b?g.getNextLayerConnectedCells(a):g.getPreviousLayerConnectedCells(a);var m;m=b?a+1…
869 …on MedianCellSorter(){}MedianCellSorter.prototype.medianValue=0;MedianCellSorter.prototype.cell=!1; method in MedianCellSorter
879 …;c.put(g,k)}}a=10*b.length;for(f=0;0<b.length&&f<=a;){var g=b.shift(),e=g.cell,l=g.weightedValue,m…
882cell=g;d[f].rankIndex=f;e[g.id]=d[f];var k;k=c<a?g.getPreviousLayerConnectedCells(a):g.getNextLaye…
883cell;p.visited?(k=q.getGeneralPurposeVariable(a)+q.width/2+this.intraCellSpacing+m+g.width/2,n=-1)…
887 …ngth;e++){var f=b[e];if(f.isVertex()){var g=this.layout.getVertexBounds(f.cell);null!=g?this.orien…
889 …ngth;m++){var n=g[m];if(n.isVertex()){var p=this.layout.getVertexBounds(n.cell);null!=p?this.orien…
897 …ype.compare);for(var n=e.x[0]-e.width/2,p=n+e.width,q=f=0,g=[],m=0;m<l.length;m++){var r=l[m].cell,
900 …or(var e=0,f=this.jettyPositions[a.ids[0]],g=a.isReversed?a.target.cell:a.source.cell,k=this.layou…
905 mxCoordinateAssignment.prototype.setVertexLocation=function(a){var b=a.cell,c=a.x[0]-a.width/2,d=a.…
908 …ource.push(d),mxUtils.remove(d,c.connectsAsSource));a=mxCellPath.create(c.cell);delete b[a]},c,!0,…
978cell=b;this.previous=this.terminal=c;this.source=d}mxTerminalChange.prototype.execute=function(){n…
979cell&&(this.value=this.previous,this.previous=this.model.valueForCellChanged(this.cell,this.previo…
980cell&&(this.geometry=this.previous,this.previous=this.model.geometryForCellChanged(this.cell,this.…
981cell=b;this.previous=this.visible=c}mxVisibleChange.prototype.execute=function(){null!=this.cell&&…
982 …(null!=this.cell){var a=this.cell.getAttribute(this.attribute);null==this.previous?this.cell.value…
1040 …;this.graph.cellRenderer.redraw=function(a,b,c){if(null!=a){var d=x.get(a.cell);if(null!=d&&(d=g.g…
1043 …mxPrintPreview.prototype.getLinkForCellState=function(a){return this.graph.getLinkForCell(a.cell)};
1050cell=b;this.style=null!=c?c:{};this.origin=new mxPoint;this.absoluteOffset=new mxPoint}mxCellState… method in mxCellState
1054 …otype.getVisibleTerminal=function(a){a=this.getVisibleTerminalState(a);return null!=a?a.cell:null};
1057 mxCellState.prototype.setState=function(a){this.view=a.view;this.cell=a.cell;this.style=a.style;thi…
1058 mxCellState.prototype.clone=function(){var a=new mxCellState(this.view,this.cell,this.style);if(nul…
1071 mxCellEditor.prototype.applyValue=function(a,b){this.graph.labelChanged(a.cell,b,this.trigger)};mxC…
1072 …lue=function(a,b){var c=mxUtils.htmlEntities(this.graph.getEditingValue(a.cell,b),!1);8!=document.…
1078 …ing(!0);else if(null!=this.textarea){var b=this.graph.getModel().isEdge(a.cell),c=this.graph.getVi…
1082 a.absoluteOffset.y,b.width,b.height)}if(this.graph.isWrapping(a.cell)&&(2<=this.bounds.width||2<=th…
1085 …is.textarea.style.top=Math.max(0,Math.round(this.bounds.y+1))+"px"),this.graph.isWrapping(a.cell)&&
1094 this.autoSize&&(this.graph.model.isEdge(c.cell)||"fill"!=c.style[mxConstants.STYLE_OVERFLOW])&&wind…
1097 …his.align&&this.graph.setCellStyles(mxConstants.STYLE_ALIGN,this.align,[a.cell])}finally{this.grap…
1099 mxCellEditor.prototype.getEditorBounds=function(a){var b=this.graph.getModel().isEdge(a.cell),c=thi…
1102 …ax(c.height,a.text.boundingBox.height)));this.graph.getModel().isVertex(a.cell)&&(b=mxUtils.getVal…
1110 …le[mxConstants.STYLE_SHAPE]);null==b&&(b=a.view.graph.getModel().isEdge(a.cell)?this.defaultEdgeSh…
1114cell):"swimlane"==f?(d[b]=c==mxConstants.STYLE_STROKECOLOR||c==mxConstants.STYLE_FONTCOLOR?"#00000…
1115 …le[c]))}};mxCellRenderer.prototype.getLabelValue=function(a){return a.view.graph.getLabel(a.cell)};
1116 …tModel().isEdge(a.cell);if(0<a.style[mxConstants.STYLE_FONTSIZE]||null==a.style[mxConstants.STYLE_…
1117 …Constants.STYLE_LABEL_BORDERCOLOR],c.isWrapping(a.cell)&&c.isHtmlLabel(a.cell),c.isLabelClipped(a.
1120 mxUtils.bind(this,function(b){this.isLabelEvent(a,b)&&(c.dblClick(b,a.cell),mxEvent.consume(b))}))}…
1121 mxCellRenderer.prototype.createCellOverlays=function(a){var b=a.view.graph.getCellOverlays(a.cell),…
1123 …Editing());b.fireEvent(new mxEventObject(mxEvent.CLICK,"event",c,"cell",a.cell))});mxEvent.addGest…
1124 "event",c,"cell",a.cell))})};mxCellRenderer.prototype.createControl=function(a){var b=a.view.graph,…
1125 …ntrolClickHandler||b.isEnabled()){var d=!b.isCellCollapsed(a.cell);b.foldCells(d,!1,[a.cell],null,…
1126 mxCellRenderer.prototype.initControl=function(a,b,c,d){var e=a.view.graph;e.isHtmlLabel(a.cell)&&mx…
1130 …ck",mxUtils.bind(this,function(c){this.isShapeEvent(a,c)&&(b.dblClick(c,a.cell),mxEvent.consume(c)…
1131 …h,d=this.getLabelValue(a),e=c.isWrapping(a.cell),f=c.isLabelClipped(a.cell),g=a.view.graph.isHtmlL…
1137 …ge(a.cell),e=new mxRectangle(a.absoluteOffset.x,a.absoluteOffset.y);if(d){var f=a.text.getSpacing(…
1140 …)}e=a.text.getTextRotation();0!=e&&null!=a&&a.view.graph.model.isVertex(a.cell)&&(c=a.getCenterX()…
1142 …on(d,k){var g=k.overlay.getBounds(a);if(!a.view.graph.getModel().isEdge(a.cell)&&null!=a.shape&&0!…
1145 …le,e=a.getCenterX(),f=a.getCenterY();if(!a.view.graph.getModel().isEdge(a.cell)&&(e=a.x+b*d,f=a.y+…
1146 …X(),a.getCenterY())),e=f.x,f=f.y)}return a.view.graph.getModel().isEdge(a.cell),new mxRectangle(Ma…
1150 …ll==a.shape&&null!=a.view.graph.container&&a.cell!=a.view.currentRoot&&(d.isVertex(a.cell)||d.isEd…
1155 …ePoints,l=k[0],m=k[k.length-1],k=!1;if(null!=b){var n=g.getCellGeometry(b.cell);n.relative?k=.5>=n…
1156 …nts.DIRECTION_MASK_WEST)}else return;n=!0;null!=c&&(g=g.getCellGeometry(c.cell),g.relative?n=.5>=g…
1173 …var f=a.view.graph,g=null==l?!1:f.getModel().isEdge(l.cell),k=null==m?!1:f.getModel().isEdge(m.cel…
1200 …graph.getModel(),e=d.getChildCount(a.cell),f=0;f<e;f++){var g=this.getBoundingBox(this.getState(d.…
1209 …lid=!1;if(null==c.style||c.invalidStyle)c.style=this.graph.getCellStyle(c.cell),c.invalidStyle=!1;…
1211cell!=this.currentRoot){var b=this.graph.getModel(),c=this.getState(b.getParent(a.cell));null!=c&&…
1212 e.relative&&null!=c?b.isEdge(c.cell)?(d=this.getPoint(c,e),null!=d&&(a.origin.x+=d.x/this.scale-c.o…
1213 …le*e.height,a.unscaledHeight=e.height,b.isVertex(a.cell)&&this.updateVertexState(a,e),b.isEdge(a.c…
1214 …=this.graph.getModel(),d=this.getState(c.getParent(a.cell));if(b.relative&&null!=d&&!c.isEdge(d.ce…
1215cell,!0)&&null==c||null==c&&null==b.getTerminalPoint(!0)||null!=this.graph.model.getTerminal(a.cel…
1216 c.length||null==c[0]||null==c[c.length-1])?this.clear(a.cell,!0):(this.updateEdgeBounds(a),this.upd…
1219 …var b=this.graph.getModel().isEdge(a.cell)&&this.graph.keepEdgesInForeground||this.graph.getModel(…
1221 …this.scale;d=this.translate;var f=a.origin,e=this.graph.getCellGeometry(a.cell).getTerminalPoint(c…
1230 …<d.height)){var e=new mxPoint(b.x,b.y),g=b=!1;this.graph.model.isVertex(a.cell)&&(b=1==mxUtils.get…
1239 …etRelativePoint=function(a,b,c){var d=this.graph.getModel().getGeometry(a.cell);if(null!=d){var e=…
1241 …null!=b&&0<b.length&&null!=a.segments){var c=this.graph.getCellGeometry(a.cell);if(c.relative){var…
1278 …var k=null;g instanceof mxChildChange?k=g.child:null!=g.cell&&g.cell instanceof mxCell&&(k=g.cell)…
1282cell):a instanceof mxValueChange?this.view.invalidate(a.cell,!1,!1):a instanceof mxStyleChange?(th…
1283 null!=a&&(a.invalidStyle=!0)):null!=a.cell&&a.cell instanceof mxCell&&this.removeStateForCell(a.cel…
1291 …his,function(a){var b=this.isCellSelected(a.cell);e=e||b;return!e||b||a.cell!=c&&this.model.isAnce…
1356 …=k.width+8);k=this.cellRenderer.getLabelValue(d);null!=k&&0<k.length?(this.isHtmlLabel(d.cell)||(k=
1379 0;if(this.getModel().isVertex(b.cell)){var m=b.style[mxConstants.STYLE_FLIPH],n=b.style[mxConstants…
1387 …is.view.getPerimeterPoint(a,d,!1);else if(l+=k,this.getModel().isVertex(a.cell)){k=1==a.style[mxCo…
1426 …oldingEnabled&&!this.getModel().isEdge(a.cell)){var b=this.isCellCollapsed(a.cell);if(this.isCellF…
1429 …overlay.toString())}),null==e&&(c=this.selectionCellsHandler.getHandler(a.cell),null!=c&&"function…
1430 e&&(e=this.getTooltipForCell(a.cell)));return e};mxGraph.prototype.getTooltipForCell=function(a){re…
1484 …a)if(this.model.isEdge(a.cell))var b=a.getVisibleTerminalState(!0),c=a.getVisibleTerminalState(!1)…
1505 mxCellOverlay.prototype.getBounds=function(a){var b=a.view.graph.getModel().isEdge(a.cell),c=a.view…
1536 …eof mxVisibleChange||a instanceof mxStyleChange?this.addCellsWithLayout(a.cell):[]};mxLayoutManage…
1553 …;e=null!=e?e:!0;var f=this.deltas.get(a.cell);null==f?(f={point:new mxPoint(b,c),state:a},this.del…
1555cell)){a.view.updateCellState(a);var e=d.getGeometry(a.cell);0==b&&0==c||null==e||e.relative&&null…
1556cell)&&a.view.updateCellState(a);var f=this.graph.getCellGeometry(a.cell),g=a.view.getState(e.getP…
1557 …var b=this.graph.getModel(),c=b.getEdgeCount(a.cell),d=0;d<c;d++){var e=a.view.getState(b.getEdgeA…
1567cell)))for(var c=this.graph.model,d=this.graph.view.getState(c.getParent(b.cell));null!=d&&!this.g…
1569 …ph.popupMenuHandler.isPopupTrigger(a)){var b=a.getCell();null==b&&(b=this.cell);this.selectCellFor…
1572 …alCellForEvent(b);this.delayedSelection=this.isDelayedSelection(c,b);this.cell=null;this.isSelectE…
1573 …Cloneable())?this.start(c,b.getX(),b.getY()):this.delayedSelection&&(this.cell=c);this.cellWasClic…
1578 …unction(a,b,c,d){this.cell=a;this.first=mxUtils.convertPoint(this.graph.container,b,c);this.cells=…
1579cell),this.cell);for(b=0;b<a.length;b++)c=this.graph.view.getState(a[b]),null==c||g.get(c)||g.put(…
1582 …Handler.prototype.isValidDropTarget=function(a,b){return this.graph.model.getParent(this.cell)!=a};
1584 …ction(a,b){var c=this.graph;if(b.isConsumed()||!c.isMouseDown||null==this.cell||null==this.first||…
1586 …,mxUtils.bind(this,function(a,b,c){return 0<=mxUtils.indexOf(this.cells,a.cell)})),k=!0,l=null;thi…
1587 …etView().getState(g),null!=m&&(g=null==c.getEdgeValidationError(null,this.cell,g)?mxConstants.VALI…
1590 …ar f=this.graph.view.getState(e.cell);f!=e&&(e.destroy(),null!=f?this.allCells.put(e.cell,f):this.…
1591cell))&&((e.x+=a,e.y+=b,this.cloning)?null!=e.text&&(e.text.updateBoundingBox(),null!=e.text.bound…
1592cell)){var g=this.graph.getCellGeometry(f.cell),k=[];if(null!=g&&null!=g.points)for(var l=0;l<g.po…
1593 …alPoint(new mxPoint(g.x+a,g.y+b),!0),g=null);null!=l&&this.isCellMoving(l.cell)?f.view.updateFixed…
1594 …b<a.length;b++){var c=this.graph.selectionCellsHandler.getHandler(a[b][0].cell);null!=c&&c.redraw(…
1597 "");this.cloning||null!=b.text&&b.text.updateBoundingBox();b.view.invalidate(b.cell)})),this.graph.…
1598cell||null==this.first||null==this.shape&&!this.livePreviewUsed||null==this.currentDx||null==this.…
1600 …nt=this.currentDy=this.currentDx=this.suspended=null;this.cloning=!1;this.cell=this.cells=this.fir…
1602 …is.graph.getCloneableCells(a));var g=this.graph.getModel().getParent(this.cell);null==e&&null!=f&&…
1604 …h.model.isEdge(a.cell)||this.graph.model.isVertex(a.cell))&&this.graph.isCellDeletable(a.cell)&&0=…
1638 …s.remove(a.cell);if(null!=b){var c=b.index,d=b.startX,e=b.startY;b.destroy();b=this.graph.createHa…
1646cell));null!=this.iconState?(this.redrawIcons(this.icons,this.iconState),this.constraintHandler.re…
1650 …()?null!=this.previous&&(this.error=this.validateConnection(this.previous.cell,c),null!=this.error…
1657 …tCenterX(),e=b.getCenterY();if(this.graph.isSwimlane(b.cell)){var f=this.graph.getStartSize(b.cell
1660 …edgeState){var c=this.graph.getPointForEvent(b.getEvent());this.edgeState.cell.geometry.setTermina…
1661 …pe.isImmediateConnectSource=function(a){return!this.graph.isCellMovable(a.cell)};mxConnectionHandl…
1664 ….marker.highlight.state&&this.marker.highlight.state.cell==this.constraintHandler.currentFocus.cel…
1665cell,"transparent"),null!=this.previous&&(this.error=this.validateConnection(this.previous.cell,th…
1666 …lidState());null==this.currentState||this.isCellEnabled(this.currentState.cell)||(this.constraintH…
1687cell:null,f=null;null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.curr…
1688 …=this.previous&&null!=this.marker.validState&&this.previous.cell==this.marker.validState.cell&&thi…
1693 …t(m)));var n=k=null;null!=this.edgeState&&(k=this.edgeState.cell.value,n=this.edgeState.cell.style…
1694 …r.currentConstraint);null!=this.edgeState&&e.setGeometry(g,this.edgeState.cell.geometry);m=e.getPa…
1703 …null!=this.currentFocus&&null==this.graph.view.getState(this.currentFocus.cell)?this.reset():this.…
1710 …s.currentFocus&&null==k&&this.graph.getModel().isVertex(this.currentFocus.cell)&&mxUtils.intersect…
1713 …&&null!=this.focusIcons){var a=this.graph.view.getState(this.currentFocus.cell);this.currentFocus=…
1715 …raints=null!=b&&!this.isStateIgnored(b,c)&&this.graph.isCellConnectable(b.cell)?this.isEnabled()?t…
1732 …prototype.copyStyle=function(a){this.graph.setCellStyles(a,this.state.style[a],[this.state.cell])};
1740 …){this.setVisible(!0);this.state.style=this.graph.getCellStyle(this.state.cell);this.positionChang…
1741 ….cellRenderer.redraw(this.state,!0),this.state.view.invalidate(this.state.cell),this.state.invalid…
1745cell)&&!this.graph.isCellLocked(this.state.cell)&&this.selectionBorder.setCursor(mxConstants.CURSO…
1746 [];if(a||this.graph.isLabelMovable(this.state.cell)&&2<=this.state.width&&2<=this.state.height){var…
1747cell);null==a||a.relative||this.graph.isSwimlane(this.state.cell)||!this.graph.isLabelMovable(this…
1748 …,this.sizers.push(this.rotationShape));this.graph.isCellLocked(this.state.cell)||(this.customHandl…
1749 …otationEnabled&&!this.graph.isCellLocked(this.state.cell)&&this.graph.isCellRotatable(this.state.c…
1751 mxVertexHandler.prototype.updateMinBounds=function(){var a=this.graph.getChildCells(this.state.cell
1753 ….getSelectionColor=function(){return this.graph.isCellEditable(this.state.cell)?mxConstants.VERTEX…
1761cell),this.inTolerance=!0,this.childOffsetY=this.childOffsetX=0,this.index=c,this.startX=a,this.st…
1764 …[mxEvent.CUSTOM_HANDLE-c].setVisible(!0),c=this.graph.getEdges(this.state.cell),this.edgeHandlers=…
1770 …ype.isGhostPreview=function(){return 0<this.state.view.graph.model.getChildCount(this.state.cell)};
1774 …is.startY,d=k*l+g*m,l=g*l-k*m,m=d,g=this.graph.getCellGeometry(this.state.cell);this.unscaledBound…
1775 …rainChild(this.state.cell)&&(d=this.graph.getCellContainmentArea(this.state.cell),null!=d&&(l=this…
1779 this.graph.isCellCollapsed(this.state.cell)||0==b&&0==c?this.childOffsetY=this.childOffsetX=0:(this…
1780 …x=0;this.state.absoluteOffset.y=0;b=this.graph.getCellGeometry(this.state.cell);null!=b&&(c=b.offs…
1781 ….cellRenderer.redraw(this.state,!0);this.state.view.invalidate(this.state.cell);this.state.invalid…
1784cell,!1,!1),this.state.view.validate());this.graph.getModel().beginUpdate();try{if(d<=mxEvent.CUST…
1785 …te.style[mxConstants.STYLE_ROTATION]||0);0!=f&&this.rotateCell(this.state.cell,f)}else this.rotate…
1786 …w.scale,r=this.isRecursiveResize(this.state,b);this.resizeCell(this.state.cell,this.roundLength(n/…
1795 …Math.round(q/f)*f;e=q-p;c=r-a;k&&(k=this.graph.getCellGeometry(this.state.cell),null!=k&&(k=k.widt…
1806 …tVisible=function(){return!this.graph.isCellSelected(this.graph.model.getParent(this.state.cell))};
1807 …a=this.isParentHighlightVisible(),b=this.graph.model.getParent(this.state.cell),c=this.graph.view.…
1811 …f(null!=this.parentHighlight){var a=this.graph.model.getParent(this.state.cell),a=this.graph.view.…
1817 …his.shape.node,this.graph,this.state);this.graph.isCellMovable(this.state.cell)&&this.shape.setCur…
1818cell)&&(this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells||0>=mxGraphHandler.protot…
1822 ….getSelectionColor=function(){return this.graph.isCellEditable(this.state.cell)?mxConstants.EDGE_S…
1824 …(a){var c=mxCellMarker.prototype.getCell.apply(this,arguments);c!=b.state.cell&&null!=c||null==b.c…
1825cell||null!=c&&!b.graph.connectableEdges&&e.isEdge(c)||e.isAncestor(b.state.cell,c))c=null;this.gr…
1826 …pe.validateConnection=function(a,b){return this.graph.getEdgeValidationError(this.state.cell,a,b)};
1827 mxEdgeHandler.prototype.createBends=function(){for(var a=this.state.cell,b=[],c=0;c<this.abspoints.…
1828 …eVirtualBends=function(){var a=[];if(this.graph.isCellBendable(this.state.cell))for(var b=1;b<this…
1829 …state.getVisibleTerminalState(!1),d=this.graph.getCellGeometry(this.state.cell);return(null!=d?thi…
1836 mxEdgeHandler.prototype.mouseDown=function(a,b){if(this.graph.isCellEditable(this.state.cell)){var …
1838 …=c==mxEvent.LABEL_HANDLE;if(this.isSource||this.isTarget){if(a=this.state.cell,b=this.graph.model.…
1843 ….marker.highlight.state&&this.marker.highlight.state.cell==this.constraintHandler.currentFocus.cel…
1844cell,"transparent"),a=this.graph.getModel(),a=this.graph.view.getTerminalPort(this.state,this.grap…
1845cell))&&this.constraintHandler.reset(),a;if(this.graph.isIgnoreTerminalEvent(a.getEvent()))return …
1846 …etPreviewPoints=function(a,b){var c=this.graph.getCellGeometry(this.state.cell),c=null!=c.points?c…
1859 …ll==c||this.isCellEnabled(c.cell)||(c=null,this.marker.reset());var e=this.clonePreviewState(this.…
1861 …ull!=this.shape.node&&(this.shape.node.style.display="");var c=this.state.cell,d=this.index;this.i…
1862 …onstraint&&null!=this.constraintHandler.currentFocus&&(d=this.constraintHandler.currentFocus.cell),
1863 …e&&"white"!=this.marker.highlight.shape.stroke&&(d=this.marker.validState.cell),null!=d){var f=thi…
1865cell),this.graph.getView().validate(this.state.cell))}else this.graph.isToggleEvent(b.getEvent())&…
1868 …=this.graph.getView().getState(this.graph.getModel().getParent(this.state.cell));null!=c&&(a.x-=c.…
1869 …e.moveLabel=function(a,b,c){var d=this.graph.getModel(),e=d.getGeometry(a.cell);if(null!=e){var f=…
1870 (g.x+(k.x-g.x)/2))/f),Math.round((c-(g.y+(k.y-g.y)/2))/f)),e.x=0,e.y=0)}d.setGeometry(a.cell,e)}};m…
1874cell);b=new mxPoint(b,c);if(null!=d){var d=d.clone(),e=this.graph.view.translate;c=this.graph.view…
1875 …ellGeometry(this.state.cell);null!=c&&null!=c.points&&(c=c.clone(),c.points.splice(b-1,1),this.gra…
1876 mxEdgeHandler.prototype.getHandleFillColor=function(a){a=0==a;var b=this.state.cell,c=this.graph.ge…
1877 …absolutePoints.slice();var b=this.graph.getModel().getGeometry(this.state.cell);if(null!=b&&(b=b.p…
1878cell,b=this.labelShape.bounds;this.label=new mxPoint(this.state.absoluteOffset.x,this.state.absolu…
1890 …f(null!=this.parentHighlight){var a=this.graph.model.getParent(this.state.cell),a=this.graph.view.…
1893 …!mxEvent.isConsumed(a)&&this.flipEnabled&&(this.graph.flipEdge(this.state.cell,a),mxEvent.consume(…
1894 …b.setCursor(this.getCursorForBend());this.graph.isCellBendable(this.state.cell)||(b.node.style.dis…
1898 …nerBends=function(a,b){var c=this.graph.getModel().getGeometry(this.state.cell),d=this.state.absol…
1909 …(b);var c=this.getCurrentPoints();if(this.graph.isCellBendable(this.state.cell)){null==this.points…
1911 …pe.redrawInnerBends=function(a,b){if(this.graph.isCellBendable(this.state.cell)){var c=this.getCur…
1928 …function(){if(null!=this.state){var a=this.graph.view.getState(this.state.cell);null==a?this.hide(…
1933 …this.shape.scale=this.state.view.scale,this.graph.model.isEdge(this.state.cell)?(this.shape.stroke…
1967 …],["cell"]);c.afterDecode=function(a,c,f){mxUtils.isNode(f.cell)&&(f.cell=a.decodeCell(f.cell,!1))…
2137 …tyle[e]&&(b.push(d.style[e]),f.push(e));for(var l=k.getModel().getStyle(d.cell),g=null!=l?l.split(…
2138 …isEdge(d.cell)?k.currentEdgeStyle={}:k.currentVertexStyle={};this.fireEvent(new mxEventObject("sty…
2168 …ph.connectVertex(d.cell,e,this.graph.defaultEdgeLength,f,null,null,mxUtils.bind(this,function(f,l,…
2169 for(g.consume();null!=m&&b.model.isVertex(m)&&null!=f&&f.relative;)cell=m,m=b.model.getParent(cell)…
2170 …iteParent(null!=this.hoverIcons.currentState?this.hoverIcons.currentState.cell:null),p=c.showShape…
2319 …())&&null!=g)if(this.model.isEdge(g.cell))if(t=new mxPoint(e.getGraphX(),e.getGraphY()),q=this.isC…
2320cell);null!=m&&null!=m.bends&&0<m.bends.length&&(l=m.getHandleForEvent(e))}else if(!this.panningHa…
2321cell)&&!this.isCellSelected(g.cell)){var v=this.model.getParent(g.cell),m=this.model.getParent(v);…
2322cell||mxUtils.intersects(n,new mxRectangle(g.x+u.width*k-2,g.y,2,u.height*k)))v=this.selectionCell…
2323cell,e.getEvent()),m=this.selectionCellsHandler.getHandler(g.cell),null!=m&&(u=mxEvent.CUSTOM_HAND…
2324 …aphY())>g){var k=this.selectionCellsHandler.getHandler(e.cell);null==k&&this.model.isEdge(e.cell)&…
2327cell)||(this.selectionCellsHandler.handlers.put(e.cell,k),this.selectCellForEvent(e.cell,c.getEven…
2329cell)&&(n=this.model.getParent(e.cell),m=this.model.getParent(n),!this.isCellSelected(m)))if(mxUti…
2330 …s.isTableCell(n.cell)||this.isTableRow(n.cell)||this.isTable(n.cell));){if(this.isSwimlane(n.cell)…
2331cell))}}null!=k&&e.setCursor(k)}}),mouseUp:mxUtils.bind(this,function(b,c){l=t=d=f=null})})}this.c…
2334 function(b,d){return null==b.cell?"#ffa500":mxConstants.GUIDE_COLOR};this.graphHandler.createPrevie…
2339 …CellLocked(b.sourceState.cell);if(this.isEnabled()&&!d||b.isConsumed())return E.apply(this,argumen…
2341 …!=b.sourceState&&this.isCellLocked(b.sourceState.cell);return this.getCursorForCell(d?b.sourceStat…
2343 …nt").getState();O=null==f||this.isSelectionEmpty()||this.isCellSelected(f.cell)?null:this.getSelec…
2344 …ph;return d&&(f.isCellSelected(b.cell)||f.isTableRow(b.cell)&&f.selectionCellsHandler.isHandled(f.…
2375 …ize=function(b){return!this.isSwimlane(b.cell)&&0<this.model.getChildCount(b.cell)&&!this.isCellCo…
2384 …r(e)||mxEvent.isTouchEvent(e))){if(!this.isEnabled()||this.isCellLocked(b.cell))b=this.isBlankLink…
2394 …odel.isEdge(g.cell)&&null!=g.absolutePoints&&1<g.absolutePoints.length?e.push(this.createEdgeWipeA…
2395 …;b.shape.redraw();0==t&&Graph.setOpacityForNodes(this.getNodesForCells([b.cell]),1);null!=b.text&&…
2396 …b.text.node.style.opacity=""),Graph.setOpacityForNodes(this.getNodesForCells([b.cell]),c?1:0))})}};
2397 …;b.shape.redraw();0==k&&Graph.setOpacityForNodes(this.getNodesForCells([b.cell]),1);null!=b.text&&…
2398 b.text.node&&(b.text.node.style.opacity=""),Graph.setOpacityForNodes(this.getNodesForCells([b.cell]…
2419 …;var n=this.view.translate,l=n.x*e,n=n.y*e;null!=m&&this.model.isVertex(m.cell)&&(l=m.x,n=m.y);thi…
2432 … g=this.getCellsBeyond(b.x,b.y,c,!0,!0);for(c=0;c<g.length;c++)if(g[c]!=b.cell){var p=this.view.ge…
2453 …nts);null==this.currentState||this.graph.isCellSelected(this.currentState.cell)||!mxEvent.isTouchE…
2462 …seDown=!0,c=this.graph.selectionCellsHandler.getHandler(this.currentState.cell),null!=c&&c.setHand…
2463 …yle,mxConstants.STYLE_EDGE,null)&&(b=this.getDirection(),c.cell.style=mxUtils.setStyle(c.cell.styl…
2464cell)||this.graph.isCloneEvent(k)||g.getVisibleTerminalState(!0)!=b&&g.getVisibleTerminalState(!1)…
2465 …Event();this.graph.selectCellsForConnectVertex(this.graph.connectVertex(b.cell,c,this.graph.defaul…
2466 …e&&this.graph.model.isVertex(this.currentState.cell)&&this.graph.isCellConnectable(this.currentSta…
2467 …e.cell);this.graph.isTableRow(this.currentState.cell)&&(c=this.graph.selectionCellsHandler.getHand…
2470 …&&g==b&&(b=g=k=c=null);var p=this.graph.getCellGeometry(this.currentState.cell),t=mxUtils.bind(thi…
2471 this.currentState.cell)||this.graph.isSwimlane(b)||!(null==d||null==p||d.height<3*p.height&&d.width…
2473 …uteBoundingBox=function(){var b=this.graph.model.isEdge(this.currentState.cell)?null:mxRectangle.f…
2474 HoverIcons.prototype.getState=function(b){if(null!=b)if(b=b.cell,this.graph.getModel().contains(b))…
2475 …,"1"))this.reset();else{null!=b&&null!=b.cell.geometry&&b.cell.geometry.relative&&this.graph.model…
2492 …p.setVisible(t[q],n);n=this.graph.getCurrentCellStyle(t[q],!0);m={style:n,cell:t[q],geo:m};if(null… property in AnonymousFunctioncbe8b5113f300.m
2497 …null!=d?d:!0;var f=this.getState(b);null!=f&&d&&this.graph.model.isEdge(f.cell)&&null!=f.style&&1!…
2498cell)&&null!=f.style&&1!=f.style[mxConstants.STYLE_CURVED]&&this.validEdges.push(f);return f};var …
2500 function(b){g.apply(this,arguments);this.graph.model.isEdge(b.cell)&&1!=b.style[mxConstants.STYLE_C…
2509 …lders")&&null!=c.state&&(e=c.state.view.graph.replacePlaceholders(c.state.cell,e));return e};var l…
2551cell)||this.isTableRow(b.cell))&&(null==b.previous&&null!=b.geometry||null!=b.previous&&!b.previou…
2552 "object"==typeof b.cell.value&&this.invalidateDescendantsWithPlaceholders(b.cell)};Graph.prototype.…
2556cell)||this.model.isVertex(e.cell))&&this.isCellDeletable(e.cell)&&this.isTransparentState(e)){for…
2561 …his.isCellLocked(this.getDefaultParent()))&&(null==c||this.isCellLocked(c.cell))||!(null!=c||mxCli…
2564 …metry=new mxGeometry(0,0,0,0);c.vertex=!0;if(null!=f&&this.model.isEdge(f.cell)){c.style="edgeLabe…
2566 …utosize=1;";this.getModel().beginUpdate();try{this.addCells([c],null!=f?f.cell:null),this.fireEven…
2567 …:0,updateCurrentState:function(b){var d=b.sourceState;if(null==d||null==l.getLinkForCell(d.cell))b=
2568 …null,function(b,d,f){return null==l.getLinkForCell(b.cell)}),d=null==d||l.model.isAncestor(b,d.cel…
2572 …l.getAbsoluteUrl(l.getLinkForCell(b.cell));null!=this.currentLink&&(this.currentTarget=l.getLinkTa…
2578 …;g++){var q=this.view.getState(this.model.getParent(f[g].cell)),n=this.getCellGeometry(f[g].cell),…
2579cell,n))}}finally{this.getModel().endUpdate()}}}return d};Graph.prototype.isCloneEvent=function(b)…
2585 …rgetForCellState=function(b,d){return b.view.graph.getLinkTargetForCell(b.cell)};k.drawCellState=f…
2586 b.view.graph,c=null!=A?A.get(b.cell):f.isCellSelected(b.cell),e=f.model.getParent(b.cell);!(g&&null…
2623 …rGetInitialValue.apply(this,arguments);var f=this.graph.getEditingValue(b.cell,d);"1"==mxUtils.get…
2625 ….isCellDeletable(b.cell)&&0==this.graph.model.getChildCount(b.cell)&&this.graph.isTransparentState…
2626 …EL_BACKGROUNDCOLOR,null);null!=d&&d!=mxConstants.NONE||!(null!=b.cell.geometry&&0<b.cell.geometry.…
2632 …Event=function(b,d){return!(!this.graph.isSwimlane(b.cell)&&0<this.graph.model.getChildCount(b.cel…
2633cell)&&"1"==mxUtils.getValue(b.style,"recursiveResize","1")&&null==mxUtils.getValue(b.style,"child…
2634cell)?this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.ce…
2635cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderIn…
2636cell)){var d=this.graph,f=d.model,c=this.state,e=this.selectionBorder,g=this;null==b&&(b=[]);var l…
2638 …ld);l.redraw=function(){if(null!=this.shape){var b=d.getActualStartSize(c.cell);this.shape.stroke=…
2639 …ableColumnWidth(this.state.cell,H,v);else if(!g.blockDelayedSelection){var f=d.getCellAt(b.getGrap…
2641 …this.state.cell,m,!mxEvent.isShiftDown(b.getEvent()));else if(!g.blockDelayedSelection){var f=d.ge…
2643cell);d++)mxUtils.bind(this,function(d){if(null!=d&&b.isVertex(d.cell)){var f=mxUtils.createImage(…
2644cell,mxEvent.getClientX(b),mxEvent.getClientY(b),this.graph.getSelectionCells()),this.graph.graphH…
2645 …is.customHandles=this.createCustomHandles()}this.graph.isTable(this.state.cell)&&this.refreshMoveH…
2646 f=this.graph.isTable(this.state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!…
2647 …s.sizers.length&&null!=this.sizers[0]?(d/=2,this.graph.isTable(this.state.cell)&&(d+=7),b.x=this.s…
2674cell),c=this.graph.getCellGeometry(b.cell);return d.isEdge(f)&&null!=c&&c.relative&&2>b.width&&2>b…
2675 …LLCOLOR,mxConstants.NONE);this.state.view.graph.model.isVertex(this.state.cell)&&b==mxConstants.NO…
2676 …Styles(mxConstants.STYLE_ROTATION,b,[this.state.cell])):this.state.view.graph.turnShapes([this.sta…
2678cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&(this.graph.isTableCell…
2679 …is,function(b,d){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell),this.graph.getLink…
2680 …ITING_STOPPED,this.editingHandler);d=this.graph.getLinkForCell(this.state.cell);f=this.graph.getLi…
2682 …ick",mxUtils.bind(this,function(b){this.graph.setSelectionCell(this.state.cell);this.graph.editLin…
2683 [mxResources.get("link")]),mxUtils.bind(this,function(b){this.graph.setLinkForCell(this.state.cell,…
2684 …ler=mxUtils.bind(this,function(d,f){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell),
2685 …ent.CHANGE,this.changeHandler);var d=this.graph.getLinkForCell(this.state.cell),f=this.graph.getLi…
2701 …Foreground=function(b,d,f,c,e){var z=this.state.view.graph,g=z.getActualStartSize(this.state.cell),
2702 l=z.model.getChildCells(this.state.cell,!0);if(0<l.length){var k="0"!=mxUtils.getValue(this.state.s…
2868 m.positionChanged=function(){k.apply(this,arguments);b.view.invalidate(this.state.cell);b.view.vali…
2878 …nt.isControlDown(d.getEvent())&&(d=b.view.graph,d.isTableRow(b.cell)||d.isTableCell(b.cell))){for(…
2879 c=d.model.getParent(b.cell),c=d.model.getChildCells(c,!0),e=[],g=0;g<c.length;g++)c[g]!=b.cell&&d.i…
2899cell)){var d=this.state.style.shape;null==mxCellRenderer.defaultShapes[d]&&null==mxStencilRegistry…
2979cell);"0"!=mxUtils.getValue(state.style,"nl2Br","1")&&(k=k.replace(/\n/g,"").replace(/<br\s*.?>/g,…
2980 "1")&&(k=k.replace(/\n/g,"<br/>")),g.cellLabelChanged(state.cell,g.sanitizeHtml(k)),g.setCellStyles…
3035 …Renderer.redraw=function(b){b.view.graph.isEditing(b.cell)&&(b.view.graph.scrollCellToVisible(b.ce…
3140 …e=function(b,d){var c=1;if(null!=this.shape.state){var f=this.shape.state.cell.id;if(null!=f)for(v…
3237 …ustomPropAdded=!0,e.shape.customProperties=e.shape.customProperties||[],e.cell.vertex?Array.protot…
4664cell),isNaN(f)||(a.stroke(),f=g*Math.round(100*f)/1E3,10!=g&&0!=f&&a.text(e,.5*(c-10),0,0,f.toStri…