13651366136713681369137013711372137313741375
editorPane.select(start, ende); } else { mxIGraphModel model = graphComponent.getGraph().getModel(); model.beginUpdate(); try { graphComponent.stopEditing(false); graphComponent.getGraph().toggleCellStyleFlags( mxConstants.STYLE_FONTSTYLE,
763764765766767768769770771772773
boolean isClone) { mxGraph graph = graphComponent.getGraph(); mxIGraphModel model = graph.getModel(); model.beginUpdate(); try { if (isClone) { Object clone = graph.cloneCells(new Object[] { edge })[0];
708709710711712713714715716717718
mxIGraphModel model = graphComponent.getGraph().getModel(); mxGeometry geometry = model.getGeometry(edge); if (geometry != null) { model.beginUpdate(); try { geometry = (mxGeometry) geometry.clone(); if (isSource(index) || isTarget(index))
331332333334335336337338339340341
else { parentsChanged = null; } model.beginUpdate(); try { TreeNode node = dfs(root, parent, null);
13581359136013611362136313641365136613671368
6667686970717273747576
mxIGraphModel model = graph.getModel(); // Moves the vertices to build a circle. Makes sure the // radius is large enough for the vertices to not // overlap model.beginUpdate(); try { for (int i = 0; i < e.length; i++) { mxCellState edge = (mxCellState) e[i];
200201202203204205206207208209210
mxRectangle size = graph.getStartSize(parent); fillValue -= (horizontal) ? size.getHeight() : size.getWidth(); double x0 = this.x0 + size.getWidth() + border; double y0 = this.y0 + size.getHeight() + border; model.beginUpdate(); try { double tmp = 0; mxGeometry last = null; int childCount = model.getChildCount(parent);
182183184185186187188189190191192
// Avoids negative values, that is values where the sum of the // spacing plus the border is larger then the available space if (value > 0) { model.beginUpdate(); try { for (int i = 0; i < n; i++) { Object child = children.get(i);
20532054205520562057205820592060206120622063
if (graph != null && !graph.isSelectionEmpty()) { Object[] cells = graph.getSelectionCells(); mxIGraphModel model = graph.getModel(); model.beginUpdate(); try { for (int i = 0; i < cells.length; i++) { graph.updateCellSize(cells[i]);
379380381382383384385386387388389
radiusSquared[i] = radius[i] * radius[i]; } // Moves cell location back to top-left from center locations used in // algorithm, resetting the edge points is part of the transaction model.beginUpdate(); try { for (int i = 0; i < n; i++) { dispX[i] = 0;