@tscircuit/schematic-trace-solver 0.0.87 → 0.0.89
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/dist/index.js +30 -22
- package/lib/solvers/Example28Solver/reroute.ts +10 -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-20260706T213649Z/__snapshots__/bug-report-20260706T213649Z.snap.svg +386 -0
- package/tests/bug-reports/bug-report-20260706T213649Z/bug-report-20260706T213649Z.json +1471 -0
- package/tests/bug-reports/bug-report-20260706T213649Z/bug-report-20260706T213649Z.test.ts +12 -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 +252 -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 +124 -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 +73 -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 +154 -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 +67 -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 +114 -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 +23 -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 +88 -0
- package/tests/repros/__snapshots__/repro-atmega328p-missing-gnd-netlabel.snap.svg +118 -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,324 +1,83 @@
|
|
|
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
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
x-" data-x="-1.7899999999999998" data-y="0.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
x
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
y+" data-x="1.64945535" data-y="2.354727675" cx="434.52278287950537" cy="217.69433581000618" r="3" fill="hsl(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
<circle data-type="point" data-label="C2.1
|
|
61
|
-
y+" data-x="-1.7900000000000003" data-y="-1.2547276749999998" cx="190.5420507571811" cy="473.73416457412725" r="3" fill="hsl(2, 100%, 50%, 0.8)" />
|
|
62
|
-
</g>
|
|
63
|
-
<g>
|
|
64
|
-
<circle data-type="point" data-label="C2.2
|
|
65
|
-
y-" data-x="-1.7900000000000003" data-y="-2.3547276750000004" cx="190.5420507571811" cy="551.7636134328127" r="3" fill="hsl(3, 100%, 50%, 0.8)" />
|
|
66
|
-
</g>
|
|
67
|
-
<g>
|
|
68
|
-
<circle data-type="point" data-label="J1.1
|
|
69
|
-
x-" data-x="-0.18999999999999995" data-y="4.554727675" cx="304.0394309152689" cy="61.635438092635525" r="3" fill="hsl(218, 100%, 50%, 0.8)" />
|
|
70
|
-
</g>
|
|
71
|
-
<g>
|
|
72
|
-
<circle data-type="point" data-label="J1.2
|
|
73
|
-
x-" data-x="-0.18999999999999995" data-y="4.3547276749999995" cx="304.0394309152689" cy="75.82261061239649" r="3" fill="hsl(219, 100%, 50%, 0.8)" />
|
|
74
|
-
</g>
|
|
75
|
-
<g>
|
|
76
|
-
<circle data-type="point" data-label="J1.3
|
|
77
|
-
x-" data-x="-0.18999999999999995" data-y="4.154727674999999" cx="304.0394309152689" cy="90.00978313215751" r="3" fill="hsl(220, 100%, 50%, 0.8)" />
|
|
78
|
-
</g>
|
|
79
|
-
<g>
|
|
80
|
-
<circle data-type="point" data-label="anchorPoint
|
|
81
|
-
orientation: y-" data-x="0.7100000000000005" data-y="-2.5547276750000005" cx="367.8817072541933" cy="565.9507859525736" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
82
|
-
</g>
|
|
83
|
-
<g>
|
|
84
|
-
<circle data-type="point" data-label="anchorPoint
|
|
85
|
-
orientation: y-" data-x="-2.0149999999999997" data-y="3.3597276749999994" cx="174.58148167245005" cy="146.40379389820734" 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="2.510000000000001" data-y="0.21527232500000082" cx="495.5662599320421" cy="369.4584465538841" 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.6100000000000005" data-y="0.415272325" cx="360.7881209943128" cy="355.27127403412317" 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="-0.18999999999999995" data-y="4.3547276749999995" cx="304.0394309152689" cy="75.82261061239649" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
98
|
-
</g>
|
|
99
|
-
<g>
|
|
100
|
-
<circle data-type="point" data-label="anchorPoint
|
|
101
|
-
orientation: y+" data-x="-1.9899999999999998" data-y="1.015272325" cx="176.35487823742017" cy="312.7097564748403" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
102
|
-
</g>
|
|
103
|
-
<g>
|
|
104
|
-
<circle data-type="point" data-label="anchorPoint
|
|
105
|
-
orientation: y+" data-x="1.64945535" data-y="2.354727675" cx="434.52278287950537" cy="217.69433581000618" 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.18999999999999995" data-y="4.554727675" cx="304.0394309152689" cy="61.635438092635525" 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="-2.09" data-y="0.4152723250000001" cx="169.26129197753966" cy="355.27127403412317" 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="0.9100000000000006" data-y="0.215272325" cx="382.0688797739543" cy="369.45844655388413" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
118
|
-
</g>
|
|
119
|
-
<g>
|
|
120
|
-
<polyline data-points="-1.7899999999999998,0.41527232500000005 -1.7900000000000003,-1.2547276749999998" data-type="line" data-label="" points="190.54205075718113,355.27127403412317 190.5420507571811,473.73416457412725" fill="none" stroke="hsl(296, 100%, 50%, 0.8)" stroke-width="1" />
|
|
121
|
-
</g>
|
|
122
|
-
<g>
|
|
123
|
-
<polyline data-points="1.64945535,1.2547276749999998 0.6100000000000005,0.215272325" data-type="line" data-label="" points="434.52278287950537,295.72378466869156 360.7881209943128,369.45844655388413" fill="none" stroke="hsl(248, 100%, 50%, 0.8)" stroke-width="1" />
|
|
124
|
-
</g>
|
|
125
|
-
<g>
|
|
126
|
-
<polyline data-points="0.6100000000000005,0.215272325 1.3100000000000005,0.21527232500000038" data-type="line" data-label="" points="360.7881209943128,369.45844655388413 410.4432248134762,369.45844655388413" fill="none" stroke="hsl(160, 100%, 50%, 0.8)" stroke-width="1" />
|
|
127
|
-
</g>
|
|
128
|
-
<g>
|
|
129
|
-
<polyline data-points="0.6100000000000005,0.015272324999999976 -2.0149999999999997,3.5597276749999995" data-type="line" data-label="" points="360.7881209943128,383.6456190736451 174.58148167245005,132.21662137844635" fill="none" stroke="hsl(157, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
130
|
-
</g>
|
|
131
|
-
<g>
|
|
132
|
-
<polyline data-points="0.6100000000000005,0.015272324999999976 -1.7900000000000003,-2.3547276750000004" data-type="line" data-label="" points="360.7881209943128,383.6456190736451 190.5420507571811,551.7636134328127" fill="none" stroke="hsl(157, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
133
|
-
</g>
|
|
134
|
-
<g>
|
|
135
|
-
<polyline data-points="0.6100000000000005,0.015272324999999976 -0.18999999999999995,4.154727674999999" data-type="line" data-label="" points="360.7881209943128,383.6456190736451 304.0394309152689,90.00978313215751" fill="none" stroke="hsl(157, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
136
|
-
</g>
|
|
137
|
-
<g>
|
|
138
|
-
<polyline data-points="-2.0149999999999997,3.5597276749999995 -1.7900000000000003,-2.3547276750000004" data-type="line" data-label="" points="174.58148167245005,132.21662137844635 190.5420507571811,551.7636134328127" fill="none" stroke="hsl(157, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
139
|
-
</g>
|
|
140
|
-
<g>
|
|
141
|
-
<polyline data-points="-2.0149999999999997,3.5597276749999995 -0.18999999999999995,4.154727674999999" data-type="line" data-label="" points="174.58148167245005,132.21662137844635 304.0394309152689,90.00978313215751" fill="none" stroke="hsl(157, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
142
|
-
</g>
|
|
143
|
-
<g>
|
|
144
|
-
<polyline data-points="-1.7900000000000003,-2.3547276750000004 -0.18999999999999995,4.154727674999999" data-type="line" data-label="" points="190.5420507571811,551.7636134328127 304.0394309152689,90.00978313215751" fill="none" stroke="hsl(157, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
145
|
-
</g>
|
|
146
|
-
<g>
|
|
147
|
-
<polyline data-points="-1.7899999999999998,0.015272324999999976 -1.7899999999999998,0.21527232500000004" data-type="line" data-label="" points="190.54205075718113,383.6456190736451 190.54205075718113,369.45844655388413" fill="none" stroke="hsl(234, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
148
|
-
</g>
|
|
149
|
-
<g>
|
|
150
|
-
<polyline data-points="-1.7899999999999998,0.015272324999999976 2.4100000000000006,0.21527232500000038" data-type="line" data-label="" points="190.54205075718113,383.6456190736451 488.4726736721616,369.45844655388413" fill="none" stroke="hsl(234, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
151
|
-
</g>
|
|
152
|
-
<g>
|
|
153
|
-
<polyline data-points="-1.7899999999999998,0.015272324999999976 -2.0149999999999997,4.659727674999999" data-type="line" data-label="" points="190.54205075718113,383.6456190736451 174.58148167245005,54.18717251976102" fill="none" stroke="hsl(234, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
154
|
-
</g>
|
|
155
|
-
<g>
|
|
156
|
-
<polyline data-points="-1.7899999999999998,0.21527232500000004 2.4100000000000006,0.21527232500000038" data-type="line" data-label="" points="190.54205075718113,369.45844655388413 488.4726736721616,369.45844655388413" fill="none" stroke="hsl(234, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
157
|
-
</g>
|
|
158
|
-
<g>
|
|
159
|
-
<polyline data-points="-1.7899999999999998,0.21527232500000004 -2.0149999999999997,4.659727674999999" data-type="line" data-label="" points="190.54205075718113,369.45844655388413 174.58148167245005,54.18717251976102" fill="none" stroke="hsl(234, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
160
|
-
</g>
|
|
161
|
-
<g>
|
|
162
|
-
<polyline data-points="2.4100000000000006,0.21527232500000038 -2.0149999999999997,4.659727674999999" data-type="line" data-label="" points="488.4726736721616,369.45844655388413 174.58148167245005,54.18717251976102" fill="none" stroke="hsl(234, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
163
|
-
</g>
|
|
164
|
-
<g>
|
|
165
|
-
<polyline data-points="0.6100000000000005,0.415272325 -0.18999999999999995,4.3547276749999995" data-type="line" data-label="" points="360.7881209943128,355.27127403412317 304.0394309152689,75.82261061239649" fill="none" stroke="hsl(158, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
166
|
-
</g>
|
|
167
|
-
<g>
|
|
168
|
-
<polyline data-points="-1.7899999999999998,0.6152723250000001 0.6100000000000005,0.6152723250000001" data-type="line" data-label="" points="190.54205075718113,341.0841015143622 360.7881209943128,341.0841015143622" fill="none" stroke="hsl(190, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
169
|
-
</g>
|
|
170
|
-
<g>
|
|
171
|
-
<polyline data-points="-1.7899999999999998,0.6152723250000001 1.64945535,2.354727675" data-type="line" data-label="" points="190.54205075718113,341.0841015143622 434.52278287950537,217.69433581000618" fill="none" stroke="hsl(190, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
172
|
-
</g>
|
|
173
|
-
<g>
|
|
174
|
-
<polyline data-points="-1.7899999999999998,0.6152723250000001 -0.18999999999999995,4.554727675" data-type="line" data-label="" points="190.54205075718113,341.0841015143622 304.0394309152689,61.635438092635525" fill="none" stroke="hsl(190, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
175
|
-
</g>
|
|
176
|
-
<g>
|
|
177
|
-
<polyline data-points="0.6100000000000005,0.6152723250000001 1.64945535,2.354727675" data-type="line" data-label="" points="360.7881209943128,341.0841015143622 434.52278287950537,217.69433581000618" fill="none" stroke="hsl(190, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
178
|
-
</g>
|
|
179
|
-
<g>
|
|
180
|
-
<polyline data-points="0.6100000000000005,0.6152723250000001 -0.18999999999999995,4.554727675" data-type="line" data-label="" points="360.7881209943128,341.0841015143622 304.0394309152689,61.635438092635525" fill="none" stroke="hsl(190, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
181
|
-
</g>
|
|
182
|
-
<g>
|
|
183
|
-
<polyline data-points="1.64945535,2.354727675 -0.18999999999999995,4.554727675" data-type="line" data-label="" points="434.52278287950537,217.69433581000618 304.0394309152689,61.635438092635525" fill="none" stroke="hsl(190, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
184
|
-
</g>
|
|
185
|
-
<g>
|
|
186
|
-
<polyline data-points="-1.7899999999999998,0.4152723250000001 -2.09,0.4152723250000001 -2.09,-0.41972767499999986 -1.7900000000000003,-0.41972767499999986 -1.7900000000000003,-1.2547276749999998" data-type="line" data-label="" points="190.54205075718113,355.27127403412317 169.26129197753966,355.27127403412317 169.26129197753966,414.5027193041252 190.5420507571811,414.5027193041252 190.5420507571811,473.73416457412725" fill="none" stroke="purple" stroke-width="1" />
|
|
187
|
-
</g>
|
|
188
|
-
<g>
|
|
189
|
-
<polyline data-points="1.3100000000000005,0.21527232500000038 1.1100000000000005,0.21527232500000038 1.1100000000000005,0.7350000000000001 1.64945535,0.7350000000000001 1.64945535,1.2547276749999998" data-type="line" data-label="" points="410.4432248134762,369.45844655388413 396.25605229371524,369.45844655388413 396.25605229371524,332.5911156112878 434.52278287950537,332.5911156112878 434.52278287950537,295.72378466869156" fill="none" stroke="purple" stroke-width="1" />
|
|
190
|
-
</g>
|
|
191
|
-
<g>
|
|
192
|
-
<polyline data-points="0.6100000000000005,0.215272325 1.3100000000000005,0.21527232500000038" data-type="line" data-label="" points="360.7881209943128,369.45844655388413 410.4432248134762,369.45844655388413" fill="none" stroke="purple" stroke-width="1" />
|
|
193
|
-
</g>
|
|
194
|
-
<g>
|
|
195
|
-
<polyline data-points="-1.7899999999999998,0.21527232500000004 -1.8899999999999997,0.21527232500000004 -1.8899999999999997,0.015272324999999976 -1.7899999999999998,0.015272324999999976" data-type="line" data-label="" points="190.54205075718113,369.45844655388413 183.44846449730065,369.45844655388413 183.44846449730065,383.6456190736451 190.54205075718113,383.6456190736451" fill="none" stroke="purple" stroke-width="1" />
|
|
196
|
-
</g>
|
|
197
|
-
<g>
|
|
198
|
-
<polyline data-points="0.610000000000001,0.015272324999999753 0.7100000000000005,0.015272324999999753 0.7100000000000005,-2.5547276750000005 -1.7900000000000003,-2.5547276750000005 -1.7900000000000003,-2.3547276750000004" data-type="line" data-label="" points="360.78812099431286,383.64561907364515 367.8817072541933,383.64561907364515 367.8817072541933,565.9507859525736 190.5420507571811,565.9507859525736 190.5420507571811,551.7636134328127" fill="none" stroke="purple" stroke-width="1" />
|
|
199
|
-
</g>
|
|
200
|
-
<g>
|
|
201
|
-
<polyline data-points="-2.0149999999999997,3.5597276749999995 -2.0149999999999997,3.3597276749999994 -1.1025,3.3597276749999994 -1.1025,4.154727674999999 -0.18999999999999995,4.154727674999999" data-type="line" data-label="" points="174.58148167245005,132.21662137844635 174.58148167245005,146.40379389820734 239.31045629385943,146.40379389820734 239.31045629385943,90.00978313215751 304.0394309152689,90.00978313215751" fill="none" stroke="purple" stroke-width="1" />
|
|
202
|
-
</g>
|
|
203
|
-
<g>
|
|
204
|
-
<polyline data-points="2.410000000000001,0.21527232500000082 2.610000000000001,0.21527232500000082 2.610000000000001,4.859727674999999 -2.0149999999999997,4.859727674999999 -2.0149999999999997,4.659727674999999" data-type="line" data-label="" points="488.4726736721616,369.4584465538841 502.6598461919226,369.4584465538841 502.6598461919226,40.00000000000006 174.58148167245005,40.00000000000006 174.58148167245005,54.18717251976102" fill="none" stroke="purple" stroke-width="1" />
|
|
205
|
-
</g>
|
|
206
|
-
<g>
|
|
207
|
-
<polyline data-points="-1.7899999999999998,0.6152723250000001 -1.9899999999999998,0.6152723250000001 -1.9899999999999998,1.015272325 0.8100000000000007,1.015272325 0.8100000000000007,0.6152723250000001 0.6100000000000005,0.6152723250000001" data-type="line" data-label="" points="190.54205075718113,341.0841015143622 176.35487823742017,341.0841015143622 176.35487823742017,312.7097564748403 374.97529351407377,312.7097564748403 374.97529351407377,341.0841015143622 360.7881209943128,341.0841015143622" fill="none" stroke="purple" stroke-width="1" />
|
|
208
|
-
</g>
|
|
209
|
-
<g>
|
|
210
|
-
<rect data-type="rect" data-label="schematic_component_0" data-x="-0.5899999999999996" data-y="0.315272325" x="190.54205075718113" y="326.89692899460124" width="170.24607023713168" height="70.93586259880487" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.014097241696428573" />
|
|
211
|
-
</g>
|
|
212
|
-
<g>
|
|
213
|
-
<rect data-type="rect" data-label="schematic_component_1" data-x="1.88195535" data-y="1.8047276749999999" x="420.7289248903029" y="217.69433581000618" width="60.57289208684921" height="78.02944885868538" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.014097241696428573" />
|
|
214
|
-
</g>
|
|
215
|
-
<g>
|
|
216
|
-
<rect data-type="rect" data-label="schematic_component_2" data-x="1.8600000000000005" data-y="0.21527232500000035" x="410.4432248134762" y="341.8320953579147" width="78.02944885868538" height="55.25270239193884" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.014097241696428573" />
|
|
217
|
-
</g>
|
|
218
|
-
<g>
|
|
219
|
-
<rect data-type="rect" data-label="schematic_component_3" data-x="-1.8774999999999997" data-y="4.109727674999999" x="144.788419380952" y="54.18717251976102" width="79.0934867976674" height="78.02944885868533" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.014097241696428573" />
|
|
220
|
-
</g>
|
|
221
|
-
<g>
|
|
222
|
-
<rect data-type="rect" data-label="schematic_component_4" data-x="-1.6525000000000003" data-y="-1.804727675" x="160.74898846568306" y="473.73416457412725" width="79.09348679766742" height="78.02944885868544" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.014097241696428573" />
|
|
223
|
-
</g>
|
|
224
|
-
<g>
|
|
225
|
-
<rect data-type="rect" data-label="schematic_component_5" data-x="0.9100000000000001" data-y="4.3547276749999995" x="304.0394309152689" y="47.448265572874504" width="156.0588977173707" height="56.74869007904397" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.014097241696428573" />
|
|
226
|
-
</g>
|
|
227
|
-
<g>
|
|
228
|
-
<rect data-type="rect" data-label="netId: GND
|
|
229
|
-
globalConnNetId: connectivity_net2" data-x="0.7100000000000005" data-y="-2.7947276750000007" x="360.7881209943128" y="565.9507859525736" width="14.187172519760963" height="34.0492140474264" fill="#00000066" stroke="#000000" stroke-width="0.014097241696428573" />
|
|
230
|
-
</g>
|
|
231
|
-
<g>
|
|
232
|
-
<rect data-type="rect" data-label="netId: GND
|
|
233
|
-
globalConnNetId: connectivity_net2" data-x="-2.0149999999999997" data-y="3.119727674999999" x="167.48789541256954" y="146.40379389820734" width="14.187172519760992" height="34.049214047426375" fill="#00000066" stroke="#000000" stroke-width="0.014097241696428573" />
|
|
234
|
-
</g>
|
|
235
|
-
<g>
|
|
236
|
-
<rect data-type="rect" data-label="netId: NODE
|
|
237
|
-
globalConnNetId: connectivity_net3" data-x="2.510000000000001" data-y="-0.08472767499999917" x="488.4726736721616" y="369.4584465538841" width="14.18717251976102" height="42.56151755928295" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.014097241696428573" />
|
|
238
|
-
</g>
|
|
239
|
-
<g>
|
|
240
|
-
<rect data-type="rect" data-label="netId: OUT
|
|
241
|
-
globalConnNetId: connectivity_net4" data-x="0.8510000000000005" data-y="0.415272325" x="360.8590568569116" y="348.1776877742427" width="34.04921404742635" height="14.187172519760963" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.014097241696428573" />
|
|
242
|
-
</g>
|
|
243
|
-
<g>
|
|
244
|
-
<rect data-type="rect" data-label="netId: OUT
|
|
245
|
-
globalConnNetId: connectivity_net4" data-x="-0.43099999999999994" data-y="4.3547276749999995" x="269.91928100524376" y="68.72902435251603" width="34.04921404742635" height="14.187172519760907" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.014097241696428573" />
|
|
246
|
-
</g>
|
|
247
|
-
<g>
|
|
248
|
-
<rect data-type="rect" data-label="netId: VCC
|
|
249
|
-
globalConnNetId: connectivity_net5" data-x="-1.9899999999999998" data-y="1.255272325" x="169.26129197753966" y="278.66054242741393" width="14.187172519760992" height="34.04921404742635" fill="#ef444466" stroke="#ef4444" stroke-width="0.014097241696428573" />
|
|
250
|
-
</g>
|
|
251
|
-
<g>
|
|
252
|
-
<rect data-type="rect" data-label="netId: VCC
|
|
253
|
-
globalConnNetId: connectivity_net5" data-x="1.64945535" data-y="2.5957276749999996" x="427.4291966196249" y="183.5741858999811" width="14.187172519760963" height="34.04921404742629" fill="#ef444466" stroke="#ef4444" stroke-width="0.014097241696428573" />
|
|
254
|
-
</g>
|
|
255
|
-
<g>
|
|
256
|
-
<rect data-type="rect" data-label="netId: VCC
|
|
257
|
-
globalConnNetId: connectivity_net5" data-x="-0.43099999999999994" data-y="4.554727675" x="269.91928100524376" y="54.54185183275507" width="34.04921404742635" height="14.187172519760907" fill="#ef444466" stroke="#ef4444" stroke-width="0.014097241696428573" />
|
|
258
|
-
</g>
|
|
259
|
-
<g>
|
|
260
|
-
<rect data-type="rect" data-label="netId: U1.CTRL to C2.pin1
|
|
261
|
-
globalConnNetId: connectivity_net0" data-x="-2.315" data-y="0.4152723250000001" x="137.34015380807747" y="348.17768777424266" width="31.921138169462182" height="14.187172519760963" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.014097241696428573" />
|
|
262
|
-
</g>
|
|
263
|
-
<g>
|
|
264
|
-
<rect data-type="rect" data-label="netId: U1.DISCH to R2.pin1
|
|
265
|
-
globalConnNetId: connectivity_net1" data-x="0.9100000000000006" data-y="-0.009727675000000019" x="374.97529351407377" y="369.45844655388413" width="14.18717251976102" height="31.92113816946221" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.014097241696428573" />
|
|
266
|
-
</g>
|
|
267
|
-
<g id="crosshair" style="display: none">
|
|
268
|
-
<line id="crosshair-h" y1="0" y2="640" stroke="#666" stroke-width="0.5" />
|
|
269
|
-
<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>
|
|
270
|
-
</g>
|
|
271
|
-
<script>
|
|
272
|
-
<![CDATA[
|
|
273
|
-
document.currentScript.parentElement.addEventListener('mousemove', (e) => {
|
|
274
|
-
const svg = e.currentTarget;
|
|
275
|
-
const rect = svg.getBoundingClientRect();
|
|
276
|
-
const x = e.clientX - rect.left;
|
|
277
|
-
const y = e.clientY - rect.top;
|
|
278
|
-
const crosshair = svg.getElementById('crosshair');
|
|
279
|
-
const h = svg.getElementById('crosshair-h');
|
|
280
|
-
const v = svg.getElementById('crosshair-v');
|
|
281
|
-
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="-1.7899999999999998,0.41527232500000005 -1.7900000000000003,-1.2547276749999998" data-type="line" data-label="" points="190.54205075718113,355.27127403412317 190.5420507571811,473.73416457412725" fill="none" stroke="hsl(296, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="1.64945535,1.2547276749999998 0.6100000000000005,0.215272325" data-type="line" data-label="" points="434.52278287950537,295.72378466869156 360.7881209943128,369.45844655388413" fill="none" stroke="hsl(248, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="0.6100000000000005,0.215272325 1.3100000000000005,0.21527232500000038" data-type="line" data-label="" points="360.7881209943128,369.45844655388413 410.4432248134762,369.45844655388413" fill="none" stroke="hsl(160, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="0.6100000000000005,0.015272324999999976 -2.0149999999999997,3.5597276749999995" data-type="line" data-label="" points="360.7881209943128,383.6456190736451 174.58148167245005,132.21662137844635" fill="none" stroke="hsl(157, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="0.6100000000000005,0.015272324999999976 -1.7900000000000003,-2.3547276750000004" data-type="line" data-label="" points="360.7881209943128,383.6456190736451 190.5420507571811,551.7636134328127" fill="none" stroke="hsl(157, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="0.6100000000000005,0.015272324999999976 -0.18999999999999995,4.154727674999999" data-type="line" data-label="" points="360.7881209943128,383.6456190736451 304.0394309152689,90.00978313215751" fill="none" stroke="hsl(157, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-2.0149999999999997,3.5597276749999995 -1.7900000000000003,-2.3547276750000004" data-type="line" data-label="" points="174.58148167245005,132.21662137844635 190.5420507571811,551.7636134328127" fill="none" stroke="hsl(157, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-2.0149999999999997,3.5597276749999995 -0.18999999999999995,4.154727674999999" data-type="line" data-label="" points="174.58148167245005,132.21662137844635 304.0394309152689,90.00978313215751" fill="none" stroke="hsl(157, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-1.7900000000000003,-2.3547276750000004 -0.18999999999999995,4.154727674999999" data-type="line" data-label="" points="190.5420507571811,551.7636134328127 304.0394309152689,90.00978313215751" fill="none" stroke="hsl(157, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-1.7899999999999998,0.015272324999999976 -1.7899999999999998,0.21527232500000004" data-type="line" data-label="" points="190.54205075718113,383.6456190736451 190.54205075718113,369.45844655388413" fill="none" stroke="hsl(234, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-1.7899999999999998,0.015272324999999976 2.4100000000000006,0.21527232500000038" data-type="line" data-label="" points="190.54205075718113,383.6456190736451 488.4726736721616,369.45844655388413" fill="none" stroke="hsl(234, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-1.7899999999999998,0.015272324999999976 -2.0149999999999997,4.659727674999999" data-type="line" data-label="" points="190.54205075718113,383.6456190736451 174.58148167245005,54.18717251976102" fill="none" stroke="hsl(234, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-1.7899999999999998,0.21527232500000004 2.4100000000000006,0.21527232500000038" data-type="line" data-label="" points="190.54205075718113,369.45844655388413 488.4726736721616,369.45844655388413" fill="none" stroke="hsl(234, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-1.7899999999999998,0.21527232500000004 -2.0149999999999997,4.659727674999999" data-type="line" data-label="" points="190.54205075718113,369.45844655388413 174.58148167245005,54.18717251976102" fill="none" stroke="hsl(234, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="2.4100000000000006,0.21527232500000038 -2.0149999999999997,4.659727674999999" data-type="line" data-label="" points="488.4726736721616,369.45844655388413 174.58148167245005,54.18717251976102" fill="none" stroke="hsl(234, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="0.6100000000000005,0.415272325 -0.18999999999999995,4.3547276749999995" data-type="line" data-label="" points="360.7881209943128,355.27127403412317 304.0394309152689,75.82261061239649" fill="none" stroke="hsl(158, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-1.7899999999999998,0.6152723250000001 0.6100000000000005,0.6152723250000001" data-type="line" data-label="" points="190.54205075718113,341.0841015143622 360.7881209943128,341.0841015143622" fill="none" stroke="hsl(190, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-1.7899999999999998,0.6152723250000001 1.64945535,2.354727675" data-type="line" data-label="" points="190.54205075718113,341.0841015143622 434.52278287950537,217.69433581000618" fill="none" stroke="hsl(190, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-1.7899999999999998,0.6152723250000001 -0.18999999999999995,4.554727675" data-type="line" data-label="" points="190.54205075718113,341.0841015143622 304.0394309152689,61.635438092635525" fill="none" stroke="hsl(190, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="0.6100000000000005,0.6152723250000001 1.64945535,2.354727675" data-type="line" data-label="" points="360.7881209943128,341.0841015143622 434.52278287950537,217.69433581000618" fill="none" stroke="hsl(190, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="0.6100000000000005,0.6152723250000001 -0.18999999999999995,4.554727675" data-type="line" data-label="" points="360.7881209943128,341.0841015143622 304.0394309152689,61.635438092635525" fill="none" stroke="hsl(190, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="1.64945535,2.354727675 -0.18999999999999995,4.554727675" data-type="line" data-label="" points="434.52278287950537,217.69433581000618 304.0394309152689,61.635438092635525" fill="none" stroke="hsl(190, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-1.7899999999999998,0.4152723250000001 -2.09,0.4152723250000001 -2.09,-0.41972767499999986 -1.7900000000000003,-0.41972767499999986 -1.7900000000000003,-1.2547276749999998" data-type="line" data-label="" points="190.54205075718113,355.27127403412317 169.26129197753966,355.27127403412317 169.26129197753966,414.5027193041252 190.5420507571811,414.5027193041252 190.5420507571811,473.73416457412725" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="1.3100000000000005,0.21527232500000038 1.1100000000000005,0.21527232500000038 1.1100000000000005,0.7350000000000001 1.64945535,0.7350000000000001 1.64945535,1.2547276749999998" data-type="line" data-label="" points="410.4432248134762,369.45844655388413 396.25605229371524,369.45844655388413 396.25605229371524,332.5911156112878 434.52278287950537,332.5911156112878 434.52278287950537,295.72378466869156" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="0.6100000000000005,0.215272325 1.3100000000000005,0.21527232500000038" data-type="line" data-label="" points="360.7881209943128,369.45844655388413 410.4432248134762,369.45844655388413" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="-1.7899999999999998,0.21527232500000004 -1.8899999999999997,0.21527232500000004 -1.8899999999999997,0.015272324999999976 -1.7899999999999998,0.015272324999999976" data-type="line" data-label="" points="190.54205075718113,369.45844655388413 183.44846449730065,369.45844655388413 183.44846449730065,383.6456190736451 190.54205075718113,383.6456190736451" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="0.610000000000001,0.015272324999999753 0.7100000000000005,0.015272324999999753 0.7100000000000005,-2.5547276750000005 -1.7900000000000003,-2.5547276750000005 -1.7900000000000003,-2.3547276750000004" data-type="line" data-label="" points="360.78812099431286,383.64561907364515 367.8817072541933,383.64561907364515 367.8817072541933,565.9507859525736 190.5420507571811,565.9507859525736 190.5420507571811,551.7636134328127" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="-2.0149999999999997,3.5597276749999995 -2.0149999999999997,3.3597276749999994 -1.1025,3.3597276749999994 -1.1025,4.154727674999999 -0.18999999999999995,4.154727674999999" data-type="line" data-label="" points="174.58148167245005,132.21662137844635 174.58148167245005,146.40379389820734 239.31045629385943,146.40379389820734 239.31045629385943,90.00978313215751 304.0394309152689,90.00978313215751" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="2.410000000000001,0.21527232500000082 2.610000000000001,0.21527232500000082 2.610000000000001,4.859727674999999 -2.0149999999999997,4.859727674999999 -2.0149999999999997,4.659727674999999" data-type="line" data-label="" points="488.4726736721616,369.4584465538841 502.6598461919226,369.4584465538841 502.6598461919226,40.00000000000006 174.58148167245005,40.00000000000006 174.58148167245005,54.18717251976102" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="-1.7899999999999998,0.6152723250000001 -1.9899999999999998,0.6152723250000001 -1.9899999999999998,1.015272325 0.8100000000000007,1.015272325 0.8100000000000007,0.6152723250000001 0.6100000000000005,0.6152723250000001" data-type="line" data-label="" points="190.54205075718113,341.0841015143622 176.35487823742017,341.0841015143622 176.35487823742017,312.7097564748403 374.97529351407377,312.7097564748403 374.97529351407377,341.0841015143622 360.7881209943128,341.0841015143622" fill="none" stroke="purple" stroke-width="1px"/></g><g><rect data-type="rect" data-label="schematic_component_0" data-x="-0.5899999999999996" data-y="0.315272325" x="190.54205075718113" y="326.89692899460124" width="170.24607023713168" height="70.93586259880487" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.014097241696428573"/></g><g><rect data-type="rect" data-label="schematic_component_1" data-x="1.88195535" data-y="1.8047276749999999" x="420.7289248903029" y="217.6943358100062" width="60.57289208684921" height="78.02944885868538" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.014097241696428573"/></g><g><rect data-type="rect" data-label="schematic_component_2" data-x="1.8600000000000005" data-y="0.21527232500000035" x="410.44322481347626" y="341.8320953579147" width="78.02944885868538" height="55.25270239193884" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.014097241696428573"/></g><g><rect data-type="rect" data-label="schematic_component_3" data-x="-1.8774999999999997" data-y="4.109727674999999" x="144.788419380952" y="54.18717251976102" width="79.0934867976674" height="78.02944885868533" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.014097241696428573"/></g><g><rect data-type="rect" data-label="schematic_component_4" data-x="-1.6525000000000003" data-y="-1.804727675" x="160.74898846568306" y="473.7341645741272" width="79.09348679766742" height="78.02944885868544" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.014097241696428573"/></g><g><rect data-type="rect" data-label="schematic_component_5" data-x="0.9100000000000001" data-y="4.3547276749999995" x="304.0394309152689" y="47.448265572874504" width="156.0588977173707" height="56.74869007904397" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.014097241696428573"/></g><g><rect data-type="rect" data-label="netId: GND
|
|
2
|
+
globalConnNetId: connectivity_net2" data-x="0.7100000000000005" data-y="-2.7947276750000007" x="360.78812099431286" y="565.9507859525736" width="14.187172519760963" height="34.0492140474264" fill="#00000066" stroke="#000000" stroke-width="0.014097241696428573"/></g><g><rect data-type="rect" data-label="netId: GND
|
|
3
|
+
globalConnNetId: connectivity_net2" data-x="-2.0149999999999997" data-y="3.119727674999999" x="167.48789541256957" y="146.4037938982073" width="14.187172519760992" height="34.049214047426375" fill="#00000066" stroke="#000000" stroke-width="0.014097241696428573"/></g><g><rect data-type="rect" data-label="netId: NODE
|
|
4
|
+
globalConnNetId: connectivity_net3" data-x="2.510000000000001" data-y="-0.08472767499999917" x="488.4726736721616" y="369.4584465538841" width="14.18717251976102" height="42.56151755928295" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.014097241696428573"/></g><g><rect data-type="rect" data-label="netId: OUT
|
|
5
|
+
globalConnNetId: connectivity_net4" data-x="0.8510000000000005" data-y="0.415272325" x="360.8590568569116" y="348.1776877742427" width="34.04921404742635" height="14.187172519760963" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.014097241696428573"/></g><g><rect data-type="rect" data-label="netId: OUT
|
|
6
|
+
globalConnNetId: connectivity_net4" data-x="-0.43099999999999994" data-y="4.3547276749999995" x="269.91928100524376" y="68.72902435251603" width="34.04921404742635" height="14.187172519760907" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.014097241696428573"/></g><g><rect data-type="rect" data-label="netId: VCC
|
|
7
|
+
globalConnNetId: connectivity_net5" data-x="-1.9899999999999998" data-y="1.255272325" x="169.26129197753966" y="278.66054242741393" width="14.187172519760992" height="34.04921404742635" fill="#ef444466" stroke="#ef4444" stroke-width="0.014097241696428573"/></g><g><rect data-type="rect" data-label="netId: VCC
|
|
8
|
+
globalConnNetId: connectivity_net5" data-x="1.64945535" data-y="2.5957276749999996" x="427.4291966196249" y="183.5741858999811" width="14.187172519760963" height="34.04921404742629" fill="#ef444466" stroke="#ef4444" stroke-width="0.014097241696428573"/></g><g><rect data-type="rect" data-label="netId: VCC
|
|
9
|
+
globalConnNetId: connectivity_net5" data-x="-0.43099999999999994" data-y="4.554727675" x="269.91928100524376" y="54.54185183275507" width="34.04921404742635" height="14.187172519760907" fill="#ef444466" stroke="#ef4444" stroke-width="0.014097241696428573"/></g><g><rect data-type="rect" data-label="netId: U1.CTRL to C2.pin1
|
|
10
|
+
globalConnNetId: connectivity_net0" data-x="-2.315" data-y="0.4152723250000001" x="137.3401538080775" y="348.1776877742427" width="31.921138169462182" height="14.187172519760963" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.014097241696428573"/></g><g><rect data-type="rect" data-label="netId: U1.DISCH to R2.pin1
|
|
11
|
+
globalConnNetId: connectivity_net1" data-x="0.9100000000000006" data-y="-0.009727675000000019" x="374.97529351407377" y="369.45844655388413" width="14.18717251976102" height="31.92113816946221" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.014097241696428573"/></g><g><circle data-type="point" data-label="U1.1
|
|
12
|
+
x+" data-x="0.6100000000000005" data-y="0.015272324999999976" cx="360.7881209943128" cy="383.6456190736451" r="3" fill="hsl(319, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.2
|
|
13
|
+
x-" data-x="-1.7899999999999998" data-y="0.015272324999999976" cx="190.54205075718113" cy="383.6456190736451" r="3" fill="hsl(320, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.3
|
|
14
|
+
x+" data-x="0.6100000000000005" data-y="0.415272325" cx="360.7881209943128" cy="355.27127403412317" r="3" fill="hsl(321, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.4
|
|
15
|
+
x-" data-x="-1.7899999999999998" data-y="0.6152723250000001" cx="190.54205075718113" cy="341.0841015143622" r="3" fill="hsl(322, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.5
|
|
16
|
+
x-" data-x="-1.7899999999999998" data-y="0.41527232500000005" cx="190.54205075718113" cy="355.27127403412317" r="3" fill="hsl(323, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.6
|
|
17
|
+
x-" data-x="-1.7899999999999998" data-y="0.21527232500000004" cx="190.54205075718113" cy="369.45844655388413" r="3" fill="hsl(324, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.7
|
|
18
|
+
x+" data-x="0.6100000000000005" data-y="0.215272325" cx="360.7881209943128" cy="369.45844655388413" r="3" fill="hsl(325, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="U1.8
|
|
19
|
+
x+" data-x="0.6100000000000005" data-y="0.6152723250000001" cx="360.7881209943128" cy="341.0841015143622" r="3" fill="hsl(326, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="R1.1
|
|
20
|
+
y+" data-x="1.64945535" data-y="2.354727675" cx="434.52278287950537" cy="217.69433581000618" r="3" fill="hsl(226, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="R1.2
|
|
21
|
+
y-" data-x="1.64945535" data-y="1.2547276749999998" cx="434.52278287950537" cy="295.72378466869156" r="3" fill="hsl(227, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="R2.1
|
|
22
|
+
x-" data-x="1.3100000000000005" data-y="0.21527232500000038" cx="410.4432248134762" cy="369.45844655388413" r="3" fill="hsl(107, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="R2.2
|
|
23
|
+
x+" data-x="2.4100000000000006" data-y="0.21527232500000038" cx="488.4726736721616" cy="369.45844655388413" r="3" fill="hsl(108, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="C1.1
|
|
24
|
+
y+" data-x="-2.0149999999999997" data-y="4.659727674999999" cx="174.58148167245005" cy="54.18717251976102" r="3" fill="hsl(121, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="C1.2
|
|
25
|
+
y-" data-x="-2.0149999999999997" data-y="3.5597276749999995" cx="174.58148167245005" cy="132.21662137844635" r="3" fill="hsl(122, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="C2.1
|
|
26
|
+
y+" data-x="-1.7900000000000003" data-y="-1.2547276749999998" cx="190.5420507571811" cy="473.73416457412725" r="3" fill="hsl(2, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="C2.2
|
|
27
|
+
y-" data-x="-1.7900000000000003" data-y="-2.3547276750000004" cx="190.5420507571811" cy="551.7636134328127" r="3" fill="hsl(3, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="J1.1
|
|
28
|
+
x-" data-x="-0.18999999999999995" data-y="4.554727675" cx="304.0394309152689" cy="61.635438092635525" r="3" fill="hsl(218, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="J1.2
|
|
29
|
+
x-" data-x="-0.18999999999999995" data-y="4.3547276749999995" cx="304.0394309152689" cy="75.82261061239649" r="3" fill="hsl(219, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="J1.3
|
|
30
|
+
x-" data-x="-0.18999999999999995" data-y="4.154727674999999" cx="304.0394309152689" cy="90.00978313215751" r="3" fill="hsl(220, 100%, 50%, 0.8)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
31
|
+
orientation: y-" data-x="0.7100000000000005" data-y="-2.5547276750000005" cx="367.8817072541933" cy="565.9507859525736" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
32
|
+
orientation: y-" data-x="-2.0149999999999997" data-y="3.3597276749999994" cx="174.58148167245005" cy="146.40379389820734" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
33
|
+
orientation: y-" data-x="2.510000000000001" data-y="0.21527232500000082" cx="495.5662599320421" cy="369.4584465538841" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
34
|
+
orientation: x+" data-x="0.6100000000000005" data-y="0.415272325" cx="360.7881209943128" cy="355.27127403412317" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
35
|
+
orientation: x-" data-x="-0.18999999999999995" data-y="4.3547276749999995" cx="304.0394309152689" cy="75.82261061239649" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
36
|
+
orientation: y+" data-x="-1.9899999999999998" data-y="1.015272325" cx="176.35487823742017" cy="312.7097564748403" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
37
|
+
orientation: y+" data-x="1.64945535" data-y="2.354727675" cx="434.52278287950537" cy="217.69433581000618" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
38
|
+
orientation: x-" data-x="-0.18999999999999995" data-y="4.554727675" cx="304.0394309152689" cy="61.635438092635525" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
39
|
+
orientation: x-" data-x="-2.09" data-y="0.4152723250000001" cx="169.26129197753966" cy="355.27127403412317" r="3" fill="hsl(40, 100%, 50%, 0.9)"/></g><g><circle data-type="point" data-label="anchorPoint
|
|
40
|
+
orientation: y-" data-x="0.9100000000000006" data-y="0.215272325" cx="382.0688797739543" cy="369.45844655388413" 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[
|
|
41
|
+
document.currentScript.parentElement.addEventListener('mousemove', (e) => {
|
|
42
|
+
const svg = e.currentTarget;
|
|
43
|
+
const rect = svg.getBoundingClientRect();
|
|
44
|
+
const x = e.clientX - rect.left;
|
|
45
|
+
const y = e.clientY - rect.top;
|
|
46
|
+
const crosshair = svg.getElementById('crosshair');
|
|
47
|
+
const h = svg.getElementById('crosshair-h');
|
|
48
|
+
const v = svg.getElementById('crosshair-v');
|
|
49
|
+
const coords = svg.getElementById('coordinates');
|
|
50
|
+
|
|
51
|
+
crosshair.style.display = 'block';
|
|
52
|
+
h.setAttribute('x1', '0');
|
|
53
|
+
h.setAttribute('x2', '640');
|
|
54
|
+
h.setAttribute('y1', y);
|
|
55
|
+
h.setAttribute('y2', y);
|
|
56
|
+
v.setAttribute('x1', x);
|
|
57
|
+
v.setAttribute('x2', x);
|
|
58
|
+
v.setAttribute('y1', '0');
|
|
59
|
+
v.setAttribute('y2', '640');
|
|
282
60
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
const sx = matrix.a;
|
|
307
|
-
const sy = matrix.d;
|
|
308
|
-
const tx = matrix.e;
|
|
309
|
-
const ty = matrix.f;
|
|
310
|
-
const realPoint = {
|
|
311
|
-
x: (x - tx) / sx,
|
|
312
|
-
y: (y - ty) / sy // Flip y back since we used negative scale
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
coords.textContent = `(${realPoint.x.toFixed(2)}, ${realPoint.y.toFixed(2)})`;
|
|
316
|
-
coords.setAttribute('x', (x + 5).toString());
|
|
317
|
-
coords.setAttribute('y', (y - 5).toString());
|
|
318
|
-
});
|
|
319
|
-
document.currentScript.parentElement.addEventListener('mouseleave', () => {
|
|
320
|
-
document.currentScript.parentElement.getElementById('crosshair').style.display = 'none';
|
|
321
|
-
});
|
|
322
|
-
]]>
|
|
323
|
-
</script>
|
|
324
|
-
</svg>
|
|
61
|
+
// Calculate real coordinates using inverse transformation
|
|
62
|
+
const matrix = {"a":70.93586259880486,"c":0,"e":317.5172448090418,"b":0,"d":-70.93586259880486,"f":384.7289746214094};
|
|
63
|
+
// Manually invert and apply the affine transform
|
|
64
|
+
// Since we only use translate and scale, we can directly compute:
|
|
65
|
+
// x' = (x - tx) / sx
|
|
66
|
+
// y' = (y - ty) / sy
|
|
67
|
+
const sx = matrix.a;
|
|
68
|
+
const sy = matrix.d;
|
|
69
|
+
const tx = matrix.e;
|
|
70
|
+
const ty = matrix.f;
|
|
71
|
+
const realPoint = {
|
|
72
|
+
x: (x - tx) / sx,
|
|
73
|
+
y: (y - ty) / sy // Flip y back since we used negative scale
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
coords.textContent = `(${realPoint.x.toFixed(2)}, ${realPoint.y.toFixed(2)})`;
|
|
77
|
+
coords.setAttribute('x', (x + 5).toString());
|
|
78
|
+
coords.setAttribute('y', (y - 5).toString());
|
|
79
|
+
});
|
|
80
|
+
document.currentScript.parentElement.addEventListener('mouseleave', () => {
|
|
81
|
+
document.currentScript.parentElement.getElementById('crosshair').style.display = 'none';
|
|
82
|
+
});
|
|
83
|
+
]]></script></svg>
|