Lines Matching refs:clones

508 			var clones = graph.cloneCells([edges[0], cell]);
509 graph.model.setTerminal(clones[0], graph.model.getTerminal(edges[0], true), true);
515 clones[1].geometry.x += (after) ? cell.geometry.width + spacing :
516 -clones[1].geometry.width - spacing;
520 clones[1].geometry.y += (after) ? cell.geometry.height + spacing :
521 -clones[1].geometry.height - spacing;
526 clones[1].geometry.x = cell.geometry.x + cell.geometry.width - clones[1].geometry.width;
541 -clones[1].geometry.width - spacing) * s;
546 -clones[1].geometry.height - spacing) * s;
626 return graph.addCells(clones);
641 var clones = graph.cloneCells([edges[0], cell]);
642 graph.model.setTerminal(edges[0], clones[1], false);
643 graph.model.setTerminal(clones[0], clones[1], true);
644 graph.model.setTerminal(clones[0], cell, false);
685 return graph.addCells(clones);
699 var clones = graph.cloneCells([edges[0], cell]);
700 graph.model.setTerminal(clones[0], cell, true);
723 clones[1].geometry.x = (bbox == null) ? cell.geometry.x + (cell.geometry.width -
724 clones[1].geometry.width) / 2 : (bbox.x + bbox.width) / s - tr.x + spacing;
725 clones[1].geometry.y += cell.geometry.height + level;
729 clones[1].geometry.x = (bbox == null) ? cell.geometry.x + (cell.geometry.width -
730 clones[1].geometry.width) / 2 : (bbox.x + bbox.width) / s - tr.x + spacing;
731 clones[1].geometry.y -= clones[1].geometry.height + level;
735 clones[1].geometry.x -= clones[1].geometry.width + level;
736 clones[1].geometry.y = (bbox == null) ? cell.geometry.y + (cell.geometry.height -
737 clones[1].geometry.height) / 2 : (bbox.y + bbox.height) / s - tr.y + spacing;
741 clones[1].geometry.x += cell.geometry.width + level;
742 clones[1].geometry.y = (bbox == null) ? cell.geometry.y + (cell.geometry.height -
743 clones[1].geometry.height) / 2 : (bbox.y + bbox.height) / s - tr.y + spacing;
746 return graph.addCells(clones);