Lines Matching refs:model

682 			editorUi.editor.graph.model.beginUpdate();
695 editorUi.editor.graph.model.endUpdate();
700 editorUi.editor.graph.model.beginUpdate();
704 var model = new mxGraphModel();
706 codec.decode(doc.documentElement, model);
708 var children = model.getChildren(model.getChildAt(model.getRoot(), 0));
720 editorUi.editor.graph.model.endUpdate();
1292 imgExport.drawState(graph.getView().getState(graph.model.root), xmlCanvas);
2096 graph.model.beginUpdate();
2099 var index = graph.model.root.getIndex(selectionLayer);
2103 if (graph.model.getChildCount(graph.model.root) == 0)
2105 graph.model.add(graph.model.root, new mxCell());
2108 else if (index > 0 && index <= graph.model.getChildCount(graph.model.root))
2110 graph.setDefaultParent(graph.model.getChildAt(graph.model.root, index - 1));
2119 graph.model.endUpdate();
2158 if (graph.getSelectionCount() == 1 && graph.model.isAncestor(child, graph.getSelectionCell()))
2163 }))(graph.model.getChildAt(graph.model.root, i));
2224 graph.model.beginUpdate();
2230 newCell = graph.addCell(newCell, graph.model.root);
2235 graph.model.endUpdate();
2263 graph.model.beginUpdate();
2267 var cell = graph.addCell(new mxCell(mxResources.get('untitledLayer')), graph.model.root);
2272 graph.model.endUpdate();
2314 layerCount = graph.model.getChildCount(graph.model.root)
2366 graph.addCell(child, graph.model.root, dropIndex);
2384 graph.model.isVisible(child) ?
2387 if (graph.model.isVisible(child))
2407 graph.model.setVisible(child, !graph.model.isVisible(child));
2520 graph.addCell(child, graph.model.root, index - 1);
2547 graph.addCell(child, graph.model.root, index + 1);
2608 }))(graph.model.getChildAt(graph.model.root, i));
2624 graph.model.addListener(mxEvent.CHANGE, refresh);