Lines Matching refs:geo

2425 	var geo = this.getDropAndConnectGeometry(source, targets[dropCellIndex], direction, targets);
2430 if (geo != null)
2469 var pt = geo.getTerminalPoint(false);
2482 var tempTarget = graph.getCellAt((geo.x + dx + graph.view.translate.x) * graph.view.scale,
2483 … (geo.y + dy + graph.view.translate.y) * graph.view.scale, null, null, null, function(state, x, y)
2501 geo.x -= offset.x - dx;
2502 geo.y -= offset.y - dy;
2508 geo.x += dx;
2509 geo.y += dy;
2522 targets = graph.importCells(targets, (geo.x - (useParent ? dx : 0)),
2523 (geo.y - (useParent ? dy : 0)), (useParent) ? targetParent : null);
2542 geo3.setTerminalPoint(geo.getTerminalPoint(false), false);
2557 dx = geo.x - Math.round(geo2.x);
2558 dy = geo.y - Math.round(geo2.y);
2559 geo.x = Math.round(geo2.x);
2560 geo.y = Math.round(geo2.y);
2561 graph.model.setGeometry(targets[dropCellIndex], geo);
2604 var geo = graph.getCellGeometry(source);
2607 if (geo != null && geo2 != null)
2631 if (geo.relative)
2634 geo = geo.clone();
2635 geo.x = (state.x - view.translate.x) / view.scale;
2636 geo.y = (state.y - view.translate.y) / view.scale;
2652 geo2.x = geo.getCenterX();
2653 geo2.y = geo.getCenterY();
2660 geo2.y = geo.y - length;
2666 geo2.x = geo.x + geo.width;
2672 geo2.y = geo.y + geo.height;
2678 geo2.x = geo.x - length;
2687 geo.width > 45 && geo.height > 45)
2689 geo2.width = geo2.width * (geo.height / geo2.height);
2690 geo2.height = geo.height;
2693 geo2.x = geo.x + geo.width / 2 - geo2.width / 2;
2694 geo2.y = geo.y + geo.height / 2 - geo2.height / 2;
2698 geo2.y = geo2.y - geo.height / 2 - geo2.height / 2 - length;
2702 geo2.x = geo2.x + geo.width / 2 + geo2.width / 2 + length;
2706 geo2.y = geo2.y + geo.height / 2 + geo2.height / 2 + length;
2710 geo2.x = geo2.x - geo.width / 2 - geo2.width / 2 - length;
2991 …var geo = sidebar.getDropAndConnectGeometry(currentTargetState.cell, cells[index], direction, cell…
3017 this.previewElement.style.left = ((geo.x - dx2) * view.scale + dx) + 'px';
3018 this.previewElement.style.top = ((geo.y - dy2) * view.scale + dy) + 'px';
3022 this.previewElement.style.width = (geo.width * view.scale) + 'px';
3023 this.previewElement.style.height = (geo.height * view.scale) + 'px';