Lines Matching refs:n1
144 let n1 = nodes[l.fromId];
147 let id1 = parseInt(n1.ir.id);
150 if (type === 0 && (n1.mask & this.mask_) !== 0 && this.selectPoint_.indexOf(id2) >= 0) { //选中前继
539 checkLevel(levely, n1, n2) {
540 let i1 = levely.indexOf(n1.pos.y);
549 let n1 = nodes[l.fromId];
551 if (n1.hide || n2.hide) {
555 let lor = n1.pos.x + n2.pos.x < -50 ? 0 : 1;
556 if (this.checkLevel(levely, n1, n2)) { }
558 if (!(n1.outh[l.outNum] in n1.outhx)) {
560 n1.outhx[n1.outh[l.outNum]] = mmx[lor];
567 let n1 = nodes[l.fromId];
569 if (n1.hide || n2.hide) {
573 let x1 = n1.pos.x + n1.nameWidth - 5 + offx - n1.ltypes.indexOf(l.lineType) * 5;
574 let y1 = n1.pos.y + 10 + offy;
577 let lor = n1.pos.x + n2.pos.x < -50 ? 0 : 1;
595 if (this.checkLevel(levely, n1, n2)) { }
610 if (this.checkLevel(levely, n1, n2)) {
611 ls.push([x1, y1, x1, y1 + n1.outh[l.outNum], c, lw]);
612 ls.push([x1, y1 + n1.outh[l.outNum], x2, y1 + n1.outh[l.outNum], c, lw]);
613 ls.push([x2, y1 + n1.outh[l.outNum], x2, y2, c, lw]);
616 let lx = n1.outhx[n1.outh[l.outNum]]; //n1.outhx[l.outNum] 或 mmx[lor]
617 let ly = n2.inh[l.fromId + l.lineType]; //n2.inh[l.inNum] 或 n2.inh[n1.ir.id]
619 ls.push([x1, y1, x1, y1 + n1.outh[l.outNum], c, lw]);
620 ls.push([x1, y1 + n1.outh[l.outNum], lx, y1 + n1.outh[l.outNum], c, lw]);
621 ls.push([lx, y1 + n1.outh[l.outNum], lx, y2 - ly, c, lw]);