Lines Matching refs:cell

267 …){var m=a.getView().getState(l.cell||l.child,!1);if(null!=m)if(g=!0,l.constructor!=mxGeometryChang…
268 …/10,m.height+=n/10);a.cellRenderer.redraw(m);mxEffects.cascadeOpacity(a,l.cell,100*d/10)}}}10>d&&g…
350 …Event.prototype.getCell=function(){var a=this.getState();return null!=a?a.cell:null};mxMouseEvent.…
359 …=g)g(a);else if(!mxEvent.isConsumed(a)){var c=k(a);b.dblClick(a,null!=c?c.cell:null)}})},release:f…
486 …};mxMorphing.prototype.getDelta=function(a){var b=this.getOriginForCell(a.cell),c=this.graph.getVi…
490 …r d=a.view.graph,e=d.model.getChildCount(a.cell),f=0;f<e;f++){var g=d.view.getState(d.model.getChi…
601cell&&e.call(this,g.getCenterX(),g,!1)),this.vertical&&(d.call(this,g.getCenterY(),g,!0),d.call(th…
604 …scale;if(this.rounded||null!=b&&null==b.cell)c=Math.round((a.x+c)/f)*f-a.x;if(this.rounded||null!=…
713 …){return!this.horizontal&&null!=this.state&&this.state.view.graph.model.isVertex(this.state.cell)};
785 ….updateGroupBounds(a,b,!0,c,d,e,f)};function WeightedCellSorter(a,b){this.cell=a;this.weightedValu…
786 WeightedCellSorter.prototype.cell=null;WeightedCellSorter.prototype.compare=function(a,b){return nu… method in WeightedCellSorter
822 mxCompactTreeLayout.prototype.createNode=function(a){var b={};b.cell=a;b.x=0;b.y=0;b.width=0;b.heig…
823 mxCompactTreeLayout.prototype.apply=function(a,b){var c=this.graph.getModel(),d=a.cell,e=c.getGeome…
826 mxCompactTreeLayout.prototype.processNodeOutgoing=function(a){for(var b=a.child,c=a.cell,d=0,e=[];n…
827 e[k].cell.cell,m=this.getVertexBounds(l),l=this.graph.getEdgesBetween(c,l,!1),n=[],p,q,r=0;r<l.leng…
831 …=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…
832 …].length;e++)f=this.row[c],d=f[e],f=this.getVertexBounds(d.cell),this.setVertexLocation(d.cell,thi…
833 …r(var e=null!=a[d]?a[d].child:null;null!=e;){var f=this.getVertexBounds(e.cell);this.rowMinX[b]=Ma…
857 …=c.getGeometry(a.cell);null!=f&&(f=f.clone(),null!=f.offset?(f.offset.x+=d,f.offset.y+=e):f.offset…
861cell=a;this.id=mxObjectIdentity.get(a);this.connectsAsTarget=[];this.connectsAsSource=[]}mxGraphHi… method in mxGraphHierarchyNode
865 mxGraphHierarchyNode.prototype.getCoreCell=function(){return this.cell};function mxGraphHierarchyEd…
888 mxSwimlaneModel.prototype.maxChainDfs=function(a,b,c,d,e){if(null!=b&&(a=mxCellPath.create(b.cell),…
902cell=g;var l;l=b?g.getNextLayerConnectedCells(a):g.getPreviousLayerConnectedCells(a);var m;m=b?a+1…
903 …on MedianCellSorter(){}MedianCellSorter.prototype.medianValue=0;MedianCellSorter.prototype.cell=!1; method in MedianCellSorter
913 …;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…
916cell=g;d[f].rankIndex=f;e[g.id]=d[f];var k;k=c<a?g.getPreviousLayerConnectedCells(a):g.getNextLaye…
917cell;p.visited?(k=q.getGeneralPurposeVariable(a)+q.width/2+this.intraCellSpacing+m+g.width/2,n=-1)…
921 …ngth;e++){var f=b[e];if(f.isVertex()){var g=this.layout.getVertexBounds(f.cell);null!=g?this.orien…
923 …ngth;m++){var n=g[m];if(n.isVertex()){var p=this.layout.getVertexBounds(n.cell);null!=p?this.orien…
931 …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,
934 …or(var e=0,f=this.jettyPositions[a.ids[0]],g=a.isReversed?a.target.cell:a.source.cell,k=this.layou…
939 mxCoordinateAssignment.prototype.setVertexLocation=function(a){var b=a.cell,c=a.x[0]-a.width/2,d=a.…
942 …ource.push(d),mxUtils.remove(d,c.connectsAsSource));a=mxCellPath.create(c.cell);delete b[a]},c,!0,…
1012cell=b;this.previous=this.terminal=c;this.source=d}mxTerminalChange.prototype.execute=function(){n…
1013cell&&(this.value=this.previous,this.previous=this.model.valueForCellChanged(this.cell,this.previo…
1014cell&&(this.geometry=this.previous,this.previous=this.model.geometryForCellChanged(this.cell,this.…
1015cell=b;this.previous=this.visible=c}mxVisibleChange.prototype.execute=function(){null!=this.cell&&…
1016 …(null!=this.cell){var a=this.cell.getAttribute(this.attribute);null==this.previous?this.cell.value…
1074 …;this.graph.cellRenderer.redraw=function(a,b,c){if(null!=a){var d=x.get(a.cell);if(null!=d&&(d=g.g…
1077 …mxPrintPreview.prototype.getLinkForCellState=function(a){return this.graph.getLinkForCell(a.cell)};
1084cell=b;this.style=null!=c?c:{};this.origin=new mxPoint;this.absoluteOffset=new mxPoint}mxCellState… method in mxCellState
1088 …otype.getVisibleTerminal=function(a){a=this.getVisibleTerminalState(a);return null!=a?a.cell:null};
1091 mxCellState.prototype.setState=function(a){this.view=a.view;this.cell=a.cell;this.style=a.style;thi…
1092 mxCellState.prototype.clone=function(){var a=new mxCellState(this.view,this.cell,this.style);if(nul…
1105 mxCellEditor.prototype.applyValue=function(a,b){this.graph.labelChanged(a.cell,b,this.trigger)};mxC…
1106 …lue=function(a,b){var c=mxUtils.htmlEntities(this.graph.getEditingValue(a.cell,b),!1);8!=document.…
1112 …ing(!0);else if(null!=this.textarea){var b=this.graph.getModel().isEdge(a.cell),c=this.graph.getVi…
1116 a.absoluteOffset.y,b.width,b.height)}if(this.graph.isWrapping(a.cell)&&(2<=this.bounds.width||2<=th…
1119 …is.textarea.style.top=Math.max(0,Math.round(this.bounds.y+1))+"px"),this.graph.isWrapping(a.cell)&&
1128 this.autoSize&&(this.graph.model.isEdge(c.cell)||"fill"!=c.style[mxConstants.STYLE_OVERFLOW])&&wind…
1131 …his.align&&this.graph.setCellStyles(mxConstants.STYLE_ALIGN,this.align,[a.cell])}finally{this.grap…
1133 mxCellEditor.prototype.getEditorBounds=function(a){var b=this.graph.getModel().isEdge(a.cell),c=thi…
1136 …ax(c.height,a.text.boundingBox.height)));this.graph.getModel().isVertex(a.cell)&&(b=mxUtils.getVal…
1144 …le[mxConstants.STYLE_SHAPE]);null==b&&(b=a.view.graph.getModel().isEdge(a.cell)?this.defaultEdgeSh…
1148cell):"swimlane"==f?(d[b]=c==mxConstants.STYLE_STROKECOLOR||c==mxConstants.STYLE_FONTCOLOR?"#00000…
1149 …le[c]))}};mxCellRenderer.prototype.getLabelValue=function(a){return a.view.graph.getLabel(a.cell)};
1150 …tModel().isEdge(a.cell);if(0<a.style[mxConstants.STYLE_FONTSIZE]||null==a.style[mxConstants.STYLE_…
1151 …Constants.STYLE_LABEL_BORDERCOLOR],c.isWrapping(a.cell)&&c.isHtmlLabel(a.cell),c.isLabelClipped(a.
1154 mxUtils.bind(this,function(b){this.isLabelEvent(a,b)&&(c.dblClick(b,a.cell),mxEvent.consume(b))}))}…
1155 mxCellRenderer.prototype.createCellOverlays=function(a){var b=a.view.graph.getCellOverlays(a.cell),…
1157 …Editing());b.fireEvent(new mxEventObject(mxEvent.CLICK,"event",c,"cell",a.cell))});mxEvent.addGest…
1158 "event",c,"cell",a.cell))})};mxCellRenderer.prototype.createControl=function(a){var b=a.view.graph,…
1159 …ntrolClickHandler||b.isEnabled()){var d=!b.isCellCollapsed(a.cell);b.foldCells(d,!1,[a.cell],null,…
1160 mxCellRenderer.prototype.initControl=function(a,b,c,d){var e=a.view.graph;e.isHtmlLabel(a.cell)&&mx…
1164 …ck",mxUtils.bind(this,function(c){this.isShapeEvent(a,c)&&(b.dblClick(c,a.cell),mxEvent.consume(c)…
1165 …h,d=this.getLabelValue(a),e=c.isWrapping(a.cell),f=c.isLabelClipped(a.cell),g=a.view.graph.isHtmlL…
1171 …ge(a.cell),e=new mxRectangle(a.absoluteOffset.x,a.absoluteOffset.y);if(d){var f=a.text.getSpacing(…
1174 …)}e=a.text.getTextRotation();0!=e&&null!=a&&a.view.graph.model.isVertex(a.cell)&&(c=a.getCenterX()…
1176 …on(d,k){var g=k.overlay.getBounds(a);if(!a.view.graph.getModel().isEdge(a.cell)&&null!=a.shape&&0!…
1179 …le,e=a.getCenterX(),f=a.getCenterY();if(!a.view.graph.getModel().isEdge(a.cell)&&(e=a.x+b*d,f=a.y+…
1180 …X(),a.getCenterY())),e=f.x,f=f.y)}return a.view.graph.getModel().isEdge(a.cell),new mxRectangle(Ma…
1184 …ll==a.shape&&null!=a.view.graph.container&&a.cell!=a.view.currentRoot&&(d.isVertex(a.cell)||d.isEd…
1189 …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…
1190 …nts.DIRECTION_MASK_WEST)}else return;n=!0;null!=c&&(g=g.getCellGeometry(c.cell),g.relative?n=.5>=g…
1207 …var f=a.view.graph,g=null==l?!1:f.getModel().isEdge(l.cell),k=null==m?!1:f.getModel().isEdge(m.cel…
1234 …graph.getModel(),e=d.getChildCount(a.cell),f=0;f<e;f++){var g=this.getBoundingBox(this.getState(d.…
1243 …lid=!1;if(null==c.style||c.invalidStyle)c.style=this.graph.getCellStyle(c.cell),c.invalidStyle=!1;…
1245cell!=this.currentRoot){var b=this.graph.getModel(),c=this.getState(b.getParent(a.cell));null!=c&&…
1246 e.relative&&null!=c?b.isEdge(c.cell)?(d=this.getPoint(c,e),null!=d&&(a.origin.x+=d.x/this.scale-c.o…
1247 …le*e.height,a.unscaledHeight=e.height,b.isVertex(a.cell)&&this.updateVertexState(a,e),b.isEdge(a.c…
1248 …=this.graph.getModel(),d=this.getState(c.getParent(a.cell));if(b.relative&&null!=d&&!c.isEdge(d.ce…
1249cell,!0)&&null==c||null==c&&null==b.getTerminalPoint(!0)||null!=this.graph.model.getTerminal(a.cel…
1250 c.length||null==c[0]||null==c[c.length-1])?this.clear(a.cell,!0):(this.updateEdgeBounds(a),this.upd…
1253 …var b=this.graph.getModel().isEdge(a.cell)&&this.graph.keepEdgesInForeground||this.graph.getModel(…
1255 …this.scale;d=this.translate;var f=a.origin,e=this.graph.getCellGeometry(a.cell).getTerminalPoint(c…
1264 …<d.height)){var e=new mxPoint(b.x,b.y),g=b=!1;this.graph.model.isVertex(a.cell)&&(b=1==mxUtils.get…
1273 …etRelativePoint=function(a,b,c){var d=this.graph.getModel().getGeometry(a.cell);if(null!=d){var e=…
1275 …null!=b&&0<b.length&&null!=a.segments){var c=this.graph.getCellGeometry(a.cell);if(c.relative){var…
1312 …var k=null;g instanceof mxChildChange?k=g.child:null!=g.cell&&g.cell instanceof mxCell&&(k=g.cell)…
1316cell):a instanceof mxValueChange?this.view.invalidate(a.cell,!1,!1):a instanceof mxStyleChange?(th…
1317 null!=a&&(a.invalidStyle=!0)):null!=a.cell&&a.cell instanceof mxCell&&this.removeStateForCell(a.cel…
1325 …his,function(a){var b=this.isCellSelected(a.cell);e=e||b;return!e||b||a.cell!=c&&this.model.isAnce…
1390 …=k.width+8);k=this.cellRenderer.getLabelValue(d);null!=k&&0<k.length?(this.isHtmlLabel(d.cell)||(k=
1413 0;if(this.getModel().isVertex(b.cell)){var m=b.style[mxConstants.STYLE_FLIPH],n=b.style[mxConstants…
1421 …is.view.getPerimeterPoint(a,d,!1);else if(l+=k,this.getModel().isVertex(a.cell)){k=1==a.style[mxCo…
1460 …oldingEnabled&&!this.getModel().isEdge(a.cell)){var b=this.isCellCollapsed(a.cell);if(this.isCellF…
1463 …overlay.toString())}),null==e&&(c=this.selectionCellsHandler.getHandler(a.cell),null!=c&&"function…
1464 e&&(e=this.getTooltipForCell(a.cell)));return e};mxGraph.prototype.getTooltipForCell=function(a){re…
1518 …a)if(this.model.isEdge(a.cell))var b=a.getVisibleTerminalState(!0),c=a.getVisibleTerminalState(!1)…
1539 mxCellOverlay.prototype.getBounds=function(a){var b=a.view.graph.getModel().isEdge(a.cell),c=a.view…
1570 …eof mxVisibleChange||a instanceof mxStyleChange?this.addCellsWithLayout(a.cell):[]};mxLayoutManage…
1587 …;e=null!=e?e:!0;var f=this.deltas.get(a.cell);null==f?(f={point:new mxPoint(b,c),state:a},this.del…
1589cell)){a.view.updateCellState(a);var e=d.getGeometry(a.cell);0==b&&0==c||null==e||e.relative&&null…
1590cell)&&a.view.updateCellState(a);var f=this.graph.getCellGeometry(a.cell),g=a.view.getState(e.getP…
1591 …var b=this.graph.getModel(),c=b.getEdgeCount(a.cell),d=0;d<c;d++){var e=a.view.getState(b.getEdgeA…
1601cell)))for(var c=this.graph.model,d=this.graph.view.getState(c.getParent(b.cell));null!=d&&!this.g…
1603 …ph.popupMenuHandler.isPopupTrigger(a)){var b=a.getCell();null==b&&(b=this.cell);this.selectCellFor…
1606 …alCellForEvent(b);this.delayedSelection=this.isDelayedSelection(c,b);this.cell=null;this.isSelectE…
1607 …Cloneable())?this.start(c,b.getX(),b.getY()):this.delayedSelection&&(this.cell=c);this.cellWasClic…
1612 …unction(a,b,c,d){this.cell=a;this.first=mxUtils.convertPoint(this.graph.container,b,c);this.cells=…
1613cell),this.cell);for(b=0;b<a.length;b++)c=this.graph.view.getState(a[b]),null==c||g.get(c)||g.put(…
1616 …Handler.prototype.isValidDropTarget=function(a,b){return this.graph.model.getParent(this.cell)!=a};
1618 …ction(a,b){var c=this.graph;if(b.isConsumed()||!c.isMouseDown||null==this.cell||null==this.first||…
1620 …,mxUtils.bind(this,function(a,b,c){return 0<=mxUtils.indexOf(this.cells,a.cell)})),k=!0,l=null;thi…
1621 …etView().getState(g),null!=m&&(g=null==c.getEdgeValidationError(null,this.cell,g)?mxConstants.VALI…
1624 …ar f=this.graph.view.getState(e.cell);f!=e&&(e.destroy(),null!=f?this.allCells.put(e.cell,f):this.…
1625cell))&&((e.x+=a,e.y+=b,this.cloning)?null!=e.text&&(e.text.updateBoundingBox(),null!=e.text.bound…
1626cell)){var g=this.graph.getCellGeometry(f.cell),k=[];if(null!=g&&null!=g.points)for(var l=0;l<g.po…
1627 …alPoint(new mxPoint(g.x+a,g.y+b),!0),g=null);null!=l&&this.isCellMoving(l.cell)?f.view.updateFixed…
1628 …b<a.length;b++){var c=this.graph.selectionCellsHandler.getHandler(a[b][0].cell);null!=c&&c.redraw(…
1631 "");this.cloning||null!=b.text&&b.text.updateBoundingBox();b.view.invalidate(b.cell)})),this.graph.…
1632cell||null==this.first||null==this.shape&&!this.livePreviewUsed||null==this.currentDx||null==this.…
1634 …nt=this.currentDy=this.currentDx=this.suspended=null;this.cloning=!1;this.cell=this.cells=this.fir…
1636 …is.graph.getCloneableCells(a));var g=this.graph.getModel().getParent(this.cell);null==e&&null!=f&&…
1638 …h.model.isEdge(a.cell)||this.graph.model.isVertex(a.cell))&&this.graph.isCellDeletable(a.cell)&&0=…
1672 …s.remove(a.cell);if(null!=b){var c=b.index,d=b.startX,e=b.startY;b.destroy();b=this.graph.createHa…
1680cell));null!=this.iconState?(this.redrawIcons(this.icons,this.iconState),this.constraintHandler.re…
1684 …()?null!=this.previous&&(this.error=this.validateConnection(this.previous.cell,c),null!=this.error…
1691 …tCenterX(),e=b.getCenterY();if(this.graph.isSwimlane(b.cell)){var f=this.graph.getStartSize(b.cell
1694 …edgeState){var c=this.graph.getPointForEvent(b.getEvent());this.edgeState.cell.geometry.setTermina…
1695 …pe.isImmediateConnectSource=function(a){return!this.graph.isCellMovable(a.cell)};mxConnectionHandl…
1698 ….marker.highlight.state&&this.marker.highlight.state.cell==this.constraintHandler.currentFocus.cel…
1699cell,"transparent"),null!=this.previous&&(this.error=this.validateConnection(this.previous.cell,th…
1700 …lidState());null==this.currentState||this.isCellEnabled(this.currentState.cell)||(this.constraintH…
1721cell:null,f=null;null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.curr…
1722 …=this.previous&&null!=this.marker.validState&&this.previous.cell==this.marker.validState.cell&&thi…
1727 …t(m)));var n=k=null;null!=this.edgeState&&(k=this.edgeState.cell.value,n=this.edgeState.cell.style…
1728 …r.currentConstraint);null!=this.edgeState&&e.setGeometry(g,this.edgeState.cell.geometry);m=e.getPa…
1737 …null!=this.currentFocus&&null==this.graph.view.getState(this.currentFocus.cell)?this.reset():this.…
1744 …s.currentFocus&&null==k&&this.graph.getModel().isVertex(this.currentFocus.cell)&&mxUtils.intersect…
1747 …&&null!=this.focusIcons){var a=this.graph.view.getState(this.currentFocus.cell);this.currentFocus=…
1749 …raints=null!=b&&!this.isStateIgnored(b,c)&&this.graph.isCellConnectable(b.cell)?this.isEnabled()?t…
1766 …prototype.copyStyle=function(a){this.graph.setCellStyles(a,this.state.style[a],[this.state.cell])};
1774 …){this.setVisible(!0);this.state.style=this.graph.getCellStyle(this.state.cell);this.positionChang…
1775 ….cellRenderer.redraw(this.state,!0),this.state.view.invalidate(this.state.cell),this.state.invalid…
1779cell)&&!this.graph.isCellLocked(this.state.cell)&&this.selectionBorder.setCursor(mxConstants.CURSO…
1780 [];if(a||this.graph.isLabelMovable(this.state.cell)&&2<=this.state.width&&2<=this.state.height){var…
1781cell);null==a||a.relative||this.graph.isSwimlane(this.state.cell)||!this.graph.isLabelMovable(this…
1782 …,this.sizers.push(this.rotationShape));this.graph.isCellLocked(this.state.cell)||(this.customHandl…
1783 …otationEnabled&&!this.graph.isCellLocked(this.state.cell)&&this.graph.isCellRotatable(this.state.c…
1785 mxVertexHandler.prototype.updateMinBounds=function(){var a=this.graph.getChildCells(this.state.cell
1787 ….getSelectionColor=function(){return this.graph.isCellEditable(this.state.cell)?mxConstants.VERTEX…
1795cell),this.inTolerance=!0,this.childOffsetY=this.childOffsetX=0,this.index=c,this.startX=a,this.st…
1798 …[mxEvent.CUSTOM_HANDLE-c].setVisible(!0),c=this.graph.getEdges(this.state.cell),this.edgeHandlers=…
1804 …ype.isGhostPreview=function(){return 0<this.state.view.graph.model.getChildCount(this.state.cell)};
1808 …is.startY,d=k*l+g*m,l=g*l-k*m,m=d,g=this.graph.getCellGeometry(this.state.cell);this.unscaledBound…
1809 …rainChild(this.state.cell)&&(d=this.graph.getCellContainmentArea(this.state.cell),null!=d&&(l=this…
1813 this.graph.isCellCollapsed(this.state.cell)||0==b&&0==c?this.childOffsetY=this.childOffsetX=0:(this…
1814 …x=0;this.state.absoluteOffset.y=0;b=this.graph.getCellGeometry(this.state.cell);null!=b&&(c=b.offs…
1815 ….cellRenderer.redraw(this.state,!0);this.state.view.invalidate(this.state.cell);this.state.invalid…
1818cell,!1,!1),this.state.view.validate());this.graph.getModel().beginUpdate();try{if(d<=mxEvent.CUST…
1819 …te.style[mxConstants.STYLE_ROTATION]||0);0!=f&&this.rotateCell(this.state.cell,f)}else this.rotate…
1820 …w.scale,r=this.isRecursiveResize(this.state,b);this.resizeCell(this.state.cell,this.roundLength(n/…
1829 …Math.round(q/f)*f;e=q-p;c=r-a;k&&(k=this.graph.getCellGeometry(this.state.cell),null!=k&&(k=k.widt…
1840 …tVisible=function(){return!this.graph.isCellSelected(this.graph.model.getParent(this.state.cell))};
1841 …a=this.isParentHighlightVisible(),b=this.graph.model.getParent(this.state.cell),c=this.graph.view.…
1845 …f(null!=this.parentHighlight){var a=this.graph.model.getParent(this.state.cell),a=this.graph.view.…
1851 …his.shape.node,this.graph,this.state);this.graph.isCellMovable(this.state.cell)&&this.shape.setCur…
1852cell)&&(this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells||0>=mxGraphHandler.protot…
1856 ….getSelectionColor=function(){return this.graph.isCellEditable(this.state.cell)?mxConstants.EDGE_S…
1858 …(a){var c=mxCellMarker.prototype.getCell.apply(this,arguments);c!=b.state.cell&&null!=c||null==b.c…
1859cell||null!=c&&!b.graph.connectableEdges&&e.isEdge(c)||e.isAncestor(b.state.cell,c))c=null;this.gr…
1860 …pe.validateConnection=function(a,b){return this.graph.getEdgeValidationError(this.state.cell,a,b)};
1861 mxEdgeHandler.prototype.createBends=function(){for(var a=this.state.cell,b=[],c=0;c<this.abspoints.…
1862 …eVirtualBends=function(){var a=[];if(this.graph.isCellBendable(this.state.cell))for(var b=1;b<this…
1863 …state.getVisibleTerminalState(!1),d=this.graph.getCellGeometry(this.state.cell);return(null!=d?thi…
1870 mxEdgeHandler.prototype.mouseDown=function(a,b){if(this.graph.isCellEditable(this.state.cell)){var …
1872 …=c==mxEvent.LABEL_HANDLE;if(this.isSource||this.isTarget){if(a=this.state.cell,b=this.graph.model.…
1877 ….marker.highlight.state&&this.marker.highlight.state.cell==this.constraintHandler.currentFocus.cel…
1878cell,"transparent"),a=this.graph.getModel(),a=this.graph.view.getTerminalPort(this.state,this.grap…
1879cell))&&this.constraintHandler.reset(),a;if(this.graph.isIgnoreTerminalEvent(a.getEvent()))return …
1880 …etPreviewPoints=function(a,b){var c=this.graph.getCellGeometry(this.state.cell),c=null!=c.points?c…
1893 …ll==c||this.isCellEnabled(c.cell)||(c=null,this.marker.reset());var e=this.clonePreviewState(this.…
1895 …ull!=this.shape.node&&(this.shape.node.style.display="");var c=this.state.cell,d=this.index;this.i…
1896 …onstraint&&null!=this.constraintHandler.currentFocus&&(d=this.constraintHandler.currentFocus.cell),
1897 …e&&"white"!=this.marker.highlight.shape.stroke&&(d=this.marker.validState.cell),null!=d){var f=thi…
1899cell),this.graph.getView().validate(this.state.cell))}else this.graph.isToggleEvent(b.getEvent())&…
1902 …=this.graph.getView().getState(this.graph.getModel().getParent(this.state.cell));null!=c&&(a.x-=c.…
1903 …e.moveLabel=function(a,b,c){var d=this.graph.getModel(),e=d.getGeometry(a.cell);if(null!=e){var f=…
1904 (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…
1908cell);b=new mxPoint(b,c);if(null!=d){var d=d.clone(),e=this.graph.view.translate;c=this.graph.view…
1909 …ellGeometry(this.state.cell);null!=c&&null!=c.points&&(c=c.clone(),c.points.splice(b-1,1),this.gra…
1910 mxEdgeHandler.prototype.getHandleFillColor=function(a){a=0==a;var b=this.state.cell,c=this.graph.ge…
1911 …absolutePoints.slice();var b=this.graph.getModel().getGeometry(this.state.cell);if(null!=b&&(b=b.p…
1912cell,b=this.labelShape.bounds;this.label=new mxPoint(this.state.absoluteOffset.x,this.state.absolu…
1924 …f(null!=this.parentHighlight){var a=this.graph.model.getParent(this.state.cell),a=this.graph.view.…
1927 …!mxEvent.isConsumed(a)&&this.flipEnabled&&(this.graph.flipEdge(this.state.cell,a),mxEvent.consume(…
1928 …b.setCursor(this.getCursorForBend());this.graph.isCellBendable(this.state.cell)||(b.node.style.dis…
1932 …nerBends=function(a,b){var c=this.graph.getModel().getGeometry(this.state.cell),d=this.state.absol…
1943 …(b);var c=this.getCurrentPoints();if(this.graph.isCellBendable(this.state.cell)){null==this.points…
1945 …pe.redrawInnerBends=function(a,b){if(this.graph.isCellBendable(this.state.cell)){var c=this.getCur…
1962 …function(){if(null!=this.state){var a=this.graph.view.getState(this.state.cell);null==a?this.hide(…
1967 …this.shape.scale=this.state.view.scale,this.graph.model.isEdge(this.state.cell)?(this.shape.stroke…
2001 …],["cell"]);c.afterDecode=function(a,c,f){mxUtils.isNode(f.cell)&&(f.cell=a.decodeCell(f.cell,!1))…
2171 …tyle[f]&&(a.push(b.style[f]),c.push(f));for(var g=e.getModel().getStyle(b.cell),k=null!=g?g.split(…
2172 …isEdge(b.cell)?e.currentEdgeStyle={}:e.currentVertexStyle={};this.fireEvent(new mxEventObject("sty…
2202 …ph.connectVertex(c.cell,d,this.graph.defaultEdgeLength,f,null,null,mxUtils.bind(this,function(f,g,…
2203 for(e.consume();null!=h&&a.model.isVertex(h)&&null!=f&&f.relative;)cell=h,h=a.model.getParent(cell)…
2204 …iteParent(null!=this.hoverIcons.currentState?this.hoverIcons.currentState.cell:null),l=b.showShape…
2510 …ate.y)*h.view.scale,null,null,null,function(a,b,c){return!h.isContainer(a.cell)});if(null!=x&&x!=n…
2511 …oint(!1),!1);else if(w&&h.model.isVertex(n)){var E=h.view.getState(n),v=E.cell!=h.view.currentRoot…
2518 …turn this.graph.isSwimlane(a.cell)||this.graph.isTableCell(a.cell)||this.graph.isTableRow(a.cell)|…
2520 …l!=x&&K==y){var k=a.isCellSelected(x.cell)?a.getSelectionCells():[x.cell],k=this.updateShapes(a.mo…
2521 …&null!=K&&null!=t&&K!=y?(k=a.model.isEdge(t.cell)||null==l?m:l,a.setSelectionCells(this.dropAndCon…
2524cell)?"none":"",this.previewElement.style.left=x.x+"px",this.previewElement.style.top=x.y+"px",thi…
2525 h=a.getCellGeometry(e[g]),p=a.model.getParent(t.cell),q=d.translate.x*d.scale,v=d.translate.y*d.sca…
2526 u.currentHighlight.state&&a.model.isEdge(u.currentHighlight.state.cell)?(this.previewElement.style.…
2527 …ull:a.getCellAt(b,c,null,null,null,function(b,c,d){return a.isContainer(b.cell)});if(null!=g&&!thi…
2529cell))&&S>this.dropTargetDelay&&!this.isDropStyleTargetIgnored(h)&&(a.model.isVertex(h.cell)&&null…
2530 ….parentNode.removeChild(y),I=null)):null!=x&&null!=I&&(l=a.model.isEdge(x.cell)?a.view.getPoint(x)…
2531 …isAltDown(d)&&null==K){f=mxRectangle.fromRectangle(t);if(a.model.isEdge(t.cell)){var n=t.absoluteP…
2532 …s.prototype.arrowSpacing),n=this.graph.selectionCellsHandler.getHandler(t.cell),null!=n&&(l.x-=n.h…
2536 …s.prototype.arrowSpacing),n=this.graph.selectionCellsHandler.getHandler(h.cell),null!=n&&(l.x-=n.h…
2538 …ontainer.appendChild(G));null!=h&&(w=a.selectionCellsHandler.getHandler(h.cell),null!=w&&null!=w.s…
2568 …())&&null!=d)if(this.model.isEdge(d.cell))if(k=new mxPoint(c.getGraphX(),c.getGraphY()),m=this.isC…
2569cell);null!=f&&null!=f.bends&&0<f.bends.length&&(l=f.getHandleForEvent(c))}else if(!this.panningHa…
2570cell)&&!this.isCellSelected(d.cell)){var p=this.model.getParent(d.cell),f=this.model.getParent(p);…
2571cell||mxUtils.intersects(n,new mxRectangle(d.x+q.width*e-2,d.y,2,q.height*e)))p=this.selectionCell…
2572cell,c.getEvent()),f=this.selectionCellsHandler.getHandler(d.cell),null!=f&&(q=mxEvent.CUSTOM_HAND…
2573 …aphY())>d){var e=this.selectionCellsHandler.getHandler(c.cell);null==e&&this.model.isEdge(c.cell)&…
2576cell)||(this.selectionCellsHandler.handlers.put(c.cell,e),this.selectCellForEvent(c.cell,b.getEven…
2578cell)&&(n=this.model.getParent(c.cell),f=this.model.getParent(n),!this.isCellSelected(f)))if(mxUti…
2579 …s.isTableCell(n.cell)||this.isTableRow(n.cell)||this.isTable(n.cell));){if(this.isSwimlane(n.cell)…
2580cell))}}null!=e&&c.setCursor(e)}}),mouseUp:mxUtils.bind(this,function(a,b){l=k=h=g=null})})}this.c…
2583 function(a,b){return null==a.cell?"#ffa500":mxConstants.GUIDE_COLOR};this.graphHandler.createPrevie…
2588 …CellLocked(a.sourceState.cell);if(this.isEnabled()&&!b||a.isConsumed())return C.apply(this,argumen…
2590 …!=a.sourceState&&this.isCellLocked(a.sourceState.cell);return this.getCursorForCell(b?a.sourceStat…
2592 …nt").getState();L=null==c||this.isSelectionEmpty()||this.isCellSelected(c.cell)?null:this.getSelec…
2593 …ph;return b&&(c.isCellSelected(a.cell)||c.isTableRow(a.cell)&&c.selectionCellsHandler.isHandled(c.…
2624 …ize=function(a){return!this.isSwimlane(a.cell)&&0<this.model.getChildCount(a.cell)&&!this.isCellCo…
2633 …r(d)||mxEvent.isTouchEvent(d))){if(!this.isEnabled()||this.isCellLocked(a.cell))a=this.isBlankLink…
2643 …odel.isEdge(c.cell)&&null!=c.absolutePoints&&1<c.absolutePoints.length?d.push(this.createEdgeWipeA…
2644 …;a.shape.redraw();0==k&&Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),1);null!=a.text&&…
2645 …a.text.node.style.opacity=""),Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),b?1:0))})}};
2646 …;a.shape.redraw();0==e&&Graph.setOpacityForNodes(this.getNodesForCells([a.cell]),1);null!=a.text&&…
2647 a.text.node&&(a.text.node.style.opacity=""),Graph.setOpacityForNodes(this.getNodesForCells([a.cell]…
2668 …;var p=this.view.translate,l=p.x*d,p=p.y*d;null!=n&&this.model.isVertex(n.cell)&&(l=n.x,p=n.y);thi…
2681 … c=this.getCellsBeyond(a.x,a.y,b,!0,!0);for(b=0;b<c.length;b++)if(c[b]!=a.cell){var f=this.view.ge…
2702 …nts);null==this.currentState||this.graph.isCellSelected(this.currentState.cell)||!mxEvent.isTouchE…
2711 …seDown=!0,b=this.graph.selectionCellsHandler.getHandler(this.currentState.cell),null!=b&&b.setHand…
2712 …yle,mxConstants.STYLE_EDGE,null)&&(a=this.getDirection(),b.cell.style=mxUtils.setStyle(b.cell.styl…
2713cell)||this.graph.isCloneEvent(e)||c.getVisibleTerminalState(!0)!=a&&c.getVisibleTerminalState(!1)…
2714 …Event();this.graph.selectCellsForConnectVertex(this.graph.connectVertex(a.cell,b,this.graph.defaul…
2715 …e&&this.graph.model.isVertex(this.currentState.cell)&&this.graph.isCellConnectable(this.currentSta…
2716 …e.cell);this.graph.isTableRow(this.currentState.cell)&&(b=this.graph.selectionCellsHandler.getHand…
2719 …&&c==a&&(a=c=e=b=null);var f=this.graph.getCellGeometry(this.currentState.cell),k=mxUtils.bind(thi…
2720 this.currentState.cell)||this.graph.isSwimlane(a)||!(null==c||null==f||c.height<3*f.height&&c.width…
2722 …uteBoundingBox=function(){var a=this.graph.model.isEdge(this.currentState.cell)?null:mxRectangle.f…
2723 HoverIcons.prototype.getState=function(a){if(null!=a)if(a=a.cell,this.graph.getModel().contains(a))…
2724 …,"1"))this.reset();else{null!=a&&null!=a.cell.geometry&&a.cell.geometry.relative&&this.graph.model…
2741 …f.setVisible(k[m],p);p=this.graph.getCurrentCellStyle(k[m],!0);n={style:p,cell:k[m],geo:n};if(null… property in AnonymousFunction9bd35d6b4e800.n
2746 …null!=c?c:!0;var d=this.getState(a);null!=d&&c&&this.graph.model.isEdge(d.cell)&&null!=d.style&&1!…
2747cell)&&null!=d.style&&1!=d.style[mxConstants.STYLE_CURVED]&&this.validEdges.push(d);return d};var …
2749 function(a){c.apply(this,arguments);this.graph.model.isEdge(a.cell)&&1!=a.style[mxConstants.STYLE_C…
2758 …lders")&&null!=c.state&&(d=c.state.view.graph.replacePlaceholders(c.state.cell,d));return d};var l…
2800cell)||this.isTableRow(a.cell))&&(null==a.previous&&null!=a.geometry||null!=a.previous&&!a.previou…
2801 "object"==typeof a.cell.value&&this.invalidateDescendantsWithPlaceholders(a.cell)};Graph.prototype.…
2805cell)||this.model.isVertex(e.cell))&&this.isCellDeletable(e.cell)&&this.isTransparentState(e)){for…
2810 …his.isCellLocked(this.getDefaultParent()))&&(null==d||this.isCellLocked(d.cell))||!(null!=d||mxCli…
2813 …metry=new mxGeometry(0,0,0,0);d.vertex=!0;if(null!=c&&this.model.isEdge(c.cell)){d.style="edgeLabe…
2815 …utosize=1;";this.getModel().beginUpdate();try{this.addCells([d],null!=c?c.cell:null),this.fireEven…
2816 …:0,updateCurrentState:function(a){var b=a.sourceState;if(null==b||null==g.getLinkForCell(b.cell))a=
2817 …null,function(a,b,c){return null==g.getLinkForCell(a.cell)}),b=null==b||g.model.isAncestor(a,b.cel…
2821 …g.getAbsoluteUrl(g.getLinkForCell(a.cell));null!=this.currentLink&&(this.currentTarget=g.getLinkTa…
2827 …;f++){var l=this.view.getState(this.model.getParent(c[f].cell)),m=this.getCellGeometry(c[f].cell),…
2828cell,m))}}finally{this.getModel().endUpdate()}}}return b};Graph.prototype.isCloneEvent=function(a)…
2834 …rgetForCellState=function(a,b){return a.view.graph.getLinkTargetForCell(a.cell)};k.drawCellState=f…
2835 J?J.get(a.cell):c.isCellSelected(a.cell),e=c.model.getParent(a.cell);!(f&&null==J||d)&&null!=e;)d=n…
2872 …rGetInitialValue.apply(this,arguments);var c=this.graph.getEditingValue(a.cell,b);"1"==mxUtils.get…
2874 ….isCellDeletable(a.cell)&&0==this.graph.model.getChildCount(a.cell)&&this.graph.isTransparentState…
2875 …EL_BACKGROUNDCOLOR,null);null!=b&&b!=mxConstants.NONE||!(null!=a.cell.geometry&&0<a.cell.geometry.…
2881 …Event=function(a,b){return!(!this.graph.isSwimlane(a.cell)&&0<this.graph.model.getChildCount(a.cel…
2882cell)&&"1"==mxUtils.getValue(a.style,"recursiveResize","1")&&null==mxUtils.getValue(a.style,"child…
2883cell)?this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.ce…
2884cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderIn…
2885cell)){var b=this.graph,c=b.model,d=this.state,e=this.selectionBorder,f=this;null==a&&(a=[]);var g…
2887 …ld);g.redraw=function(){if(null!=this.shape){var a=b.getActualStartSize(d.cell);this.shape.stroke=…
2888 …ableColumnWidth(this.state.cell,n,p);else if(!f.blockDelayedSelection){var c=b.getCellAt(a.getGrap…
2890 …this.state.cell,h,!mxEvent.isShiftDown(a.getEvent()));else if(!f.blockDelayedSelection){var c=b.ge…
2892cell);b++)mxUtils.bind(this,function(b){if(null!=b&&a.isVertex(b.cell)){var c=mxUtils.createImage(…
2893cell,mxEvent.getClientX(a),mxEvent.getClientY(a),this.graph.getSelectionCells()),this.graph.graphH…
2894 …is.customHandles=this.createCustomHandles()}this.graph.isTable(this.state.cell)&&this.refreshMoveH…
2895 c=this.graph.isTable(this.state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!…
2896 …s.sizers.length&&null!=this.sizers[0]?(b/=2,this.graph.isTable(this.state.cell)&&(b+=7),a.x=this.s…
2923cell),d=this.graph.getCellGeometry(a.cell);return b.isEdge(c)&&null!=d&&d.relative&&2>a.width&&2>a…
2924 …LLCOLOR,mxConstants.NONE);this.state.view.graph.model.isVertex(this.state.cell)&&a==mxConstants.NO…
2925 …Styles(mxConstants.STYLE_ROTATION,a,[this.state.cell])):this.state.view.graph.turnShapes([this.sta…
2927cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&(this.graph.isTableCell…
2928 …is,function(a,b){this.updateLinkHint(this.graph.getLinkForCell(this.state.cell),this.graph.getLink…
2929 …ITING_STOPPED,this.editingHandler);b=this.graph.getLinkForCell(this.state.cell);c=this.graph.getLi…
2931 …ick",mxUtils.bind(this,function(a){this.graph.setSelectionCell(this.state.cell);this.graph.editLin…
2932 [mxResources.get("link")]),mxUtils.bind(this,function(a){this.graph.setLinkForCell(this.state.cell,…
2934cell),this.graph.getLinksForState(this.state));a();this.redrawHandles()});this.graph.getSelectionM…
2964 …nded:!0,autoSize:!1,image:!0,shadow:!0,lineJumps:!0,resizable:!0,table:!1,cell:!1,row:!1,movable:!…
2965 …)&&!d.isTableRow(b)&&!d.isTableCell(b);a.table=a.table||d.isTable(b);a.cell=a.cell||d.isTableCell(…
2968 …lor(a.style[mxConstants.STYLE_FILLCOLOR])&&(a.view.graph.model.isVertex(a.cell)||"arrow"==mxUtils.…
3022 d.getModel().isEdge(c)||d.isSwimlane(c)||d.isTable(c)||e.row||e.cell)&&0<d.getModel().getChildCount…
3026 "104px",h.style.marginBottom="2px"));1==e.cells.length&&d.getModel().isVertex(c)&&!e.row&&!e.cell&&…
3036 …ontWeight="bold";var f=null,k=null,h=null;!e.rotatable||e.table||e.row||e.cell?a.style.paddingTop=…
3045 …TYLE_ASPECT,null,"fixed","null");v.style.width="210px";h.appendChild(v);f.cell||f.row?u.style.visi…
3046 …h.round(a.width*c*100/a.height)/100),a.height=c)});(f.resizable||f.row||f.cell)&&a.appendChild(k);…
3247 …Foreground=function(a,b,c,d,e){var r=this.state.view.graph,f=r.getActualStartSize(this.state.cell),
3248 g=r.model.getChildCells(this.state.cell,!0);if(0<g.length){var A="0"!=mxUtils.getValue(this.state.s…
3414 h.positionChanged=function(){k.apply(this,arguments);a.view.invalidate(this.state.cell);a.view.vali…
3424 …nt.isControlDown(b.getEvent())&&(b=a.view.graph,b.isTableRow(a.cell)||b.isTableCell(a.cell))){for(…
3425 d=b.model.getParent(a.cell),d=b.model.getChildCells(d,!0),e=[],f=0;f<d.length;f++)d[f]!=a.cell&&b.i…
3445cell)){var b=this.state.style.shape;null==mxCellRenderer.defaultShapes[b]&&null==mxStencilRegistry…
3524cell);"0"!=mxUtils.getValue(state.style,"nl2Br","1")&&(h=h.replace(/\n/g,"").replace(/<br\s*.?>/g,…
3525 "1")&&(h=h.replace(/\n/g,"<br/>")),c.cellLabelChanged(state.cell,c.sanitizeHtml(h)),c.setCellStyles…
9995 …Renderer.redraw=function(b){b.view.graph.isEditing(b.cell)&&(b.view.graph.scrollCellToVisible(b.ce…
10266cell.value&&(B||null==y)&&(p.model.isVertex(J.cell)||p.model.isEdge(J.cell))){null!=J.style&&"1"==…
10267cell,g,N))||null!=K&&(K.test(label)||z&&n(K,J.cell,g,N)))if(k&&(null!=K?(z=label.match(K),x=z[0].t…
10274 …esources.get("replFind"),function(){try{if(null!=x&&null!=t&&F.value){var c=t.cell,f=p.getLabel(c);
10276 …urces.get("replace"),function(){try{if(null!=x&&null!=t&&F.value){var c=t.cell,f=p.getLabel(c);p.m…
10277 …etModel().beginUpdate();try{for(var d=0,e={};l(!1,!0,!0)&&100>d;){var m=t.cell,g=p.getLabel(m),k=e…
10472 …e=function(b,c){var f=1;if(null!=this.shape.state){var d=this.shape.state.cell.id;if(null!=d)for(v…
10569 …ustomPropAdded=!0,e.shape.customProperties=e.shape.customProperties||[],e.cell.vertex?Array.protot…
12005 …tion f(b){b=v.view.getState(b);if(null!=b){var c=v.getIncomingTreeEdges(b.cell);if(0<c.length&&(c=…
12009 …tCenterX()||!t&&c!=x.getCenterY()<m.getCenterY()))){var D=[];v.traverse(x.cell,!0,function(b,c){va…
12016 c==mxConstants.DIRECTION_WEST?-1:1,0<=d&&d<=e.length-1&&v.setSelectionCell(e[d].cell)))))}var u=thi…
12021cell)?null:this.graph.view.getState(this.graph.getCellAt(d,e))};var B=v.duplicateCells;v.duplicate…
12029 …s,arguments);(d(this.state.cell)||b(this.state.cell))&&!n(this.state.cell)&&0<this.graph.getOutgoi…
12030 …ph.graphHandler.start(this.state.cell,mxEvent.getClientX(b),mxEvent.getClientY(b),this.graph.getSu…
12162 …this.states[z];B instanceof mxCellState&&(n||!this.graph.isCellSelected(B.cell))&&((t.x>=B.x&&t.x<…