Lines Matching refs:graph

1386 		this.editor.graph.addListener(mxEvent.SIZE, mxUtils.bind(this, function()
1782 if (this.editor.graph.isViewer())
2149 if (file != null && this.editor.isChromelessView() && this.editor.graph.isLightboxView())
2287 if (!this.editor.graph.isLightboxView())
2306 var graph = this.editor.graph;
2307 graph.invalidateDescendantsWithPlaceholders(graph.model.getRoot());
2308 graph.view.validate();
2345 var graph = this.editor.graph;
2346 var bgImg = graph.backgroundImage;
2351 var darkTheme = graph.themes != null && graph.defaultThemeName == 'darkTheme';
2355 var graphGetGlobalVariable = graph.getGlobalVariable;
2356 graph = this.createTemporaryGraph(graph.getStylesheet());
2357 graph.setBackgroundImage = this.editor.graph.setBackgroundImage;
2362 graph.setBackgroundImage(bgImg);
2367 graph.setBackgroundImage(bgImg);
2370 graph.getGlobalVariable = function(name)
2384 graph.getGlobalVariable = graphGetGlobalVariable;
2385 document.body.appendChild(graph.container);
2386 graph.model.setRoot(page.root);
2397 if (graph != this.editor.graph && graph.container.parentNode != null)
2399 graph.container.parentNode.removeChild(graph.container);
2412 }, null, null, null, null, null, null, graph, null, null, null,
2420 var bounds = graph.getGraphBounds();
2421 var t = graph.view.translate;
2422 var s = graph.view.scale;
2450 var bg = graph.background;
2504 imgExport.drawState(graph.getView().getState(graph.model.root), asynCanvas);
2510 imgExport.drawState(graph.getView().getState(graph.model.root), htmlCanvas);
2513 if (graph != this.editor.graph && graph.container.parentNode != null)
2515 graph.container.parentNode.removeChild(graph.container);
2534 if (graph != null && graph != this.editor.graph && graph.container.parentNode != null)
2536 graph.container.parentNode.removeChild(graph.container);
2898 this.editor.graph.setEnabled(this.getCurrentFile() != null);
2967 this.editor.graph.setEnabled(false);
3292 this.editor.graph.fitWindow(bounds, bounds.border);
3338 this.editor.graph.setEnabled(false);
3734 this.editor.graph.popupMenuHandler.hideMenu();
4871 var graph = null;
4876 graph = this.createTemporaryGraph(this.editor.graph.getStylesheet());
4877 document.body.appendChild(graph.container);
4878 node = this.decodeNodeIntoGraph(node, graph);
4881 file.setData(this.createFileData(dataNode, graph, file, redirect));
4883 if (graph != null)
4885 graph.container.parentNode.removeChild(graph.container);
6155 if (this.editor.graph.isEditing())
6157 this.editor.graph.stopEditing();
6442 var graph = this.editor.graph;
6445 if (graph.isEnabled() && !editable)
6447 graph.reset();
6450 graph.setEnabled(editable);
6474 this.editor.graph.isSelectionEmpty())
6847 if (this.editor.graph.isEditing())
6849 this.editor.graph.stopEditing();
7772 if (this.graph.defaultPageFormat == null)
7774 this.graph.pageFormat = mxSettings.getPageFormat();