Lines Matching refs:graph
32 var graph = ui.editor.graph;
214 graph.view.states.visit(function(id, state)
216 var link = graph.getLinkForCell(state.cell);
233 graph.view.invalidate(state.cell, true, false);
248 graph.view.validate();
264 for (var key in graph.view.states.map)
266 var cell = graph.view.states.map[key].cell;
268 if (link == graph.getLinkForCell(cell))
319 graph.setSelectionCell(cell);
320 graph.scrollCellToVisible(graph.getSelectionCell());
335 graph.getModel().beginUpdate();
338 cell = graph.insertVertex(graph.getDefaultParent(), null,
341 graph.snap(dx), graph.snap(dy), 200, 50,
346 graph.setLinkForCell(cell, text);
358 graph.setAttributeForCell(label1, 'placeholders', '1');
364 graph.updateCellSize(cell);
370 graph.getModel().endUpdate();
373 graph.setSelectionCell(cell);