Lines Matching refs:model

127                         var model = graph.getModel();
129 for (var id in model.cells) {
130 var c = model.cells[id];
132 var geo = model.getGeometry(c);
136 if (model.isEdge(c)) {
686 graph.addCell(layerCell, graph.model.root, layerIndex);
1447 … mxVsdxCodec.prototype.rotateChildEdge = function (model, parent, beginXY, endXY, points) {
1449 var pgeo = model.getGeometry(parent);
1450 var pStyle = model.getStyle(parent);
1479 var model = graph.getModel();
1480 var childCount = model.getChildCount(cell);
1483 var child = model.getChildAt(cell, i);
1493 model.remove(removeChild);
1518 childCount = model.getChildCount(cell);
1520 var value = new String(model.getValue(cell)).toString();
1521 var style = model.getStyle(cell);
1522 if (childCount === 0 && model.isVertex(cell)) {
1523 …if ((model.getValue(cell) == null || (value.length === 0)) && (style != null) && (style.indexOf(mx…
1730 for (var id in graph.model.cells)
1732 var cell = graph.model.cells[id];
1758 for (var id in graph.model.cells)
1760 var cell = graph.model.cells[id];
1799 var model = graph.getModel();
1804 for (var id in model.cells) {
1805 var c = model.cells[id];
1807 if (graph.getDefaultParent() === model.getParent(c)) {
1823 var style = model.getStyle(c);
2143 mxPropertiesManager.prototype.initialise = function (elem, model) {
2993 function mxVsdxMaster(m, model) { argument
3003 this.processMasterShapes(model);
3012 mxVsdxMaster.prototype.processMasterShapes = function (model) {
3021 …var relElem = model.getRelationship(child.getAttribute("r:id"), com.mxgraph.io.mxVsdxCodec.vsdxPla…
3026 … masterDoc = model.getXmlDoc(com.mxgraph.io.mxVsdxCodec.vsdxPlaceholder + "/masters/" + target);
3037 this.processMasterShape(masterChild, model);
3067 … mxVsdxMaster.prototype.processMasterShape = function (shapeElem, model, internal)
3092 … var masterShape = new com.mxgraph.io.vsdx.Shape(shape, model);
3101 this.processMasterShape(shape, model, true);
3512 function mxVsdxPage(pageElem, model) { argument
3526 this.model = null;
3530 this.model = model;
3582 this.parseNodes(pageElem, model, "pages");
3590 mxVsdxPage.prototype.parseNodes = function (pageElem, model, pageName) {
3602 this.resolveRel(pageChildElem, model, pageName);
3665 mxVsdxPage.prototype.resolveRel = function (relNode, model, pageName) {
3666 …var relElem = model.getRelationship(relNode.getAttribute("r:id"), com.mxgraph.io.mxVsdxCodec.vsdxP…
3672 … pageDoc = model.getXmlDoc(com.mxgraph.io.mxVsdxCodec.vsdxPlaceholder + "/pages/" + target);
3685 … this.parseNodes(child, model, target.substring(0, index));
3711 masterTmp = this.model.getMaster(masterId);
3744 …raph.io.vsdx.VsdxShape(this, shapeElem, vertex, this.model.getMasterShapes(), masterTmp, this.mode…
7580 function Style(shape, model) { argument
7592 this.pm = model.getPropertiesManager();
7601 this.cacheCells(model);
7602 this.stylesheetRefs(model);
7657 Style.prototype.stylesheetRefs = function (model) {
7658 …t */ (this.styleParents[com.mxgraph.io.vsdx.mxVsdxConstants.FILL_STYLE] = model.getStylesheet(this…
7659 …t */ (this.styleParents[com.mxgraph.io.vsdx.mxVsdxConstants.LINE_STYLE] = model.getStylesheet(this…
7660 …t */ (this.styleParents[com.mxgraph.io.vsdx.mxVsdxConstants.TEXT_STYLE] = model.getStylesheet(this…
7661 var style = model.getStylesheet("0");
7670 Style.prototype.cacheCells = function (model) {
7677 this.parseShapeElem(childNode, model);
7690 Style.prototype.parseShapeElem = function (elem, model) {
8859 function Shape(shape, model) { argument
8870 _this = _super.call(this, shape, model) || this;
8963 Shape.prototype.parseShapeElem = function (elem, model) {
8964 _super.prototype.parseShapeElem.call(this, elem, model);
9004 … var relElem = model.getRelationship(rid, pre + "/_rels" + post + ".rels");
9072 …var relElem = model.getRelationship("rId1", "visio/embeddings/_rels/" + typeTarget.target + ".rels…
9112 … var iData = model.getMedia(com.mxgraph.io.mxVsdxCodec.vsdxPlaceholder + "/media/" + target);
9763 function VsdxShape(page, shape, vertex, masters, master, model) { argument
9771 _this = _super.call(this, shape, model) || this;
9834 } return null; })(model.getThemes(), themeIndex);