Lines Matching refs:getChildCount

268 …l!=c&&c()},f=30;e()},cascadeOpacity:function(a,b,c){for(var d=a.model.getChildCount(b),e=0;e<d;e++…
485 …this.ease)}if(c&&!this.stopRecursion(d,e))for(d=this.graph.getModel().getChildCount(a),e=0;e<d;e++…
490 …e=function(a,b,c){if(null!=a){c(a,b);for(var d=a.view.graph,e=d.model.getChildCount(a.cell),f=0;f<…
789 …d.getParent(a),f=this.isHorizontal();if(null!=a&&null!=e){var g=0,k=d.getChildCount(e);c=f?b:c;b=t…
791 …totype.getLayoutCells=function(a){for(var b=this.graph.getModel(),c=b.getChildCount(a),d=[],e=0;e<…
800 …ph.getModel();var d=c.getParent(a);if(null!=a&&null!=d){var e,f=0,g=c.getChildCount(d);for(e=0;e<g…
801 …-1,this.graph.container.offsetHeight-1));if(null!=d){for(var e=[],f=c.getChildCount(a),g=0;g<f;g++…
847 …aph.getModel();b.beginUpdate();try{for(var c=0,d=null,e=null,f=[],g=b.getChildCount(a),k=0;k<g;k++…
850 …r e=0;e<b.length;e++)d(b[e]);else for(var f=this.graph.getModel(),g=f.getChildCount(a),e=0;e<g;e++…
855 …on(a){for(var b=this.graph.view,c=this.graph.getModel(),d=[],e=[],f=c.getChildCount(a),g=0;g<f;g++…
949 …b;for(var c=this.graph.model,b=[],d=this.graph.isCellCollapsed(a),e=c.getChildCount(a),f=0;f<e;f++…
954 …rseAncestors||a==this.parent&&this.graph.isCellVisible(a))for(var d=c.getChildCount(a),e=0;e<d;e++…
968 …b;for(var c=this.graph.model,b=[],d=this.graph.isCellCollapsed(a),e=c.getChildCount(a),f=0;f<e;f++…
973 …rseAncestors||a==this.parent&&this.graph.isCellVisible(a))for(var d=c.getChildCount(a),e=0;e<d;e++…
980 …ar c=[];b=b||this.getRoot();(null==a||a(b))&&c.push(b);for(var d=this.getChildCount(b),e=0;e<d;e++…
982 …otype.add=function(a,b,c){if(b!=a&&null!=a&&null!=b){null==c&&(c=this.getChildCount(a));var d=a!=t…
983 …etId())&&(this.nextId=Math.max(this.nextId,a.getId()));for(var b=this.getChildCount(a),c=0;c<b;c++…
984 …e.updateEdgeParents=function(a,b){b=b||this.getRoot(a);for(var c=this.getChildCount(a),d=0;d<c;d++…
986 …=d.clone();d.translate(-g,-e);this.setGeometry(a,d)}this.add(c,a,this.getChildCount(c))}};mxGraphM…
988 ….cellRemoved=function(a){if(null!=a&&null!=this.cells){for(var b=this.getChildCount(a)-1;0<=b;b--)…
989 mxGraphModel.prototype.getChildCount=function(a){return null!=a?a.getChildCount():0};mxGraphModel.p… method in mxGraphModel
990 …ildCells=function(a,b,c){b=null!=b?b:!1;c=null!=c?c:!1;for(var d=this.getChildCount(a),e=[],f=0;f<…
1005 …ergeChildrenImpl=function(a,b,c,d){this.beginUpdate();try{for(var e=a.getChildCount(),f=0;f<e;f++)…
1007 ….get(a),e=b[d];if(null==e&&(e=this.cellCloned(a),b[d]=e,c))for(c=this.getChildCount(a),d=0;d<c;d++…
1008 …[mxObjectIdentity.get(d)],null!=d&&d.insertEdge(a,!1));for(var d=this.getChildCount(a),e=0;e<d;e++…
1011 …nged(a,null,!1));a.setTerminal(c,!0);a.setTerminal(d,!1);c=this.model.getChildCount(a);for(d=0;d<c…
1020 …unction(a,b){b?this.source=a:this.target=a;return a};mxCell.prototype.getChildCount=function(){ret… method in mxCell
1021 …[a]};mxCell.prototype.insert=function(a,b){null!=a&&(null==b&&(b=this.getChildCount(),a.getParent(…
1228 …=null!=c?c:!0;this.removeState(a);if(c&&(b||a!=this.currentRoot)){c=d.getChildCount(a);for(var e=0…
1229 …(e.invalid=!0);if(!a.invalidating){a.invalidating=!0;if(b)for(var f=d.getChildCount(a),e=0;e<f;e++…
1234 …:c=a.text.boundingBox.clone()),b))for(var d=this.graph.getModel(),e=d.getChildCount(a.cell),f=0;f<…
1242 …le(a),null==this.getState(a,b)||b)for(var c=this.graph.getModel(),d=c.getChildCount(a),e=0;e<d;e++…
1244 …)}if(b&&!c.invalid){null!=c.shape&&this.stateValidated(c);for(var e=d.getChildCount(a),f=0;f<e;f++…
1312 …his.model.isVertex(a))c.put(a,!0),d.push(a);else for(var b=this.model.getChildCount(a),f=0;f<b;f++…
1317 …mxGraph.prototype.removeStateForCell=function(a){for(var b=this.model.getChildCount(a),c=0;c<b;c++…
1320 …:this.model.getRoot();this.removeCellOverlays(a);for(var b=this.model.getChildCount(a),c=0;c<b;c++…
1327 …SiblingSelected=function(a){for(var b=this.model,c=b.getParent(a),d=b.getChildCount(c),e=0;e<d;e++…
1355 …l.add(e,a[d],Math.min(this.model.getChildCount(e)-1,e.getIndex(a[d])+1)):this.model.add(e,a[d],thi…
1356 …new mxGeometry);var f=this.model.getChildCount(e);this.cellsAdded([a],e,f,null,null,!1,!1,!1);f=th…
1359 …0<d.length){var d=d.slice(),e=this.model.getParent(a[c]),f=this.model.getChildCount(e);this.cellsA…
1360 …ls()),b=[],c=0;c<a.length;c++)this.model.isVertex(a[c])&&0<this.model.getChildCount(a[c])&&b.push(…
1361 …is.model.beginUpdate();try{var b=this.getDefaultParent(),c=this.model.getChildCount(b);this.cellsA…
1369 …,c,d,e,f){null==b&&(b=this.getDefaultParent());null==c&&(c=this.model.getChildCount(b));this.model…
1371 …Math.max(0,t.y));this.model.setGeometry(a[l],t)}}b==p&&c+l>this.model.getChildCount(b)&&c--;this.m…
1372 …totype.autoSizeCell=function(a,b){if(null!=b?b:1)for(var c=this.model.getChildCount(a),d=0;d<c;d++…
1378 …!1,!1);this.cellsAdded(b,k,this.model.getChildCount(k),null,null,!0);this.cellsAdded([c],k,this.mo…
1395getChildCount(a),f=0;f<e;f++)this.scaleCell(this.model.getChildAt(a,f),d,c,!0)};mxGraph.prototype.…
1400 …==e);this.setAllowNegativeCoordinates(t);if(null!=e){var u=this.model.getChildCount(e);this.cellsA…
1430 …(this.model.getEdges(a)));d=this.view.getBounds(d);if(c){c=this.model.getChildCount(a);for(var e=0…
1457 …ll!=a?a:this.model.getRoot();b=null!=b?b:{};for(var c=!0,d=this.model.getChildCount(a),e=0;e<d;e++…
1493getChildCount(a)&&0!=c[mxConstants.STYLE_FOLDABLE]};mxGraph.prototype.isValidDropTarget=function(a…
1497 …(),null==c&&(c=this.model.getRoot()));if(null!=c)for(var d=this.model.getChildCount(c),e=0;e<d;e++…
1498 …ll==c&&(c=this.getModel().getRoot()));if(null!=c)for(var g=this.model.getChildCount(c)-1;0<=g;g--)…
1502 …!0;f=null!=f?f:!1;for(var g=[],k=this.isCellCollapsed(a),l=this.model.getChildCount(a),m=0;m<l;m++…
1507 …his.getCurrentRoot(),null==e&&(e=m.getRoot()));if(null!=e)for(var q=m.getChildCount(e),r=0;r<q;r++…
1508 …)if(null==c&&(c=this.getDefaultParent()),null!=c)for(var g=this.model.getChildCount(c),k=0;k<g;k++…
1509 …:!1;c=null!=c?c:!1;var d=[];if(null!=a){for(var e=this.getModel(),f=e.getChildCount(a),g=null,k=0,…
1514getChildCount(d);null==e&&0<f?(a=this.model.getChildAt(d,0),this.setSelectionCell(a)):null!=e&&!b|…
1516 …is,function(c){return null!=this.view.getState(c)&&((d||0==this.model.getChildCount(c))&&this.mode…
1571 …ll!=a&&this.hasLayout(a))for(var c=this.getGraph().getModel(),d=0;d<c.getChildCount(a);d++){var e=…
1579 …function(a){for(var b=this.getGraph().getModel(),c=b.getParent(a),d=b.getChildCount(c),e=null,f=0;…
1582 ….graph.getStartSize(a):new mxRectangle;b-=k.width;c-=k.height;var l=e.getChildCount(a);for(d=0;d<l…
1589 ….relative&&null==this.deltas.get(a.cell)||(a.x+=b,a.y+=c)}for(var e=d.getChildCount(a.cell),f=0;f<…
1590 …||(a.x+=b,a.y+=c);this.graph.cellRenderer.redraw(a);null!=d&&d(a);f=e.getChildCount(a.cell);for(g=…
1613getChildCount(e),g=new mxDictionary;a=this.graph.getOpposites(this.graph.getEdges(this.cell),this.…
1614 …if(null!=c&&null==b.get(a)){b.put(a,c);d++;for(var c=this.graph.model.getChildCount(a),e=0;e<c;e++…
1638 …tex(a.cell))&&this.graph.isCellDeletable(a.cell)&&0==this.graph.model.getChildCount(a.cell)&&this.…
1795 …order)if(this.livePreviewActive=this.livePreview&&0==this.graph.model.getChildCount(this.state.cel…
1804 …totype.isGhostPreview=function(){return 0<this.state.view.graph.model.getChildCount(this.state.cel…
1822 d.getChildCount(a),e=0;e<c;e++)this.rotateCell(d.getChildAt(a,e),b,a)}}}};
1827 …type.moveChildren=function(a,b,c){for(var d=this.graph.getModel(),e=d.getChildCount(a),f=0;f<e;f++…
1897 …ry{if(e){var k=f.getGeometry(c),e=this.graph.cloneCell(c);f.add(g,e,f.getChildCount(g));null!=k&&(…
1905 …Parent(a),g=e.getTerminal(a,!c);a=this.graph.cloneCell(a);e.add(f,a,e.getChildCount(f));e.setTermi…
1906 …nal(a,!0),g=d.getTerminal(a,!1);a=this.graph.cloneCell(a);d.add(e,a,d.getChildCount(e));d.setTermi…
1975 …Cell=function(a,b,c){b.appendChild(this.encode(a));if(null==c||c){c=a.getChildCount();for(var d=0;…
2003 …Model(),f=c.getState(d),g=b.getParent(d);if(null==g||null!=f){var k=b.getChildCount(d),l=c.graph.g…
2244 …etModel();w.addListener(mxEvent.CHANGE,function(){t.style.display=1<w.getChildCount(w.root)?"":"no…
2263 …nction(){var a=this.editor.graph.getModel();return 1==a.getChildCount(a.root)&&0==a.getChildCount(…
2285 …el().isEdge(g)&&(e=!0),a.getModel().isVertex(g)&&(b=!0,0<a.getModel().getChildCount(g)||a.isContai…
2288 …sible").setEnabled(b&&(a.isContainer(a.getSelectionCell())||0<a.model.getChildCount(a.getSelection…
2332 …d(f,d,Math.max(0,b-1)):39!=a&&40!=a||e.model.add(f,d,Math.min(e.model.getChildCount(f),b+1));else{…
2503 …le(g,f);if("1"==mxUtils.getValue(l,"composite","0"))for(var m=d.model.getChildCount(g);0<=m;m--)d.…
2539 …);null!=g&&(a.view.currentRoot==g||!a.isValidRoot(g)&&0==a.getModel().getChildCount(g)||a.isCellLo…
2620 …e(a)&&(!this.isSwimlane(a)||0==c)&&""==this.getLabel(a)&&0<this.model.getChildCount(a)&&(a=this.mo…
2621 …lane(a)||0==c)&&""==this.getLabel(a)&&0<this.model.getChildCount(a))for(c=0;c<this.model.getChildC…
2624getChildCount(c)-1;0<=g;g--){var k=this.model.getChildAt(c,g),h=this.getScaledCellAt(a,b,k,d,e,f);…
2661 …ment("div");d.style.position="absolute";for(var e=this.getModel(),c=e.getChildCount(e.root),f=0;f<…
2777 …{var d=a[c];b[mxObjectIdentity.get(d)]=d.getId();for(var e=this.model.getChildCount(d),f=0;f<e;f++…
2785 …ngth||null!=e&&a&&f.length>e||!a&&0<e)return;for(var c=0;c<this.model.getChildCount(b);c++)g(this.…
2789 …ents),h=0;h<k.length;h++)!d&&this.model.contains(k[h])&&0==this.model.getChildCount(k[h])&&this.mo…
2790 1==this.model.getChildCount(e)&&1==this.model.getChildCount(f)?0>mxUtils.indexOf(a,f)&&0>mxUtils.in…
2791 …nction(a,b){this.doUpdateCustomLinksForCell(a,b);for(var c=this.model.getChildCount(b),d=0;d<c;d++…
2793 …b,[a])}};Graph.prototype.isValidRoot=function(a){for(var b=this.model.getChildCount(a),c=0,d=0;d<b…
2805 …le(e.cell)&&this.isTransparentState(e)){for(var f=!0,g=0;g<this.model.getChildCount(e.cell)&&f;g++…
2874 …ments),""==b&&this.graph.isCellDeletable(a.cell)&&0==this.graph.model.getChildCount(a.cell)&&this.…
2881 …nt=function(a,b){return!(!this.graph.isSwimlane(a.cell)&&0<this.graph.model.getChildCount(a.cell)&&
2892 [];for(b=0;b<a.getChildCount(this.state.cell);b++)mxUtils.bind(this,function(b){if(null!=b&&a.isVer…
2983 …px";a.removeAttribute("size")});for(var t=0;t<v.length;t++)0==l.model.getChildCount(v[t])&&l.autoS…
3022 d.getModel().isEdge(c)||d.isSwimlane(c)||d.isTable(c)||e.row||e.cell)&&0<d.getModel().getChildCount
3515 …ull!=a)for(var d=0;d<a.length;d++)c.model.contains(a[d])&&(0==c.model.getChildCount(a[d])&&c.model…
3523 try{for(var b=0;b<a.length;b++){var d=a[b];0<c.getModel().getChildCount(d)?c.updateGroupBounds([d],…
3539 …nodeName&&c.replaceElement(a)});for(var e=0;e<a.length;e++)0==c.model.getChildCount(a[e])&&c.autoS…
3578 …s.bind(this,function(){var a=b.getSelectionCell(),c=null;null==a||0==b.getModel().getChildCount(a)?
3579 …s.bind(this,function(){var a=b.getSelectionCell(),c=null;null==a||0==b.getModel().getChildCount(a)?
3580 …s.bind(this,function(){var a=b.getSelectionCell(),c=null;null==a||0==b.getModel().getChildCount(a)?
3582 …out(function(){var c=b.getSelectionCell();if(null==c||0==b.getModel().getChildCount(c))c=b.getDefa…
3583 b.getSelectionCell();if(null==c||0==b.getModel().getChildCount(c))c=b.getDefaultParent();a.execute(…
3605 …LE_FONTFAMILY||"fontSource"==a[k])f=!0;if(f)for(f=0;f<c.length;f++)0==e.model.getChildCount(c[f])&&
3616 …ionCount()&&!e.getModel().isEdge(b)&&!e.isSwimlane(b)&&0<e.getModel().getChildCount(b)&&e.isCellEd…
3746 …ionCells(c.children),mxEvent.consume(a))});n.appendChild(e)}u=g.model.getChildCount(g.model.root);…
3750 …);try{var b=g.model.root.getIndex(v);g.removeCells([v],!1);0==g.model.getChildCount(g.model.root)?…
3751 new mxCell),g.setDefaultParent(null)):0<b&&b<=g.model.getChildCount(g.model.root)?g.setDefaultParen…
10410 …roundColor=k;c=new mxCodec(e.ownerDocument);b=g.getModel();c.decode(e,b);e=b.getChildCount(b.root);
10461 …d=c.editorUi.editor.graph;return null!=f&&(d.isSwimlane(f)||0<d.model.getChildCount(f))},isVisible…
10652 …nlockedLayer=function(){if(null==this.defaultParent){var b=this.model.getChildCount(this.model.roo…
10863 …ghtbox"),!0),y=this.addEditButton(f,q),C=y.getEditInput(),F=1<l.model.getChildCount(l.model.getRoo…
10885 0;k<d.model.getChildCount(c);k++)this.updatePageLinksForCell(b,d.model.getChildAt(c,k))};EditorUi.p…
11837 …raph,k=new mxOrgChartLayout(b,d,e,f),l=b.getDefaultParent();1<b.model.getChildCount(b.getSelection…