Lines Matching refs:geo
921 var geo = graph.getCellGeometry(cell);
923 if (graph.getModel().isVertex(cell) && geo != null)
925 geo = geo.clone();
929 geo.height = graph.snap(Math.round(geo.height * 0.5));
934 geo.width = graph.snap(Math.round(geo.width * 0.5));
937 if (geo.width > graph.tolerance && geo.height > graph.tolerance)
939 graph.getModel().setGeometry(cell, geo);
957 var geo = graph.getCellGeometry(cell);
959 if (graph.getModel().isVertex(cell) && geo != null)
961 geo = geo.clone();
965 geo.height *= 2;
970 geo.width *= 2;
973 if (geo.width > graph.tolerance && geo.height > graph.tolerance)
975 graph.getModel().setGeometry(cell, geo);
1026 var geo = graph.getCellGeometry(cell);
1028 if (graph.getModel().isVertex(cell) && geo != null)
1030 geo = geo.clone();
1034 geo.height = lastValue;
1038 geo.width = lastValue;
1041 graph.getModel().setGeometry(cell, geo);
1937 var geo = graph.getCellGeometry(cell)
1939 if (geo != null)
1942 geo.x, geo.y, geo.width, geo.height]);