Lines Matching refs:clones

687 				var clones = graph.cloneCells([edges[0], cell]);
688 graph.model.setTerminal(clones[0], graph.model.getTerminal(edges[0], true), true);
694 clones[1].geometry.x += (after) ? cell.geometry.width + spacing :
695 -clones[1].geometry.width - spacing;
699 clones[1].geometry.y += (after) ? cell.geometry.height + spacing :
700 -clones[1].geometry.height - spacing;
705 clones[1].geometry.x -= pgeo.x;
706 clones[1].geometry.y -= pgeo.y;
721 -clones[1].geometry.width - spacing) * s;
726 -clones[1].geometry.height - spacing) * s;
811 return graph.addCells(clones, parent);
826 var clones = graph.cloneCells([edges[0], cell]);
827 graph.model.setTerminal(edges[0], clones[1], false);
828 graph.model.setTerminal(clones[0], clones[1], true);
829 graph.model.setTerminal(clones[0], cell, false);
838 clones[1].geometry.x -= pgeo.x;
839 clones[1].geometry.y -= pgeo.y;
883 return graph.addCells(clones, parent);
908 var clones = graph.cloneCells([edges[0], cell]);
909 graph.model.setTerminal(clones[0], cell, true);
911 if (graph.model.getTerminal(clones[0], false) == null)
913 graph.model.setTerminal(clones[0], clones[1], false);
915 var style = graph.getCellStyle(clones[1]);
926 graph.setCellStyles(key, styles[key], [clones[0]]);
933 [clones[0]]);
971 clones[1].geometry.x = (bbox == null) ? cell.geometry.x + (cell.geometry.width -
972 clones[1].geometry.width) / 2 : (bbox.x + bbox.width) / s - tr.x -
974 clones[1].geometry.y += clones[1].geometry.height - pgeo.y + level;
978 clones[1].geometry.x = (bbox == null) ? cell.geometry.x + (cell.geometry.width -
979 clones[1].geometry.width) / 2 : (bbox.x + bbox.width) / s - tr.x + -
981 clones[1].geometry.y -= clones[1].geometry.height + pgeo.y + level;
985 clones[1].geometry.x -= clones[1].geometry.width + pgeo.x + level;
986 clones[1].geometry.y = (bbox == null) ? cell.geometry.y + (cell.geometry.height -
987 clones[1].geometry.height) / 2 : (bbox.y + bbox.height) / s - tr.y + -
992 clones[1].geometry.x += clones[1].geometry.width - pgeo.x + level;
993 clones[1].geometry.y = (bbox == null) ? cell.geometry.y + (cell.geometry.height -
994 clones[1].geometry.height) / 2 : (bbox.y + bbox.height) / s - tr.y + -
998 return graph.addCells(clones, parent);