Searched refs:viewState (Results 1 – 15 of 15) sorted by relevance
43 DiagramPage.prototype.viewState = null; method in DiagramPage136 function SelectPage(ui, page, viewState) argument148 if (viewState != null)150 page.viewState = viewState;172 page.viewState = graph.getViewState();199 graph.setViewState(page.viewState);458 if (p.viewState == null || p.viewState.scrollLeft == null)557 graph.setViewState(viewState);924 else if (page.viewState == null)1186 newPage.viewState.scale = 1;[all …]
221 if (page.viewState != null && diff != null)225 page.viewState = this.editor.graph.getViewState();232 page.viewState[key] = JSON.parse(diff[key]);239 this.editor.graph.setViewState(page.viewState, true);872 var source = oldPage.viewState;873 var target = newPage.viewState;
430 if (pages[i].viewState)432 this.ui.editor.graph.saveViewState(pages[i].viewState, temp, true);620 var viewState = this.ui.editor.graph.getViewState();628 this.ui.restoreViewState(page, viewState, selection);
8369 if (page.viewState == null)8380 if (page.viewState != null)8382 pageVisible = page.viewState.pageVisible;8383 mathEnabled = page.viewState.mathEnabled;8384 bg = page.viewState.background;8385 bgImage = page.viewState.backgroundImage;8386 tempGraph.extFonts = page.viewState.extFonts;8534 if (this.page.viewState != null)8538 this.page.viewState.background = this.color;8550 this.page.viewState.backgroundImage = img;[all …]
1282 this.editor.graph.saveViewState(page.viewState,1295 if (page.viewState.backgroundImage != null)1297 if (page.viewState.backgroundImage.originalSrc != null)1300 page.viewState.backgroundImage.originalSrc, page);1305 page.viewState.backgroundImage.src, page);1310 if (page.viewState.backgroundImage != null &&1311 page.viewState.backgroundImage.originalSrc != null)1315 this.editor.graph.saveViewState(page.viewState,1622 else if (page.viewState != null && page.viewState != null)1624 graph.setBackgroundImage(page.viewState.backgroundImage);[all …]
1244 var viewState = this.ui.editor.graph.getViewState();1258 this.ui.restoreViewState(page, viewState, selection);
2364 else if (page.viewState != null && page.viewState != null)2366 bgImg = page.viewState.backgroundImage;
8 …viewState,r=t.coordinateToPixelTransform,n=t.pixelToCoordinateTransform;kt(r,t.size[0]/2,t.size[1]… class in r.frameState_
3024 …g,!0));g.setAttribute("id",b[k].getId());b[k].viewState&&this.ui.editor.graph.saveViewState(b[k].v…3339 ….stylesheet),m=!0,x=!1,N=null,A=null;null==B.viewState&&null==B.root&&b.updatePageRoot(B);null!=B.…3340 (m=B.viewState.pageVisible,x=B.viewState.mathEnabled,N=B.viewState.background,A=B.viewState.backgro…3352 …viewState){this.ignoreColor||(this.page.viewState.background=this.color);if(!this.ignoreImage){var…3386 …viewState,k,null,g);EditorUi.removeChildNodes(l);mxUtils.setTextContent(l,Graph.compressNode(k));d…3387 …viewState.backgroundImage=this.createImageForPageLink(f.viewState.backgroundImage.originalSrc,f):G…3395 …e(this.editor.graph.backgroundImage):null!=n.viewState&&null!=n.viewState&&d.setBackgroundImage(n.…3425 …f.root=b[g].root;var p=e.encode(f);this.editor.graph.saveViewState(b[g].viewState,p,!0);p.removeAt…3543 …e(this.editor.graph.backgroundImage):null!=q.viewState&&null!=q.viewState&&d.setBackgroundImage(q.…
9984 …g,!0));g.setAttribute("id",b[c].getId());b[c].viewState&&this.ui.editor.graph.saveViewState(b[c].v…10672 (g=x.viewState.pageVisible,u=x.viewState.mathEnabled,C=x.viewState.background,D=x.viewState.backgro…10684 …viewState){this.ignoreColor||(this.page.viewState.background=this.color);if(!this.ignoreImage){var…10718 …viewState,g,null,e);EditorUi.removeChildNodes(m);mxUtils.setTextContent(m,Graph.compressNode(g));d…10719 …viewState.backgroundImage=this.createImageForPageLink(l.viewState.backgroundImage.originalSrc,l):G…10727 …e(this.editor.graph.backgroundImage):null!=p.viewState&&null!=p.viewState&&f.setBackgroundImage(p.…10875 …e(this.editor.graph.backgroundImage):null!=p.viewState&&null!=p.viewState&&f.setBackgroundImage(p.…11616 …];this.currentPage==p?n.setBackgroundImage(f):null!=p.viewState&&null!=p.viewState&&(f=p.viewState…11937 …neverShown=!0;null!=e&&(this.neverShown=null==e.viewState,this.ui.updatePageRoot(e),null!=d&&(e.vi…11967 d)}null!=b.graphModelNode&&(b.viewState=this.editor.graph.createViewState(b.graphModelNode))}return…[all …]
1 …viewState) {\n return __awaiter(this, void 0, void 0, function* () {\n this.refr…
1 …viewState=null}}class b{constructor(e){this.modelState=null,this.viewState=e}}class v{constructor(…