Lines Matching refs:graph
1367 var graph = this.editorUi.editor.graph;
1370 if (cells != null && graph.getSelectionCount() == 1 && graph.getModel().isVertex(cells[0]))
1372 var target = graph.cloneCell(cells[0]);
1375 …if (graph.getModel().isEdge(graph.getSelectionCell()) && graph.getModel().getTerminal(graph.getSel…
1376 graph.getModel().isVertex(target))
1378 graph.getModel().beginUpdate();
1381 var edgeState = graph.view.getState(graph.getSelectionCell());
1385 var tr = graph.view.translate;
1386 var s = graph.view.scale;
1393 graph.addCell(target);
1394 graph.getModel().setTerminal(graph.getSelectionCell(), target, false);
1398 graph.fireEvent(new mxEventObject('cellsInserted', 'cells', [target]));
1407 graph.getModel().endUpdate();
1410 graph.scrollCellToVisible(target);
1411 graph.setSelectionCell(target);