@tscircuit/schematic-trace-solver 0.0.87 → 0.0.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/schematic-trace-visualization/SKILL.md +115 -0
- package/.github/scripts/import-json-bug-report.ts +15 -1
- package/.github/workflows/json-bug-report.yml +3 -2
- package/AGENTS.md +22 -0
- package/lib/testing/PipelineStageDebugRunner.ts +344 -0
- package/package.json +3 -2
- package/scripts/debug-pipeline-stages.ts +146 -0
- package/site/bug-reports/bug-report-20260706T220324Z.page.tsx +4 -0
- package/site/bug-reports/bug-report-20260707T020342Z.page.tsx +4 -0
- package/site/bug-reports/bug-report-20260707T092615Z.page.tsx +4 -0
- package/site/bug-reports/bug-report-20260707T134549Z.page.tsx +4 -0
- package/site/bug-reports/bug-report-20260707T134722Z.page.tsx +4 -0
- package/site/bug-reports/bug-report-20260707T140410Z.page.tsx +4 -0
- package/site/bug-reports/bug-report-20260707T141025Z.page.tsx +4 -0
- package/site/bug-reports/bug-report-20260707T141421Z.page.tsx +4 -0
- package/tests/bug-reports/bug-report-20260706T220324Z/__snapshots__/bug-report-20260706T220324Z.snap.svg +357 -3448
- package/tests/bug-reports/bug-report-20260707T020342Z/__snapshots__/bug-report-20260707T020342Z.snap.svg +64 -0
- package/tests/bug-reports/bug-report-20260707T020342Z/bug-report-20260707T020342Z.json +233 -0
- package/tests/bug-reports/bug-report-20260707T020342Z/bug-report-20260707T020342Z.test.ts +12 -0
- package/tests/bug-reports/bug-report-20260707T092615Z/__snapshots__/bug-report-20260707T092615Z.snap.svg +2098 -0
- package/tests/bug-reports/bug-report-20260707T092615Z/bug-report-20260707T092615Z.json +1392 -0
- package/tests/bug-reports/bug-report-20260707T092615Z/bug-report-20260707T092615Z.test.ts +12 -0
- package/tests/bug-reports/bug-report-20260707T134549Z/__snapshots__/bug-report-20260707T134549Z.snap.svg +857 -0
- package/tests/bug-reports/bug-report-20260707T134549Z/bug-report-20260707T134549Z.json +652 -0
- package/tests/bug-reports/bug-report-20260707T134549Z/bug-report-20260707T134549Z.test.ts +12 -0
- package/tests/bug-reports/bug-report-20260707T134722Z/__snapshots__/bug-report-20260707T134722Z.snap.svg +275 -0
- package/tests/bug-reports/bug-report-20260707T134722Z/bug-report-20260707T134722Z.json +265 -0
- package/tests/bug-reports/bug-report-20260707T134722Z/bug-report-20260707T134722Z.test.ts +12 -0
- package/tests/bug-reports/bug-report-20260707T140410Z/__snapshots__/bug-report-20260707T140410Z.snap.svg +950 -0
- package/tests/bug-reports/bug-report-20260707T140410Z/bug-report-20260707T140410Z.json +610 -0
- package/tests/bug-reports/bug-report-20260707T140410Z/bug-report-20260707T140410Z.test.ts +12 -0
- package/tests/bug-reports/bug-report-20260707T141025Z/__snapshots__/bug-report-20260707T141025Z.snap.svg +218 -0
- package/tests/bug-reports/bug-report-20260707T141025Z/bug-report-20260707T141025Z.json +185 -0
- package/tests/bug-reports/bug-report-20260707T141025Z/bug-report-20260707T141025Z.test.ts +12 -0
- package/tests/bug-reports/bug-report-20260707T141421Z/__snapshots__/bug-report-20260707T141421Z.snap.svg +613 -0
- package/tests/bug-reports/bug-report-20260707T141421Z/bug-report-20260707T141421Z.json +499 -0
- package/tests/bug-reports/bug-report-20260707T141421Z/bug-report-20260707T141421Z.test.ts +12 -0
- package/tests/examples/__snapshots__/example01.snap.svg +59 -162
- package/tests/examples/__snapshots__/example02.snap.svg +64 -273
- package/tests/examples/__snapshots__/example03.snap.svg +85 -290
- package/tests/examples/__snapshots__/example04.snap.svg +50 -94
- package/tests/examples/__snapshots__/example05.snap.svg +73 -191
- package/tests/examples/__snapshots__/example06.snap.svg +49 -95
- package/tests/examples/__snapshots__/example07.snap.svg +65 -218
- package/tests/examples/__snapshots__/example08.snap.svg +61 -143
- package/tests/examples/__snapshots__/example09.snap.svg +123 -493
- package/tests/examples/__snapshots__/example10.snap.svg +57 -136
- package/tests/examples/__snapshots__/example11.snap.svg +64 -173
- package/tests/examples/__snapshots__/example12.snap.svg +58 -159
- package/tests/examples/__snapshots__/example13.snap.svg +78 -348
- package/tests/examples/__snapshots__/example14.snap.svg +77 -293
- package/tests/examples/__snapshots__/example15.snap.svg +140 -984
- package/tests/examples/__snapshots__/example16.snap.svg +62 -162
- package/tests/examples/__snapshots__/example17.snap.svg +67 -198
- package/tests/examples/__snapshots__/example18.snap.svg +69 -249
- package/tests/examples/__snapshots__/example19.snap.svg +63 -202
- package/tests/examples/__snapshots__/example20.snap.svg +60 -148
- package/tests/examples/__snapshots__/example21.snap.svg +73 -298
- package/tests/examples/__snapshots__/example22.snap.svg +62 -156
- package/tests/examples/__snapshots__/example23.snap.svg +66 -172
- package/tests/examples/__snapshots__/example24.snap.svg +64 -164
- package/tests/examples/__snapshots__/example25.snap.svg +76 -299
- package/tests/examples/__snapshots__/example26.snap.svg +64 -164
- package/tests/examples/__snapshots__/example27.snap.svg +83 -300
- package/tests/examples/__snapshots__/example28.snap.svg +54 -115
- package/tests/examples/__snapshots__/example29.snap.svg +257 -1299
- package/tests/examples/__snapshots__/example30.snap.svg +91 -293
- package/tests/examples/__snapshots__/example31.snap.svg +47 -88
- package/tests/examples/__snapshots__/example32.snap.svg +107 -405
- package/tests/examples/__snapshots__/example33.snap.svg +71 -180
- package/tests/examples/__snapshots__/example34.snap.svg +55 -116
- package/tests/examples/__snapshots__/example35.snap.svg +69 -176
- package/tests/examples/__snapshots__/example36.snap.svg +65 -159
- package/tests/examples/__snapshots__/example37.snap.svg +75 -223
- package/tests/examples/__snapshots__/example38.snap.svg +46 -76
- package/tests/examples/__snapshots__/example39.snap.svg +51 -106
- package/tests/examples/__snapshots__/example40.snap.svg +83 -270
- package/tests/examples/__snapshots__/example41.snap.svg +54 -118
- package/tests/examples/__snapshots__/example42.snap.svg +67 -194
- package/tests/examples/__snapshots__/example43.snap.svg +62 -168
- package/tests/examples/__snapshots__/example44.snap.svg +86 -369
- package/tests/examples/__snapshots__/example45.snap.svg +60 -169
- package/tests/examples/__snapshots__/example46.snap.svg +80 -342
- package/tests/examples/__snapshots__/example47.snap.svg +82 -323
- package/tests/examples/__snapshots__/example48.snap.svg +64 -167
- package/tests/examples/__snapshots__/example49.snap.svg +120 -565
- package/tests/examples/__snapshots__/example50.snap.svg +71 -189
- package/tests/fixtures/getLastStepGraphicsObject.ts +38 -0
- package/tests/fixtures/getLastStepSvg.ts +9 -0
- package/tests/repros/__snapshots__/bugreport-001-gnd-overlap.snap.svg +67 -218
- package/tests/repros/__snapshots__/manufacturePartNumber-text-box.snap.svg +47 -87
- package/tests/repros/__snapshots__/netlabel-connector-through-rail-label.snap.svg +73 -272
- package/tests/repros/__snapshots__/repro-atmega328p-fault-pullup.snap.svg +284 -0
- package/tests/repros/__snapshots__/repro-atmega328p-missing-gnd-netlabel.snap.svg +470 -0
- package/tests/repros/__snapshots__/repro-bq24074-battery-charger.snap.svg +94 -395
- package/tests/repros/__snapshots__/repro-cc2340r5.snap.svg +88 -467
- package/tests/repros/__snapshots__/repro-ina237-current-monitor.snap.svg +109 -569
- package/tests/repros/__snapshots__/repro130-bq27441-fuel-gauge-trace-through-c1.snap.svg +95 -459
- package/tests/repros/__snapshots__/repro51-overlap-junction-crossing.snap.svg +64 -176
- package/tests/repros/__snapshots__/trace-overlap-box-resistor.snap.svg +51 -112
- package/tests/repros/assets/repro-atmega328p-fault-pullup.input.json +239 -0
- package/tests/repros/assets/repro-atmega328p-missing-gnd-netlabel.input.json +432 -0
- package/tests/repros/repro-atmega328p-fault-pullup.test.ts +11 -0
- package/tests/repros/repro-atmega328p-missing-gnd-netlabel.test.ts +16 -0
- package/tests/solvers/SchematicTraceSingleLineSolver2/__snapshots__/SchematicTraceSingleLineSolver2_01-example17-d1_1-u1_1.snap.svg +59 -159
- package/tests/solvers/TraceCleanupSolver/__snapshots__/TraceCleanupSolver.snap.svg +54 -118
- package/tests/solvers/TraceLabelOverlapAvoidanceSolver/__snapshots__/TraceLabelOverlapAvoidanceSolver.snap.svg +58 -245
- package/tests/solvers/TraceLabelOverlapAvoidanceSolver/renderComparisonView/__snapshots__/renderComparisonView01.snap.svg +73 -222
- package/tests/solvers/TraceLabelOverlapAvoidanceSolver/renderComparisonView/__snapshots__/renderComparisonView02.snap.svg +65 -204
- package/tests/solvers/TraceLabelOverlapAvoidanceSolver/renderComparisonView/__snapshots__/renderComparisonView03.snap.svg +65 -183
- package/tests/solvers/TraceLabelOverlapAvoidanceSolver/sub-solver/__snapshots__/MergedNetLabelObstacles.snap.svg +54 -139
- package/tests/solvers/TraceLabelOverlapAvoidanceSolver/sub-solver/__snapshots__/OverlapAvoidanceStepSolver.snap.svg +61 -215
- package/tests/solvers/TraceLabelOverlapAvoidanceSolver/sub-solver/__snapshots__/SingleOverlapSolver.snap.svg +54 -124
|
@@ -1,107 +1,52 @@
|
|
|
1
|
-
<svg width="640" height="640" viewBox="0 0 640 640" xmlns="http://www.w3.org/2000/svg"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
x-" data-x="-7.65" data-y="-0.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
</g>
|
|
30
|
-
<g>
|
|
31
|
-
<polyline data-points="-7.65,-0.43000000000000016 -8.95,-0.4299999999999997" data-type="line" data-label="" points="325.9574468085108,321.18553191489366 171.06382978723423,321.1855319148936" fill="none" stroke="hsl(88, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
32
|
-
</g>
|
|
33
|
-
<g>
|
|
34
|
-
<polyline data-points="-7.65,-0.43000000000000016 -8.95,-0.4299999999999997" data-type="line" data-label="" points="325.9574468085108,321.18553191489366 171.06382978723423,321.1855319148936" fill="none" stroke="purple" stroke-width="1" />
|
|
35
|
-
</g>
|
|
36
|
-
<g>
|
|
37
|
-
<rect data-type="rect" data-label="schematic_component_0" data-x="-6.5" data-y="-0.33" x="325.9574468085108" y="261.61106382978727" width="274.04255319148933" height="95.31914893617017" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.008392857142857145" />
|
|
38
|
-
</g>
|
|
39
|
-
<g>
|
|
40
|
-
<rect data-type="rect" data-label="schematic_component_4" data-x="-9.5" data-y="-0.4299999999999997" x="40.00000000000023" y="298.0163838297873" width="131.063829787234" height="46.33829617021263" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.008392857142857145" />
|
|
41
|
-
</g>
|
|
42
|
-
<g>
|
|
43
|
-
<rect data-type="rect" data-label="netId: SWCLK
|
|
44
|
-
globalConnNetId: connectivity_net1" data-x="-8.011" data-y="-0.22999999999999998" x="240.0510638297876" y="285.4408510638298" width="85.78723404255311" height="23.829787234042556" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.008392857142857145" />
|
|
45
|
-
</g>
|
|
46
|
-
<g>
|
|
47
|
-
<rect data-type="rect" data-label="netId: SWD
|
|
48
|
-
globalConnNetId: connectivity_net0" data-x="-7.8500000000000005" data-y="-0.6701000000000001" x="290.212765957447" y="321.1974468085107" width="23.829787234042442" height="57.19148936170211" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.008392857142857145" />
|
|
49
|
-
</g>
|
|
50
|
-
<g id="crosshair" style="display: none">
|
|
51
|
-
<line id="crosshair-h" y1="0" y2="640" stroke="#666" stroke-width="0.5" />
|
|
52
|
-
<line id="crosshair-v" x1="0" x2="640" stroke="#666" stroke-width="0.5" /><text id="coordinates" font-family="monospace" font-size="12" fill="#666"></text>
|
|
53
|
-
</g>
|
|
54
|
-
<script>
|
|
55
|
-
<![CDATA[
|
|
56
|
-
document.currentScript.parentElement.addEventListener('mousemove', (e) => {
|
|
57
|
-
const svg = e.currentTarget;
|
|
58
|
-
const rect = svg.getBoundingClientRect();
|
|
59
|
-
const x = e.clientX - rect.left;
|
|
60
|
-
const y = e.clientY - rect.top;
|
|
61
|
-
const crosshair = svg.getElementById('crosshair');
|
|
62
|
-
const h = svg.getElementById('crosshair-h');
|
|
63
|
-
const v = svg.getElementById('crosshair-v');
|
|
64
|
-
const coords = svg.getElementById('coordinates');
|
|
1
|
+
<svg width="640" height="640" viewBox="0 0 640 640" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" fill="white"/><g><polyline data-points="-7.65,-0.43000000000000016 -8.95,-0.4299999999999997" data-type="line" data-label="" points="325.9574468085108,321.18553191489366 171.06382978723423,321.1855319148936" fill="none" stroke="hsl(80, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="-7.65,-0.43000000000000016 -8.95,-0.4299999999999997" data-type="line" data-label="" points="325.9574468085108,321.18553191489366 171.06382978723423,321.1855319148936" fill="none" stroke="hsl(88, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-7.65,-0.43000000000000016 -8.95,-0.4299999999999997" data-type="line" data-label="" points="325.9574468085108,321.18553191489366 171.06382978723423,321.1855319148936" fill="none" stroke="purple" stroke-width="1px"/></g><g><rect data-type="rect" data-label="schematic_component_0" data-x="-6.5" data-y="-0.33" x="325.9574468085108" y="261.6110638297873" width="274.04255319148933" height="95.31914893617017" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.008392857142857145"/></g><g><rect data-type="rect" data-label="schematic_component_4" data-x="-9.5" data-y="-0.4299999999999997" x="40.00000000000034" y="298.0163838297873" width="131.063829787234" height="46.33829617021263" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.008392857142857145"/></g><g><rect data-type="rect" data-label="netId: SWCLK
|
|
2
|
+
globalConnNetId: connectivity_net1" data-x="-8.011" data-y="-0.22999999999999998" x="240.0510638297875" y="285.4408510638298" width="85.78723404255311" height="23.829787234042556" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.008392857142857145"/></g><g><rect data-type="rect" data-label="netId: SWD
|
|
3
|
+
globalConnNetId: connectivity_net0" data-x="-7.8500000000000005" data-y="-0.6701000000000001" x="290.212765957447" y="321.1974468085107" width="23.829787234042442" height="57.19148936170211" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.008392857142857145"/></g><g><circle data-type="point" data-label="U3.24
|
|
4
|
+
x-" data-x="-7.65" data-y="-0.22999999999999998" cx="325.9574468085108" cy="297.3557446808511" r="3" fill="hsl(74, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U3.25
|
|
5
|
+
x-" data-x="-7.65" data-y="-0.43000000000000016" cx="325.9574468085108" cy="321.18553191489366" r="3" fill="hsl(75, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="R5.1
|
|
6
|
+
x-" data-x="-10.05" data-y="-0.4299999999999997" cx="40.00000000000023" cy="321.1855319148936" r="3" fill="hsl(110, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="R5.2
|
|
7
|
+
x+" data-x="-8.95" data-y="-0.4299999999999997" cx="171.06382978723423" cy="321.1855319148936" r="3" fill="hsl(111, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
8
|
+
orientation: x-" data-x="-7.65" data-y="-0.22999999999999998" cx="325.9574468085108" cy="297.3557446808511" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
9
|
+
orientation: y-" data-x="-7.8500000000000005" data-y="-0.4300000000000001" cx="302.1276595744682" cy="321.18553191489366" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g id="crosshair" style="display: none"><line id="crosshair-h" y1="0" y2="640" stroke="#666" stroke-width="0.5"/><line id="crosshair-v" x1="0" x2="640" stroke="#666" stroke-width="0.5"/><text id="coordinates" font-family="monospace" font-size="12" fill="#666"></text></g><script><![CDATA[
|
|
10
|
+
document.currentScript.parentElement.addEventListener('mousemove', (e) => {
|
|
11
|
+
const svg = e.currentTarget;
|
|
12
|
+
const rect = svg.getBoundingClientRect();
|
|
13
|
+
const x = e.clientX - rect.left;
|
|
14
|
+
const y = e.clientY - rect.top;
|
|
15
|
+
const crosshair = svg.getElementById('crosshair');
|
|
16
|
+
const h = svg.getElementById('crosshair-h');
|
|
17
|
+
const v = svg.getElementById('crosshair-v');
|
|
18
|
+
const coords = svg.getElementById('coordinates');
|
|
19
|
+
|
|
20
|
+
crosshair.style.display = 'block';
|
|
21
|
+
h.setAttribute('x1', '0');
|
|
22
|
+
h.setAttribute('x2', '640');
|
|
23
|
+
h.setAttribute('y1', y);
|
|
24
|
+
h.setAttribute('y2', y);
|
|
25
|
+
v.setAttribute('x1', x);
|
|
26
|
+
v.setAttribute('x2', x);
|
|
27
|
+
v.setAttribute('y1', '0');
|
|
28
|
+
v.setAttribute('y2', '640');
|
|
65
29
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
const sx = matrix.a;
|
|
90
|
-
const sy = matrix.d;
|
|
91
|
-
const tx = matrix.e;
|
|
92
|
-
const ty = matrix.f;
|
|
93
|
-
const realPoint = {
|
|
94
|
-
x: (x - tx) / sx,
|
|
95
|
-
y: (y - ty) / sy // Flip y back since we used negative scale
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
coords.textContent = `(${realPoint.x.toFixed(2)}, ${realPoint.y.toFixed(2)})`;
|
|
99
|
-
coords.setAttribute('x', (x + 5).toString());
|
|
100
|
-
coords.setAttribute('y', (y - 5).toString());
|
|
101
|
-
});
|
|
102
|
-
document.currentScript.parentElement.addEventListener('mouseleave', () => {
|
|
103
|
-
document.currentScript.parentElement.getElementById('crosshair').style.display = 'none';
|
|
104
|
-
});
|
|
105
|
-
]]>
|
|
106
|
-
</script>
|
|
107
|
-
</svg>
|
|
30
|
+
// Calculate real coordinates using inverse transformation
|
|
31
|
+
const matrix = {"a":119.14893617021274,"c":0,"e":1237.4468085106382,"b":0,"d":-119.14893617021274,"f":269.95148936170216};
|
|
32
|
+
// Manually invert and apply the affine transform
|
|
33
|
+
// Since we only use translate and scale, we can directly compute:
|
|
34
|
+
// x' = (x - tx) / sx
|
|
35
|
+
// y' = (y - ty) / sy
|
|
36
|
+
const sx = matrix.a;
|
|
37
|
+
const sy = matrix.d;
|
|
38
|
+
const tx = matrix.e;
|
|
39
|
+
const ty = matrix.f;
|
|
40
|
+
const realPoint = {
|
|
41
|
+
x: (x - tx) / sx,
|
|
42
|
+
y: (y - ty) / sy // Flip y back since we used negative scale
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
coords.textContent = `(${realPoint.x.toFixed(2)}, ${realPoint.y.toFixed(2)})`;
|
|
46
|
+
coords.setAttribute('x', (x + 5).toString());
|
|
47
|
+
coords.setAttribute('y', (y - 5).toString());
|
|
48
|
+
});
|
|
49
|
+
document.currentScript.parentElement.addEventListener('mouseleave', () => {
|
|
50
|
+
document.currentScript.parentElement.getElementById('crosshair').style.display = 'none';
|
|
51
|
+
});
|
|
52
|
+
]]></script></svg>
|
|
@@ -1,271 +1,84 @@
|
|
|
1
|
-
<svg width="640" height="640" viewBox="0 0 640 640" xmlns="http://www.w3.org/2000/svg"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
x+" data-x="0.325" data-y="0.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
x+" data-x="0.325" data-y="0
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
x+" data-x="0.325" data-y="0" cx="108.9916603487491" cy="
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
x
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
x+" data-x="
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
x
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
x+" data-x="0.325" data-y="-0.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
x+" data-x="4.5" data-y="1" cx="552.1304018195603" cy="221.819560272934" r="3" fill="hsl(324, 100%, 50%, 0.8)" />
|
|
62
|
-
</g>
|
|
63
|
-
<g>
|
|
64
|
-
<circle data-type="point" data-label="U1.7
|
|
65
|
-
x+" data-x="4.5" data-y="0.6" cx="552.1304018195603" cy="264.275966641395" r="3" fill="hsl(325, 100%, 50%, 0.8)" />
|
|
66
|
-
</g>
|
|
67
|
-
<g>
|
|
68
|
-
<circle data-type="point" data-label="U1.8
|
|
69
|
-
x+" data-x="4.5" data-y="0.2" cx="552.1304018195603" cy="306.7323730098559" r="3" fill="hsl(326, 100%, 50%, 0.8)" />
|
|
70
|
-
</g>
|
|
71
|
-
<g>
|
|
72
|
-
<circle data-type="point" data-label="U1.9
|
|
73
|
-
x+" data-x="4.5" data-y="-0.2" cx="552.1304018195603" cy="349.1887793783169" r="3" fill="hsl(327, 100%, 50%, 0.8)" />
|
|
74
|
-
</g>
|
|
75
|
-
<g>
|
|
76
|
-
<circle data-type="point" data-label="anchorPoint
|
|
77
|
-
orientation: y+" data-x="1.1187500000000001" data-y="0.8" cx="193.2410917361638" cy="243.04776345716448" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
78
|
-
</g>
|
|
79
|
-
<g>
|
|
80
|
-
<circle data-type="point" data-label="anchorPoint
|
|
81
|
-
orientation: x-" data-x="3.3" data-y="0.8" cx="424.7611827141774" cy="243.04776345716448" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
82
|
-
</g>
|
|
83
|
-
<g>
|
|
84
|
-
<circle data-type="point" data-label="anchorPoint
|
|
85
|
-
orientation: x-" data-x="3.3" data-y="0" cx="424.7611827141774" cy="327.9605761940864" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
86
|
-
</g>
|
|
87
|
-
<g>
|
|
88
|
-
<circle data-type="point" data-label="anchorPoint
|
|
89
|
-
orientation: y-" data-x="1.1187500000000001" data-y="0" cx="193.2410917361638" cy="327.9605761940864" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
90
|
-
</g>
|
|
91
|
-
<g>
|
|
92
|
-
<circle data-type="point" data-label="anchorPoint
|
|
93
|
-
orientation: x+" data-x="0.325" data-y="-0.2" cx="108.9916603487491" cy="349.1887793783169" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
94
|
-
</g>
|
|
95
|
-
<g>
|
|
96
|
-
<circle data-type="point" data-label="anchorPoint
|
|
97
|
-
orientation: x+" data-x="4.5" data-y="1" cx="552.1304018195603" cy="221.819560272934" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
98
|
-
</g>
|
|
99
|
-
<g>
|
|
100
|
-
<circle data-type="point" data-label="anchorPoint
|
|
101
|
-
orientation: x+" data-x="0.325" data-y="-0.4" cx="108.9916603487491" cy="370.41698256254733" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
102
|
-
</g>
|
|
103
|
-
<g>
|
|
104
|
-
<circle data-type="point" data-label="anchorPoint
|
|
105
|
-
orientation: x+" data-x="4.5" data-y="0.6" cx="552.1304018195603" cy="264.275966641395" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
106
|
-
</g>
|
|
107
|
-
<g>
|
|
108
|
-
<circle data-type="point" data-label="anchorPoint
|
|
109
|
-
orientation: x+" data-x="0.325" data-y="-0.6" cx="108.9916603487491" cy="391.6451857467778" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
110
|
-
</g>
|
|
111
|
-
<g>
|
|
112
|
-
<circle data-type="point" data-label="anchorPoint
|
|
113
|
-
orientation: x+" data-x="4.5" data-y="0.2" cx="552.1304018195603" cy="306.7323730098559" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
114
|
-
</g>
|
|
115
|
-
<g>
|
|
116
|
-
<circle data-type="point" data-label="anchorPoint
|
|
117
|
-
orientation: y-" data-x="2.5125" data-y="-0.8" cx="341.17513267627" cy="412.8733889310083" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
118
|
-
</g>
|
|
119
|
-
<g>
|
|
120
|
-
<polyline data-points="0.325,0.8 3.5,1.2" data-type="line" data-label="" points="108.9916603487491,243.04776345716448 445.98938589840793,200.59135708870355" fill="none" stroke="hsl(0, 100%, 50%, 0.8)" stroke-width="1" />
|
|
121
|
-
</g>
|
|
122
|
-
<g>
|
|
123
|
-
<polyline data-points="0.325,0.6 3.5,0.8" data-type="line" data-label="" points="108.9916603487491,264.275966641395 445.98938589840793,243.04776345716448" fill="none" stroke="hsl(16, 100%, 50%, 0.8)" stroke-width="1" />
|
|
124
|
-
</g>
|
|
125
|
-
<g>
|
|
126
|
-
<polyline data-points="0.325,0.4 3.5,0.4" data-type="line" data-label="" points="108.9916603487491,285.50416982562547 445.98938589840793,285.50416982562547" fill="none" stroke="hsl(40, 100%, 50%, 0.8)" stroke-width="1" />
|
|
127
|
-
</g>
|
|
128
|
-
<g>
|
|
129
|
-
<polyline data-points="0.325,0.2 3.5,0" data-type="line" data-label="" points="108.9916603487491,306.7323730098559 445.98938589840793,327.9605761940864" fill="none" stroke="hsl(240, 100%, 50%, 0.8)" stroke-width="1" />
|
|
130
|
-
</g>
|
|
131
|
-
<g>
|
|
132
|
-
<polyline data-points="0.325,0 3.5,-0.4" data-type="line" data-label="" points="108.9916603487491,327.9605761940864 445.98938589840793,370.41698256254733" fill="none" stroke="hsl(88, 100%, 50%, 0.8)" stroke-width="1" />
|
|
133
|
-
</g>
|
|
134
|
-
<g>
|
|
135
|
-
<polyline data-points="0.325,-0.2 4.5,1" data-type="line" data-label="" points="108.9916603487491,349.1887793783169 552.1304018195603,221.819560272934" fill="none" stroke="hsl(288, 100%, 50%, 0.8)" stroke-width="1" />
|
|
136
|
-
</g>
|
|
137
|
-
<g>
|
|
138
|
-
<polyline data-points="0.325,-0.4 4.5,0.6" data-type="line" data-label="" points="108.9916603487491,370.41698256254733 552.1304018195603,264.275966641395" fill="none" stroke="hsl(128, 100%, 50%, 0.8)" stroke-width="1" />
|
|
139
|
-
</g>
|
|
140
|
-
<g>
|
|
141
|
-
<polyline data-points="0.325,-0.6 4.5,0.2" data-type="line" data-label="" points="108.9916603487491,391.6451857467778 552.1304018195603,306.7323730098559" fill="none" stroke="hsl(152, 100%, 50%, 0.8)" stroke-width="1" />
|
|
142
|
-
</g>
|
|
143
|
-
<g>
|
|
144
|
-
<polyline data-points="0.325,-0.8 4.5,-0.2" data-type="line" data-label="" points="108.9916603487491,412.8733889310083 552.1304018195603,349.1887793783169" fill="none" stroke="hsl(0, 100%, 50%, 0.8)" stroke-width="1" />
|
|
145
|
-
</g>
|
|
146
|
-
<g>
|
|
147
|
-
<polyline data-points="0.325,0.8 1.9125,0.8 1.9125,1.2 3.5,1.2" data-type="line" data-label="" points="108.9916603487491,243.04776345716448 277.4905231235785,243.04776345716448 277.4905231235785,200.59135708870355 445.98938589840793,200.59135708870355" fill="none" stroke="purple" stroke-width="1" />
|
|
148
|
-
</g>
|
|
149
|
-
<g>
|
|
150
|
-
<polyline data-points="0.325,0.6 3.3,0.6 3.3,0.8 3.5,0.8" data-type="line" data-label="" points="108.9916603487491,264.275966641395 424.7611827141774,264.275966641395 424.7611827141774,243.04776345716448 445.98938589840793,243.04776345716448" fill="none" stroke="purple" stroke-width="1" />
|
|
151
|
-
</g>
|
|
152
|
-
<g>
|
|
153
|
-
<polyline data-points="0.325,0.4 3.5,0.4" data-type="line" data-label="" points="108.9916603487491,285.50416982562547 445.98938589840793,285.50416982562547" fill="none" stroke="purple" stroke-width="1" />
|
|
154
|
-
</g>
|
|
155
|
-
<g>
|
|
156
|
-
<polyline data-points="0.325,0.2 3.3,0.2 3.3,0 3.5,0" data-type="line" data-label="" points="108.9916603487491,306.7323730098559 424.7611827141774,306.7323730098559 424.7611827141774,327.9605761940864 445.98938589840793,327.9605761940864" fill="none" stroke="purple" stroke-width="1" />
|
|
157
|
-
</g>
|
|
158
|
-
<g>
|
|
159
|
-
<polyline data-points="0.325,0 1.9125,0 1.9125,-0.4 3.5,-0.4" data-type="line" data-label="" points="108.9916603487491,327.9605761940864 277.4905231235785,327.9605761940864 277.4905231235785,370.41698256254733 445.98938589840793,370.41698256254733" fill="none" stroke="purple" stroke-width="1" />
|
|
160
|
-
</g>
|
|
161
|
-
<g>
|
|
162
|
-
<polyline data-points="0.325,-0.8 4.7,-0.8 4.7,-0.2 4.5,-0.2" data-type="line" data-label="" points="108.9916603487491,412.8733889310083 573.3586050037908,412.8733889310083 573.3586050037908,349.1887793783169 552.1304018195603,349.1887793783169" fill="none" stroke="purple" stroke-width="1" />
|
|
163
|
-
</g>
|
|
164
|
-
<g>
|
|
165
|
-
<rect data-type="rect" data-label="J2" data-x="0" data-y="0" x="40.000000000000036" y="232.43366186504926" width="68.99166034874906" height="191.05382865807428" fill="hsl(184, 100%, 50%, 0.8)" stroke="black" stroke-width="0.009421428571428572" />
|
|
166
|
-
</g>
|
|
167
|
-
<g>
|
|
168
|
-
<rect data-type="rect" data-label="U1" data-x="4" data-y="0.4" x="445.98938589840793" y="179.36315390447308" width="106.14101592115242" height="212.28203184230475" fill="hsl(164, 100%, 50%, 0.8)" stroke="black" stroke-width="0.009421428571428572" />
|
|
169
|
-
</g>
|
|
170
|
-
<g>
|
|
171
|
-
<rect data-type="rect" data-label="netId: J2.pin1 to U1.pin1
|
|
172
|
-
globalConnNetId: connectivity_net0" data-x="1.1187500000000001" data-y="1.0250000000000001" x="182.62699014404856" y="195.28430629264588" width="21.228203184230495" height="47.7634571645186" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572" />
|
|
173
|
-
</g>
|
|
174
|
-
<g>
|
|
175
|
-
<rect data-type="rect" data-label="netId: J2.pin2 to U1.pin2
|
|
176
|
-
globalConnNetId: connectivity_net1" data-x="3.0749999999999997" data-y="0.8" x="376.99772554965887" y="232.43366186504926" width="47.76345716451851" height="21.228203184230466" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572" />
|
|
177
|
-
</g>
|
|
178
|
-
<g>
|
|
179
|
-
<rect data-type="rect" data-label="netId: J2.pin4 to U1.pin4
|
|
180
|
-
globalConnNetId: connectivity_net3" data-x="3.0749999999999997" data-y="0" x="376.99772554965887" y="317.3464746019712" width="47.76345716451851" height="21.228203184230438" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572" />
|
|
181
|
-
</g>
|
|
182
|
-
<g>
|
|
183
|
-
<rect data-type="rect" data-label="netId: J2.pin5 to U1.pin5
|
|
184
|
-
globalConnNetId: connectivity_net4" data-x="1.1187500000000001" data-y="-0.225" x="182.62699014404856" y="327.9605761940864" width="21.228203184230495" height="47.76345716451857" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572" />
|
|
185
|
-
</g>
|
|
186
|
-
<g>
|
|
187
|
-
<rect data-type="rect" data-label="netId: J2.pin6 to U1.pin6
|
|
188
|
-
globalConnNetId: connectivity_net5" data-x="0.551" data-y="-0.2" x="109.09780136467025" y="338.5746777862016" width="47.763457164518584" height="21.228203184230495" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572" />
|
|
189
|
-
</g>
|
|
190
|
-
<g>
|
|
191
|
-
<rect data-type="rect" data-label="netId: J2.pin6 to U1.pin6
|
|
192
|
-
globalConnNetId: connectivity_net5" data-x="4.726" data-y="1" x="552.2365428354815" y="211.20545868081877" width="47.76345716451851" height="21.228203184230495" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572" />
|
|
193
|
-
</g>
|
|
194
|
-
<g>
|
|
195
|
-
<rect data-type="rect" data-label="netId: J2.pin7 to U1.pin7
|
|
196
|
-
globalConnNetId: connectivity_net6" data-x="0.551" data-y="-0.4" x="109.09780136467025" y="359.8028809704321" width="47.763457164518584" height="21.228203184230495" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572" />
|
|
197
|
-
</g>
|
|
198
|
-
<g>
|
|
199
|
-
<rect data-type="rect" data-label="netId: J2.pin7 to U1.pin7
|
|
200
|
-
globalConnNetId: connectivity_net6" data-x="4.726" data-y="0.6" x="552.2365428354815" y="253.66186504927975" width="47.76345716451851" height="21.228203184230438" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572" />
|
|
201
|
-
</g>
|
|
202
|
-
<g>
|
|
203
|
-
<rect data-type="rect" data-label="netId: J2.pin8 to U1.pin8
|
|
204
|
-
globalConnNetId: connectivity_net7" data-x="0.551" data-y="-0.6" x="109.09780136467025" y="381.0310841546626" width="47.763457164518584" height="21.228203184230438" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572" />
|
|
205
|
-
</g>
|
|
206
|
-
<g>
|
|
207
|
-
<rect data-type="rect" data-label="netId: J2.pin8 to U1.pin8
|
|
208
|
-
globalConnNetId: connectivity_net7" data-x="4.726" data-y="0.2" x="552.2365428354815" y="296.1182714177407" width="47.76345716451851" height="21.228203184230495" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572" />
|
|
209
|
-
</g>
|
|
210
|
-
<g>
|
|
211
|
-
<rect data-type="rect" data-label="netId: J2.pin9 to U1.pin9
|
|
212
|
-
globalConnNetId: connectivity_net8" data-x="2.5125" data-y="-1.0250000000000001" x="330.5610310841547" y="412.8733889310083" width="21.22820318423055" height="47.76345716451863" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572" />
|
|
213
|
-
</g>
|
|
214
|
-
<g id="crosshair" style="display: none">
|
|
215
|
-
<line id="crosshair-h" y1="0" y2="640" stroke="#666" stroke-width="0.5" />
|
|
216
|
-
<line id="crosshair-v" x1="0" x2="640" stroke="#666" stroke-width="0.5" /><text id="coordinates" font-family="monospace" font-size="12" fill="#666"></text>
|
|
217
|
-
</g>
|
|
218
|
-
<script>
|
|
219
|
-
<![CDATA[
|
|
220
|
-
document.currentScript.parentElement.addEventListener('mousemove', (e) => {
|
|
221
|
-
const svg = e.currentTarget;
|
|
222
|
-
const rect = svg.getBoundingClientRect();
|
|
223
|
-
const x = e.clientX - rect.left;
|
|
224
|
-
const y = e.clientY - rect.top;
|
|
225
|
-
const crosshair = svg.getElementById('crosshair');
|
|
226
|
-
const h = svg.getElementById('crosshair-h');
|
|
227
|
-
const v = svg.getElementById('crosshair-v');
|
|
228
|
-
const coords = svg.getElementById('coordinates');
|
|
1
|
+
<svg width="640" height="640" viewBox="0 0 640 640" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" fill="white"/><g><polyline data-points="0.325,0.8 3.5,1.2" data-type="line" data-label="" points="108.9916603487491,243.04776345716448 445.98938589840793,200.59135708870355" fill="none" stroke="hsl(0, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="0.325,0.6 3.5,0.8" data-type="line" data-label="" points="108.9916603487491,264.275966641395 445.98938589840793,243.04776345716448" fill="none" stroke="hsl(16, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="0.325,0.4 3.5,0.4" data-type="line" data-label="" points="108.9916603487491,285.50416982562547 445.98938589840793,285.50416982562547" fill="none" stroke="hsl(40, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="0.325,0.2 3.5,0" data-type="line" data-label="" points="108.9916603487491,306.7323730098559 445.98938589840793,327.9605761940864" fill="none" stroke="hsl(240, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="0.325,0 3.5,-0.4" data-type="line" data-label="" points="108.9916603487491,327.9605761940864 445.98938589840793,370.41698256254733" fill="none" stroke="hsl(88, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="0.325,-0.2 4.5,1" data-type="line" data-label="" points="108.9916603487491,349.1887793783169 552.1304018195603,221.819560272934" fill="none" stroke="hsl(288, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="0.325,-0.4 4.5,0.6" data-type="line" data-label="" points="108.9916603487491,370.41698256254733 552.1304018195603,264.275966641395" fill="none" stroke="hsl(128, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="0.325,-0.6 4.5,0.2" data-type="line" data-label="" points="108.9916603487491,391.6451857467778 552.1304018195603,306.7323730098559" fill="none" stroke="hsl(152, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="0.325,-0.8 4.5,-0.2" data-type="line" data-label="" points="108.9916603487491,412.8733889310083 552.1304018195603,349.1887793783169" fill="none" stroke="hsl(0, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="0.325,0.8 1.9125,0.8 1.9125,1.2 3.5,1.2" data-type="line" data-label="" points="108.9916603487491,243.04776345716448 277.4905231235785,243.04776345716448 277.4905231235785,200.59135708870355 445.98938589840793,200.59135708870355" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="0.325,0.6 3.3,0.6 3.3,0.8 3.5,0.8" data-type="line" data-label="" points="108.9916603487491,264.275966641395 424.7611827141774,264.275966641395 424.7611827141774,243.04776345716448 445.98938589840793,243.04776345716448" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="0.325,0.4 3.5,0.4" data-type="line" data-label="" points="108.9916603487491,285.50416982562547 445.98938589840793,285.50416982562547" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="0.325,0.2 3.3,0.2 3.3,0 3.5,0" data-type="line" data-label="" points="108.9916603487491,306.7323730098559 424.7611827141774,306.7323730098559 424.7611827141774,327.9605761940864 445.98938589840793,327.9605761940864" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="0.325,0 1.9125,0 1.9125,-0.4 3.5,-0.4" data-type="line" data-label="" points="108.9916603487491,327.9605761940864 277.4905231235785,327.9605761940864 277.4905231235785,370.41698256254733 445.98938589840793,370.41698256254733" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="0.325,-0.8 4.7,-0.8 4.7,-0.2 4.5,-0.2" data-type="line" data-label="" points="108.9916603487491,412.8733889310083 573.3586050037908,412.8733889310083 573.3586050037908,349.1887793783169 552.1304018195603,349.1887793783169" fill="none" stroke="purple" stroke-width="1px"/></g><g><rect data-type="rect" data-label="J2" data-x="0" data-y="0" x="40.00000000000003" y="232.43366186504926" width="68.99166034874906" height="191.05382865807428" fill="hsl(184, 100%, 50%, 0.8)" stroke="black" stroke-width="0.009421428571428572"/></g><g><rect data-type="rect" data-label="U1" data-x="4" data-y="0.4" x="445.9893858984079" y="179.3631539044731" width="106.14101592115242" height="212.28203184230475" fill="hsl(164, 100%, 50%, 0.8)" stroke="black" stroke-width="0.009421428571428572"/></g><g><rect data-type="rect" data-label="netId: J2.pin1 to U1.pin1
|
|
2
|
+
globalConnNetId: connectivity_net0" data-x="1.1187500000000001" data-y="1.0250000000000001" x="182.62699014404856" y="195.2843062926459" width="21.228203184230495" height="47.7634571645186" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572"/></g><g><rect data-type="rect" data-label="netId: J2.pin2 to U1.pin2
|
|
3
|
+
globalConnNetId: connectivity_net1" data-x="3.0749999999999997" data-y="0.8" x="376.99772554965887" y="232.43366186504926" width="47.76345716451851" height="21.228203184230466" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572"/></g><g><rect data-type="rect" data-label="netId: J2.pin4 to U1.pin4
|
|
4
|
+
globalConnNetId: connectivity_net3" data-x="3.0749999999999997" data-y="0" x="376.99772554965887" y="317.3464746019712" width="47.76345716451851" height="21.228203184230438" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572"/></g><g><rect data-type="rect" data-label="netId: J2.pin5 to U1.pin5
|
|
5
|
+
globalConnNetId: connectivity_net4" data-x="1.1187500000000001" data-y="-0.225" x="182.62699014404856" y="327.96057619408646" width="21.228203184230495" height="47.76345716451857" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572"/></g><g><rect data-type="rect" data-label="netId: J2.pin6 to U1.pin6
|
|
6
|
+
globalConnNetId: connectivity_net5" data-x="0.551" data-y="-0.2" x="109.09780136467023" y="338.5746777862016" width="47.763457164518584" height="21.228203184230495" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572"/></g><g><rect data-type="rect" data-label="netId: J2.pin6 to U1.pin6
|
|
7
|
+
globalConnNetId: connectivity_net5" data-x="4.726" data-y="1" x="552.2365428354815" y="211.20545868081877" width="47.76345716451851" height="21.228203184230495" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572"/></g><g><rect data-type="rect" data-label="netId: J2.pin7 to U1.pin7
|
|
8
|
+
globalConnNetId: connectivity_net6" data-x="0.551" data-y="-0.4" x="109.09780136467023" y="359.80288097043206" width="47.763457164518584" height="21.228203184230495" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572"/></g><g><rect data-type="rect" data-label="netId: J2.pin7 to U1.pin7
|
|
9
|
+
globalConnNetId: connectivity_net6" data-x="4.726" data-y="0.6" x="552.2365428354815" y="253.66186504927975" width="47.76345716451851" height="21.228203184230438" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572"/></g><g><rect data-type="rect" data-label="netId: J2.pin8 to U1.pin8
|
|
10
|
+
globalConnNetId: connectivity_net7" data-x="0.551" data-y="-0.6" x="109.09780136467023" y="381.0310841546626" width="47.763457164518584" height="21.228203184230438" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572"/></g><g><rect data-type="rect" data-label="netId: J2.pin8 to U1.pin8
|
|
11
|
+
globalConnNetId: connectivity_net7" data-x="4.726" data-y="0.2" x="552.2365428354815" y="296.11827141774063" width="47.76345716451851" height="21.228203184230495" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572"/></g><g><rect data-type="rect" data-label="netId: J2.pin9 to U1.pin9
|
|
12
|
+
globalConnNetId: connectivity_net8" data-x="2.5125" data-y="-1.0250000000000001" x="330.5610310841547" y="412.87338893100826" width="21.22820318423055" height="47.76345716451863" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.009421428571428572"/></g><g><circle data-type="point" data-label="J2.1
|
|
13
|
+
x+" data-x="0.325" data-y="0.8" cx="108.9916603487491" cy="243.04776345716448" r="3" fill="hsl(99, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="J2.2
|
|
14
|
+
x+" data-x="0.325" data-y="0.6" cx="108.9916603487491" cy="264.275966641395" r="3" fill="hsl(100, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="J2.3
|
|
15
|
+
x+" data-x="0.325" data-y="0.4" cx="108.9916603487491" cy="285.50416982562547" r="3" fill="hsl(101, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="J2.4
|
|
16
|
+
x+" data-x="0.325" data-y="0.2" cx="108.9916603487491" cy="306.7323730098559" r="3" fill="hsl(102, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="J2.5
|
|
17
|
+
x+" data-x="0.325" data-y="0" cx="108.9916603487491" cy="327.9605761940864" r="3" fill="hsl(103, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="J2.6
|
|
18
|
+
x+" data-x="0.325" data-y="-0.2" cx="108.9916603487491" cy="349.1887793783169" r="3" fill="hsl(104, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="J2.7
|
|
19
|
+
x+" data-x="0.325" data-y="-0.4" cx="108.9916603487491" cy="370.41698256254733" r="3" fill="hsl(105, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="J2.8
|
|
20
|
+
x+" data-x="0.325" data-y="-0.6" cx="108.9916603487491" cy="391.6451857467778" r="3" fill="hsl(106, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="J2.9
|
|
21
|
+
x+" data-x="0.325" data-y="-0.8" cx="108.9916603487491" cy="412.8733889310083" r="3" fill="hsl(107, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.1
|
|
22
|
+
x-" data-x="3.5" data-y="1.2" cx="445.98938589840793" cy="200.59135708870355" r="3" fill="hsl(319, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.2
|
|
23
|
+
x-" data-x="3.5" data-y="0.8" cx="445.98938589840793" cy="243.04776345716448" r="3" fill="hsl(320, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.3
|
|
24
|
+
x-" data-x="3.5" data-y="0.4" cx="445.98938589840793" cy="285.50416982562547" r="3" fill="hsl(321, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.4
|
|
25
|
+
x-" data-x="3.5" data-y="0" cx="445.98938589840793" cy="327.9605761940864" r="3" fill="hsl(322, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.5
|
|
26
|
+
x-" data-x="3.5" data-y="-0.4" cx="445.98938589840793" cy="370.41698256254733" r="3" fill="hsl(323, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.6
|
|
27
|
+
x+" data-x="4.5" data-y="1" cx="552.1304018195603" cy="221.819560272934" r="3" fill="hsl(324, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.7
|
|
28
|
+
x+" data-x="4.5" data-y="0.6" cx="552.1304018195603" cy="264.275966641395" r="3" fill="hsl(325, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.8
|
|
29
|
+
x+" data-x="4.5" data-y="0.2" cx="552.1304018195603" cy="306.7323730098559" r="3" fill="hsl(326, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.9
|
|
30
|
+
x+" data-x="4.5" data-y="-0.2" cx="552.1304018195603" cy="349.1887793783169" r="3" fill="hsl(327, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
31
|
+
orientation: y+" data-x="1.1187500000000001" data-y="0.8" cx="193.2410917361638" cy="243.04776345716448" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
32
|
+
orientation: x-" data-x="3.3" data-y="0.8" cx="424.7611827141774" cy="243.04776345716448" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
33
|
+
orientation: x-" data-x="3.3" data-y="0" cx="424.7611827141774" cy="327.9605761940864" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
34
|
+
orientation: y-" data-x="1.1187500000000001" data-y="0" cx="193.2410917361638" cy="327.9605761940864" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
35
|
+
orientation: x+" data-x="0.325" data-y="-0.2" cx="108.9916603487491" cy="349.1887793783169" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
36
|
+
orientation: x+" data-x="4.5" data-y="1" cx="552.1304018195603" cy="221.819560272934" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
37
|
+
orientation: x+" data-x="0.325" data-y="-0.4" cx="108.9916603487491" cy="370.41698256254733" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
38
|
+
orientation: x+" data-x="4.5" data-y="0.6" cx="552.1304018195603" cy="264.275966641395" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
39
|
+
orientation: x+" data-x="0.325" data-y="-0.6" cx="108.9916603487491" cy="391.6451857467778" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
40
|
+
orientation: x+" data-x="4.5" data-y="0.2" cx="552.1304018195603" cy="306.7323730098559" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
41
|
+
orientation: y-" data-x="2.5125" data-y="-0.8" cx="341.17513267627" cy="412.8733889310083" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g id="crosshair" style="display: none"><line id="crosshair-h" y1="0" y2="640" stroke="#666" stroke-width="0.5"/><line id="crosshair-v" x1="0" x2="640" stroke="#666" stroke-width="0.5"/><text id="coordinates" font-family="monospace" font-size="12" fill="#666"></text></g><script><![CDATA[
|
|
42
|
+
document.currentScript.parentElement.addEventListener('mousemove', (e) => {
|
|
43
|
+
const svg = e.currentTarget;
|
|
44
|
+
const rect = svg.getBoundingClientRect();
|
|
45
|
+
const x = e.clientX - rect.left;
|
|
46
|
+
const y = e.clientY - rect.top;
|
|
47
|
+
const crosshair = svg.getElementById('crosshair');
|
|
48
|
+
const h = svg.getElementById('crosshair-h');
|
|
49
|
+
const v = svg.getElementById('crosshair-v');
|
|
50
|
+
const coords = svg.getElementById('coordinates');
|
|
51
|
+
|
|
52
|
+
crosshair.style.display = 'block';
|
|
53
|
+
h.setAttribute('x1', '0');
|
|
54
|
+
h.setAttribute('x2', '640');
|
|
55
|
+
h.setAttribute('y1', y);
|
|
56
|
+
h.setAttribute('y2', y);
|
|
57
|
+
v.setAttribute('x1', x);
|
|
58
|
+
v.setAttribute('x2', x);
|
|
59
|
+
v.setAttribute('y1', '0');
|
|
60
|
+
v.setAttribute('y2', '640');
|
|
229
61
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
const sx = matrix.a;
|
|
254
|
-
const sy = matrix.d;
|
|
255
|
-
const tx = matrix.e;
|
|
256
|
-
const ty = matrix.f;
|
|
257
|
-
const realPoint = {
|
|
258
|
-
x: (x - tx) / sx,
|
|
259
|
-
y: (y - ty) / sy // Flip y back since we used negative scale
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
coords.textContent = `(${realPoint.x.toFixed(2)}, ${realPoint.y.toFixed(2)})`;
|
|
263
|
-
coords.setAttribute('x', (x + 5).toString());
|
|
264
|
-
coords.setAttribute('y', (y - 5).toString());
|
|
265
|
-
});
|
|
266
|
-
document.currentScript.parentElement.addEventListener('mouseleave', () => {
|
|
267
|
-
document.currentScript.parentElement.getElementById('crosshair').style.display = 'none';
|
|
268
|
-
});
|
|
269
|
-
]]>
|
|
270
|
-
</script>
|
|
271
|
-
</svg>
|
|
62
|
+
// Calculate real coordinates using inverse transformation
|
|
63
|
+
const matrix = {"a":106.14101592115239,"c":0,"e":74.49583017437456,"b":0,"d":-106.14101592115239,"f":327.9605761940864};
|
|
64
|
+
// Manually invert and apply the affine transform
|
|
65
|
+
// Since we only use translate and scale, we can directly compute:
|
|
66
|
+
// x' = (x - tx) / sx
|
|
67
|
+
// y' = (y - ty) / sy
|
|
68
|
+
const sx = matrix.a;
|
|
69
|
+
const sy = matrix.d;
|
|
70
|
+
const tx = matrix.e;
|
|
71
|
+
const ty = matrix.f;
|
|
72
|
+
const realPoint = {
|
|
73
|
+
x: (x - tx) / sx,
|
|
74
|
+
y: (y - ty) / sy // Flip y back since we used negative scale
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
coords.textContent = `(${realPoint.x.toFixed(2)}, ${realPoint.y.toFixed(2)})`;
|
|
78
|
+
coords.setAttribute('x', (x + 5).toString());
|
|
79
|
+
coords.setAttribute('y', (y - 5).toString());
|
|
80
|
+
});
|
|
81
|
+
document.currentScript.parentElement.addEventListener('mouseleave', () => {
|
|
82
|
+
document.currentScript.parentElement.getElementById('crosshair').style.display = 'none';
|
|
83
|
+
});
|
|
84
|
+
]]></script></svg>
|