| | |
| | | [text1.bottom[0], text1.bottom[1] + 48] |
| | | ] |
| | | }) |
| | | |
| | | let onOff1 = diagram.onOff({ |
| | | id: 'km1', |
| | | point: [text1.bottom[0], text1.bottom[1] + 48], |
| | | point: [line1[1][0], line1[1][1]], |
| | | direction: 'bottom', |
| | | color: '#c0becf', |
| | | state: false, |
| | | flush: false, |
| | | flush: true, |
| | | }); |
| | | |
| | | let line2 = diagram.line({ |
| | |
| | | strokeStyle: lineStrokeColor, |
| | | lineWidth: lineWidth, |
| | | points: [ |
| | | onOff1.arc2.bottom, |
| | | [onOff1.arc2.bottom[0], start[1] - 3.5] |
| | | [onOff1.arc2.bottom[0], onOff1.arc2.bottom[1]], |
| | | [onOff1.arc2.bottom[0], KVLine[0][1]] |
| | | ] |
| | | }) |
| | | |
| | |
| | | direction: 'bottom', |
| | | color: '#c0becf', |
| | | state: false, |
| | | flush: false, |
| | | flush: true, |
| | | }); |
| | | |
| | | let line4 = diagram.line({ |
| | |
| | | direction: 'bottom', |
| | | color: '#c0becf', |
| | | state: false, |
| | | flush: false, |
| | | flush: true, |
| | | }); |
| | | |
| | | let line6 = diagram.line({ |
| | |
| | | direction: 'bottom', |
| | | color: '#c0becf', |
| | | state: false, |
| | | flush: false, |
| | | flush: true, |
| | | }); |
| | | |
| | | let line15 = diagram.line({ |