@tscircuit/schematic-trace-solver 0.0.77 → 0.0.79
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/.github/ISSUE_TEMPLATE/json-bug-report.yml +24 -0
- package/.github/scripts/import-json-bug-report.ts +483 -0
- package/.github/workflows/json-bug-report.yml +154 -0
- package/dist/index.d.ts +37 -10
- package/dist/index.js +281 -74
- package/lib/solvers/AvailableNetOrientationSolver/AvailableNetOrientationSolver.ts +4 -0
- package/lib/solvers/AvailableNetOrientationSolver/types.ts +1 -0
- package/lib/solvers/NetLabelNetLabelCollisionSolver/NetLabelNetLabelCollisionSolver.ts +6 -0
- package/lib/solvers/NetLabelPlacementSolver/SingleNetLabelPlacementSolver/SingleNetLabelPlacementSolver.ts +21 -1
- package/lib/solvers/NetLabelPlacementSolver/SingleNetLabelPlacementSolver/SingleNetLabelPlacementSolver_visualize.ts +9 -3
- package/lib/solvers/NetLabelPlacementSolver/SingleNetLabelPlacementSolver/solvePortOnlyPin.ts +27 -2
- package/lib/solvers/NetLabelTraceCollisionSolver/NetLabelTraceCollisionSolver.ts +87 -1
- package/lib/solvers/SchematicTraceLinesSolver/SchematicTraceLinesSolver.ts +1 -0
- package/lib/solvers/SchematicTraceLinesSolver/SchematicTraceSingleLineSolver2/SchematicTraceSingleLineSolver2.ts +121 -30
- package/lib/solvers/SchematicTraceLinesSolver/SchematicTraceSingleLineSolver2/collisions.ts +10 -10
- package/lib/solvers/SchematicTraceLinesSolver/SchematicTraceSingleLineSolver2/mid.ts +5 -8
- package/lib/solvers/SchematicTraceLinesSolver/SchematicTraceSingleLineSolver2/rect.ts +31 -6
- package/lib/solvers/TraceAnchoredNetLabelOverlapSolver/TraceAnchoredNetLabelOverlapSolver.ts +3 -0
- package/lib/solvers/TraceAnchoredNetLabelOverlapSolver/types.ts +1 -0
- package/lib/solvers/VccNetLabelCornerPlacementSolver/VccNetLabelCornerPlacementSolver.ts +3 -0
- package/lib/solvers/VccNetLabelCornerPlacementSolver/types.ts +1 -0
- package/lib/utils/textBoxBounds.ts +40 -0
- package/package.json +1 -1
- package/site/examples/example46.page.tsx +4 -0
- package/site/examples/example47.page.tsx +4 -0
- package/site/examples/example48.page.tsx +4 -0
- package/site/examples/example49.page.tsx +4 -0
- package/tests/assets/example46.json +236 -0
- package/tests/assets/example47.json +206 -0
- package/tests/assets/example48.json +104 -0
- package/tests/assets/example49.json +390 -0
- package/tests/examples/__snapshots__/example46.snap.svg +343 -0
- package/tests/examples/__snapshots__/example47.snap.svg +324 -0
- package/tests/examples/__snapshots__/example48.snap.svg +168 -0
- package/tests/examples/__snapshots__/example49.snap.svg +566 -0
- package/tests/examples/example46.test.ts +12 -0
- package/tests/examples/example47.test.ts +12 -0
- package/tests/examples/example48.test.ts +12 -0
- package/tests/examples/example49.test.ts +12 -0
- package/tests/repros/__snapshots__/manufacturePartNumber-text-box.snap.svg +12 -12
|
@@ -0,0 +1,566 @@
|
|
|
1
|
+
<svg width="640" height="640" viewBox="0 0 640 640" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect width="100%" height="100%" fill="white" />
|
|
3
|
+
<g>
|
|
4
|
+
<circle data-type="point" data-label="U4.1
|
|
5
|
+
x-" data-x="-1.7100000000000002" data-y="-0.6850000000000003" cx="170.26702041387665" cy="326.99894391777815" r="3" fill="hsl(322, 100%, 50%, 0.8)" />
|
|
6
|
+
</g>
|
|
7
|
+
<g>
|
|
8
|
+
<circle data-type="point" data-label="U4.2
|
|
9
|
+
x-" data-x="-1.7100000000000002" data-y="-0.8850000000000002" cx="170.26702041387665" cy="335.70680571283634" r="3" fill="hsl(323, 100%, 50%, 0.8)" />
|
|
10
|
+
</g>
|
|
11
|
+
<g>
|
|
12
|
+
<circle data-type="point" data-label="U4.3
|
|
13
|
+
x-" data-x="-1.7100000000000002" data-y="-1.0850000000000004" cx="170.26702041387665" cy="344.4146675078946" r="3" fill="hsl(324, 100%, 50%, 0.8)" />
|
|
14
|
+
</g>
|
|
15
|
+
<g>
|
|
16
|
+
<circle data-type="point" data-label="U4.4
|
|
17
|
+
x-" data-x="-1.7100000000000002" data-y="-1.2850000000000001" cx="170.26702041387665" cy="353.1225293029528" r="3" fill="hsl(325, 100%, 50%, 0.8)" />
|
|
18
|
+
</g>
|
|
19
|
+
<g>
|
|
20
|
+
<circle data-type="point" data-label="U4.5
|
|
21
|
+
x+" data-x="0.6900000000000003" data-y="-1.2850000000000001" cx="274.76136195457536" cy="353.1225293029528" r="3" fill="hsl(326, 100%, 50%, 0.8)" />
|
|
22
|
+
</g>
|
|
23
|
+
<g>
|
|
24
|
+
<circle data-type="point" data-label="U4.6
|
|
25
|
+
x+" data-x="0.6900000000000003" data-y="-0.4850000000000002" cx="274.76136195457536" cy="318.2910821227199" r="3" fill="hsl(327, 100%, 50%, 0.8)" />
|
|
26
|
+
</g>
|
|
27
|
+
<g>
|
|
28
|
+
<circle data-type="point" data-label="U4.7
|
|
29
|
+
x+" data-x="0.6900000000000003" data-y="-0.8850000000000002" cx="274.76136195457536" cy="335.70680571283634" r="3" fill="hsl(328, 100%, 50%, 0.8)" />
|
|
30
|
+
</g>
|
|
31
|
+
<g>
|
|
32
|
+
<circle data-type="point" data-label="U4.8
|
|
33
|
+
x+" data-x="0.6900000000000003" data-y="-0.6850000000000002" cx="274.76136195457536" cy="326.9989439177781" r="3" fill="hsl(329, 100%, 50%, 0.8)" />
|
|
34
|
+
</g>
|
|
35
|
+
<g>
|
|
36
|
+
<circle data-type="point" data-label="U4.9
|
|
37
|
+
x+" data-x="0.6900000000000003" data-y="-1.0850000000000002" cx="274.76136195457536" cy="344.4146675078946" r="3" fill="hsl(330, 100%, 50%, 0.8)" />
|
|
38
|
+
</g>
|
|
39
|
+
<g>
|
|
40
|
+
<circle data-type="point" data-label="U4.10
|
|
41
|
+
x-" data-x="-1.7100000000000002" data-y="-0.4850000000000002" cx="170.26702041387665" cy="318.2910821227199" r="3" fill="hsl(310, 100%, 50%, 0.8)" />
|
|
42
|
+
</g>
|
|
43
|
+
<g>
|
|
44
|
+
<circle data-type="point" data-label="R6.1
|
|
45
|
+
y+" data-x="-3.3044553499999996" data-y="-0.03499999999999992" cx="100.84553628292076" cy="298.6983930838389" r="3" fill="hsl(351, 100%, 50%, 0.8)" />
|
|
46
|
+
</g>
|
|
47
|
+
<g>
|
|
48
|
+
<circle data-type="point" data-label="R6.2
|
|
49
|
+
y-" data-x="-3.3044553499999996" data-y="-1.135" cx="100.84553628292076" cy="346.5916329566591" r="3" fill="hsl(352, 100%, 50%, 0.8)" />
|
|
50
|
+
</g>
|
|
51
|
+
<g>
|
|
52
|
+
<circle data-type="point" data-label="R7.1
|
|
53
|
+
y+" data-x="-1.4414851166666667" data-y="-3.09" cx="181.95797288379092" cy="431.71098200335325" r="3" fill="hsl(232, 100%, 50%, 0.8)" />
|
|
54
|
+
</g>
|
|
55
|
+
<g>
|
|
56
|
+
<circle data-type="point" data-label="R7.2
|
|
57
|
+
y-" data-x="-1.4414851166666667" data-y="-4.19" cx="181.95797288379092" cy="479.6042218761735" r="3" fill="hsl(233, 100%, 50%, 0.8)" />
|
|
58
|
+
</g>
|
|
59
|
+
<g>
|
|
60
|
+
<circle data-type="point" data-label="R8.1
|
|
61
|
+
y+" data-x="-2.8994553499999993" data-y="2.2750000000000004" cx="118.47895641791366" cy="198.1225893509164" r="3" fill="hsl(113, 100%, 50%, 0.8)" />
|
|
62
|
+
</g>
|
|
63
|
+
<g>
|
|
64
|
+
<circle data-type="point" data-label="R8.2
|
|
65
|
+
y-" data-x="-2.8994553499999993" data-y="1.1749999999999998" cx="118.47895641791366" cy="246.01582922373666" r="3" fill="hsl(114, 100%, 50%, 0.8)" />
|
|
66
|
+
</g>
|
|
67
|
+
<g>
|
|
68
|
+
<circle data-type="point" data-label="R9.1
|
|
69
|
+
x-" data-x="2.5149999999999997" data-y="1.5044553500000009" cx="354.2206008344816" cy="231.67157094652393" r="3" fill="hsl(354, 100%, 50%, 0.8)" />
|
|
70
|
+
</g>
|
|
71
|
+
<g>
|
|
72
|
+
<circle data-type="point" data-label="R9.2
|
|
73
|
+
x+" data-x="3.6149999999999993" data-y="1.5044553500000009" cx="402.11384070730185" cy="231.67157094652393" r="3" fill="hsl(355, 100%, 50%, 0.8)" />
|
|
74
|
+
</g>
|
|
75
|
+
<g>
|
|
76
|
+
<circle data-type="point" data-label="Q1.1
|
|
77
|
+
x-" data-x="2.5149999999999997" data-y="-0.7849999999999987" cx="354.2206008344816" cy="331.3528748153072" r="3" fill="hsl(315, 100%, 50%, 0.8)" />
|
|
78
|
+
</g>
|
|
79
|
+
<g>
|
|
80
|
+
<circle data-type="point" data-label="Q1.2
|
|
81
|
+
x+" data-x="4.515" data-y="-0.6849999999999987" cx="441.29921878506383" cy="326.99894391777804" r="3" fill="hsl(316, 100%, 50%, 0.8)" />
|
|
82
|
+
</g>
|
|
83
|
+
<g>
|
|
84
|
+
<circle data-type="point" data-label="Q1.3
|
|
85
|
+
x-" data-x="2.5149999999999997" data-y="-0.5849999999999987" cx="354.2206008344816" cy="322.64501302024894" r="3" fill="hsl(317, 100%, 50%, 0.8)" />
|
|
86
|
+
</g>
|
|
87
|
+
<g>
|
|
88
|
+
<circle data-type="point" data-label="D2.1
|
|
89
|
+
y-" data-x="2.8499999999999996" data-y="-3.5299999999999985" cx="368.80626934120414" cy="450.86827795248126" r="3" fill="hsl(273, 100%, 50%, 0.8)" />
|
|
90
|
+
</g>
|
|
91
|
+
<g>
|
|
92
|
+
<circle data-type="point" data-label="D2.2
|
|
93
|
+
y+" data-x="2.8499999999999996" data-y="-2.4899999999999984" cx="368.80626934120414" cy="405.5873966181785" r="3" fill="hsl(274, 100%, 50%, 0.8)" />
|
|
94
|
+
</g>
|
|
95
|
+
<g>
|
|
96
|
+
<circle data-type="point" data-label="L2.1
|
|
97
|
+
x-" data-x="5.72" data-y="-1.5874999999999986" cx="493.76408610028966" cy="366.29317026797827" r="3" fill="hsl(281, 100%, 50%, 0.8)" />
|
|
98
|
+
</g>
|
|
99
|
+
<g>
|
|
100
|
+
<circle data-type="point" data-label="L2.2
|
|
101
|
+
x+" data-x="6.88" data-y="-1.5974999999999986" cx="544.2696845116272" cy="366.7285633577312" r="3" fill="hsl(282, 100%, 50%, 0.8)" />
|
|
102
|
+
</g>
|
|
103
|
+
<g>
|
|
104
|
+
<circle data-type="point" data-label="C7.1
|
|
105
|
+
y-" data-x="0.6899999999999998" data-y="0.7849999999999999" cx="274.7613619545753" cy="262.99615972410015" r="3" fill="hsl(127, 100%, 50%, 0.8)" />
|
|
106
|
+
</g>
|
|
107
|
+
<g>
|
|
108
|
+
<circle data-type="point" data-label="C7.2
|
|
109
|
+
y+" data-x="0.6899999999999998" data-y="1.885" cx="274.7613619545753" cy="215.10291985127995" r="3" fill="hsl(128, 100%, 50%, 0.8)" />
|
|
110
|
+
</g>
|
|
111
|
+
<g>
|
|
112
|
+
<circle data-type="point" data-label="C8.1
|
|
113
|
+
y+" data-x="-3.6509404666666665" data-y="-2.3449999999999998" cx="85.75981373303094" cy="399.27419681676133" r="3" fill="hsl(8, 100%, 50%, 0.8)" />
|
|
114
|
+
</g>
|
|
115
|
+
<g>
|
|
116
|
+
<circle data-type="point" data-label="C8.2
|
|
117
|
+
y-" data-x="-3.6509404666666665" data-y="-3.4450000000000003" cx="85.75981373303094" cy="447.16743668958156" r="3" fill="hsl(9, 100%, 50%, 0.8)" />
|
|
118
|
+
</g>
|
|
119
|
+
<g>
|
|
120
|
+
<circle data-type="point" data-label="R10.1
|
|
121
|
+
x-" data-x="0.20499999999999952" data-y="-3.4744553499999995" cx="253.64479710155913" cy="448.4499022742069" r="3" fill="hsl(244, 100%, 50%, 0.8)" />
|
|
122
|
+
</g>
|
|
123
|
+
<g>
|
|
124
|
+
<circle data-type="point" data-label="R10.2
|
|
125
|
+
x+" data-x="1.3049999999999997" data-y="-3.4744553499999995" cx="301.53803697437934" cy="448.4499022742069" r="3" fill="hsl(245, 100%, 50%, 0.8)" />
|
|
126
|
+
</g>
|
|
127
|
+
<g>
|
|
128
|
+
<circle data-type="point" data-label="C9.1
|
|
129
|
+
y+" data-x="5.01" data-y="-3.1824999999999983" cx="462.8511767278329" cy="435.7383680835676" r="3" fill="hsl(249, 100%, 50%, 0.8)" />
|
|
130
|
+
</g>
|
|
131
|
+
<g>
|
|
132
|
+
<circle data-type="point" data-label="C9.2
|
|
133
|
+
y-" data-x="5.01" data-y="-4.282499999999999" cx="462.8511767278329" cy="483.6316079563878" r="3" fill="hsl(250, 100%, 50%, 0.8)" />
|
|
134
|
+
</g>
|
|
135
|
+
<g>
|
|
136
|
+
<circle data-type="point" data-label="anchorPoint
|
|
137
|
+
orientation: x-" data-x="-3.3044553499999996" data-y="-1.3350000000000002" cx="100.84553628292076" cy="355.29949475171736" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
138
|
+
</g>
|
|
139
|
+
<g>
|
|
140
|
+
<circle data-type="point" data-label="anchorPoint
|
|
141
|
+
orientation: x-" data-x="-1.6424851166666665" data-y="-2.989" cx="173.20657177975738" cy="427.31351179684884" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
142
|
+
</g>
|
|
143
|
+
<g>
|
|
144
|
+
<circle data-type="point" data-label="anchorPoint
|
|
145
|
+
orientation: x-" data-x="-1.7100000000000002" data-y="-0.8850000000000002" cx="170.26702041387665" cy="335.70680571283634" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
146
|
+
</g>
|
|
147
|
+
<g>
|
|
148
|
+
<circle data-type="point" data-label="anchorPoint
|
|
149
|
+
orientation: x-" data-x="-1.7100000000000002" data-y="-1.0850000000000004" cx="170.26702041387665" cy="344.4146675078946" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
150
|
+
</g>
|
|
151
|
+
<g>
|
|
152
|
+
<circle data-type="point" data-label="anchorPoint
|
|
153
|
+
orientation: x-" data-x="-1.9100000000000001" data-y="-1.8323638375" cx="161.55915861881843" cy="376.9543725457663" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
154
|
+
</g>
|
|
155
|
+
<g>
|
|
156
|
+
<circle data-type="point" data-label="anchorPoint
|
|
157
|
+
orientation: x-" data-x="-4.101940466666666" data-y="-2.2439999999999998" cx="66.12358538517466" cy="394.8767266102569" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
158
|
+
</g>
|
|
159
|
+
<g>
|
|
160
|
+
<circle data-type="point" data-label="anchorPoint
|
|
161
|
+
orientation: x+" data-x="1.77" data-y="-1.2850000000000001" cx="321.78381564788975" cy="353.1225293029528" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
162
|
+
</g>
|
|
163
|
+
<g>
|
|
164
|
+
<circle data-type="point" data-label="anchorPoint
|
|
165
|
+
orientation: x+" data-x="-1.4414851166666667" data-y="-4.290000000000001" cx="181.95797288379092" cy="483.95815277370264" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
166
|
+
</g>
|
|
167
|
+
<g>
|
|
168
|
+
<circle data-type="point" data-label="anchorPoint
|
|
169
|
+
orientation: x-" data-x="4.558999999999999" data-y="-4.383499999999999" cx="443.2149483799766" cy="488.02907816289223" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
170
|
+
</g>
|
|
171
|
+
<g>
|
|
172
|
+
<circle data-type="point" data-label="anchorPoint
|
|
173
|
+
orientation: x-" data-x="0.24525000000000008" data-y="0.715" cx="255.3972542878146" cy="266.04391135237057" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
174
|
+
</g>
|
|
175
|
+
<g>
|
|
176
|
+
<circle data-type="point" data-label="anchorPoint
|
|
177
|
+
orientation: x-" data-x="1.6515000000000002" data-y="-0.38499999999999873" cx="316.62440753431775" cy="313.93715122519075" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
178
|
+
</g>
|
|
179
|
+
<g>
|
|
180
|
+
<circle data-type="point" data-label="anchorPoint
|
|
181
|
+
orientation: x+" data-x="3.6149999999999993" data-y="1.5044553500000009" cx="402.11384070730185" cy="231.67157094652393" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
182
|
+
</g>
|
|
183
|
+
<g>
|
|
184
|
+
<circle data-type="point" data-label="anchorPoint
|
|
185
|
+
orientation: x+" data-x="0.6900000000000003" data-y="-0.6850000000000002" cx="274.76136195457536" cy="326.9989439177781" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
186
|
+
</g>
|
|
187
|
+
<g>
|
|
188
|
+
<circle data-type="point" data-label="anchorPoint
|
|
189
|
+
orientation: x-" data-x="-3.1004553499999994" data-y="1.0739999999999998" cx="109.72755531388015" cy="250.41329943024104" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
190
|
+
</g>
|
|
191
|
+
<g>
|
|
192
|
+
<circle data-type="point" data-label="anchorPoint
|
|
193
|
+
orientation: x-" data-x="2.5149999999999997" data-y="1.5044553500000009" cx="354.2206008344816" cy="231.67157094652393" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
194
|
+
</g>
|
|
195
|
+
<g>
|
|
196
|
+
<circle data-type="point" data-label="anchorPoint
|
|
197
|
+
orientation: x+" data-x="0.6899999999999998" data-y="0.3174999999999998" cx="274.7613619545753" cy="283.35078667004876" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
198
|
+
</g>
|
|
199
|
+
<g>
|
|
200
|
+
<circle data-type="point" data-label="anchorPoint
|
|
201
|
+
orientation: y+" data-x="-2.0575" data-y="0.16500000000000026" cx="155.13711054496298" cy="289.99053128878063" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
202
|
+
</g>
|
|
203
|
+
<g>
|
|
204
|
+
<circle data-type="point" data-label="anchorPoint
|
|
205
|
+
orientation: y+" data-x="-2.8994553499999993" data-y="2.4750000000000005" cx="118.47895641791366" cy="189.41472755585818" r="3" fill="hsl(40, 100%, 50%, 0.9)" />
|
|
206
|
+
</g>
|
|
207
|
+
<g>
|
|
208
|
+
<circle data-type="point" data-label="anchorPoint
|
|
209
|
+
orientation: x+" data-x="5.1175" data-y="-0.6849999999999987" cx="467.5316524426767" cy="326.99894391777804" r="3" fill="hsl(80, 100%, 50%, 0.9)" />
|
|
210
|
+
</g>
|
|
211
|
+
<g>
|
|
212
|
+
<circle data-type="point" data-label="anchorPoint
|
|
213
|
+
orientation: x-" data-x="2.2489999999999997" data-y="-2.3889999999999985" cx="342.6391446470542" cy="401.1899264116741" r="3" fill="hsl(80, 100%, 50%, 0.9)" />
|
|
214
|
+
</g>
|
|
215
|
+
<g>
|
|
216
|
+
<circle data-type="point" data-label="anchorPoint
|
|
217
|
+
orientation: x+" data-x="7.08" data-y="-1.5974999999999984" cx="552.9775463066856" cy="366.72856335773116" r="3" fill="hsl(80, 100%, 50%, 0.9)" />
|
|
218
|
+
</g>
|
|
219
|
+
<g>
|
|
220
|
+
<circle data-type="point" data-label="anchorPoint
|
|
221
|
+
orientation: x-" data-x="0.20499999999999952" data-y="-3.4744553499999995" cx="253.64479710155913" cy="448.4499022742069" r="3" fill="hsl(80, 100%, 50%, 0.9)" />
|
|
222
|
+
</g>
|
|
223
|
+
<g>
|
|
224
|
+
<polyline data-points="0.6899999999999998,0.7849999999999999 0.6900000000000003,-1.0850000000000002" data-type="line" data-label="" points="274.7613619545753,262.99615972410015 274.76136195457536,344.4146675078946" fill="none" stroke="hsl(96, 100%, 50%, 0.8)" stroke-width="1" />
|
|
225
|
+
</g>
|
|
226
|
+
<g>
|
|
227
|
+
<polyline data-points="-1.7100000000000002,-0.6850000000000003 -3.3044553499999996,-1.135" data-type="line" data-label="" points="170.26702041387665,326.99894391777815 100.84553628292076,346.5916329566591" fill="none" stroke="hsl(116, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
228
|
+
</g>
|
|
229
|
+
<g>
|
|
230
|
+
<polyline data-points="-1.7100000000000002,-0.6850000000000003 -1.4414851166666667,-3.09" data-type="line" data-label="" points="170.26702041387665,326.99894391777815 181.95797288379092,431.71098200335325" fill="none" stroke="hsl(116, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
231
|
+
</g>
|
|
232
|
+
<g>
|
|
233
|
+
<polyline data-points="-3.3044553499999996,-1.135 -1.4414851166666667,-3.09" data-type="line" data-label="" points="100.84553628292076,346.5916329566591 181.95797288379092,431.71098200335325" fill="none" stroke="hsl(116, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
234
|
+
</g>
|
|
235
|
+
<g>
|
|
236
|
+
<polyline data-points="-1.7100000000000002,-1.2850000000000001 -3.6509404666666665,-2.3449999999999998" data-type="line" data-label="" points="170.26702041387665,353.1225293029528 85.75981373303094,399.27419681676133" fill="none" stroke="hsl(196, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
237
|
+
</g>
|
|
238
|
+
<g>
|
|
239
|
+
<polyline data-points="-1.7100000000000002,-1.2850000000000001 1.3049999999999997,-3.4744553499999995" data-type="line" data-label="" points="170.26702041387665,353.1225293029528 301.53803697437934,448.4499022742069" fill="none" stroke="hsl(196, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
240
|
+
</g>
|
|
241
|
+
<g>
|
|
242
|
+
<polyline data-points="-3.6509404666666665,-2.3449999999999998 1.3049999999999997,-3.4744553499999995" data-type="line" data-label="" points="85.75981373303094,399.27419681676133 301.53803697437934,448.4499022742069" fill="none" stroke="hsl(196, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
243
|
+
</g>
|
|
244
|
+
<g>
|
|
245
|
+
<polyline data-points="0.6900000000000003,-1.2850000000000001 -1.4414851166666667,-4.19" data-type="line" data-label="" points="274.76136195457536,353.1225293029528 181.95797288379092,479.6042218761735" fill="none" stroke="hsl(164, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
246
|
+
</g>
|
|
247
|
+
<g>
|
|
248
|
+
<polyline data-points="0.6900000000000003,-1.2850000000000001 2.8499999999999996,-3.5299999999999985" data-type="line" data-label="" points="274.76136195457536,353.1225293029528 368.80626934120414,450.86827795248126" fill="none" stroke="hsl(164, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
249
|
+
</g>
|
|
250
|
+
<g>
|
|
251
|
+
<polyline data-points="0.6900000000000003,-1.2850000000000001 -3.6509404666666665,-3.4450000000000003" data-type="line" data-label="" points="274.76136195457536,353.1225293029528 85.75981373303094,447.16743668958156" fill="none" stroke="hsl(164, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
252
|
+
</g>
|
|
253
|
+
<g>
|
|
254
|
+
<polyline data-points="0.6900000000000003,-1.2850000000000001 5.01,-4.282499999999999" data-type="line" data-label="" points="274.76136195457536,353.1225293029528 462.8511767278329,483.6316079563878" fill="none" stroke="hsl(164, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
255
|
+
</g>
|
|
256
|
+
<g>
|
|
257
|
+
<polyline data-points="-1.4414851166666667,-4.19 2.8499999999999996,-3.5299999999999985" data-type="line" data-label="" points="181.95797288379092,479.6042218761735 368.80626934120414,450.86827795248126" fill="none" stroke="hsl(164, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
258
|
+
</g>
|
|
259
|
+
<g>
|
|
260
|
+
<polyline data-points="-1.4414851166666667,-4.19 -3.6509404666666665,-3.4450000000000003" data-type="line" data-label="" points="181.95797288379092,479.6042218761735 85.75981373303094,447.16743668958156" fill="none" stroke="hsl(164, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
261
|
+
</g>
|
|
262
|
+
<g>
|
|
263
|
+
<polyline data-points="-1.4414851166666667,-4.19 5.01,-4.282499999999999" data-type="line" data-label="" points="181.95797288379092,479.6042218761735 462.8511767278329,483.6316079563878" fill="none" stroke="hsl(164, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
264
|
+
</g>
|
|
265
|
+
<g>
|
|
266
|
+
<polyline data-points="2.8499999999999996,-3.5299999999999985 -3.6509404666666665,-3.4450000000000003" data-type="line" data-label="" points="368.80626934120414,450.86827795248126 85.75981373303094,447.16743668958156" fill="none" stroke="hsl(164, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
267
|
+
</g>
|
|
268
|
+
<g>
|
|
269
|
+
<polyline data-points="2.8499999999999996,-3.5299999999999985 5.01,-4.282499999999999" data-type="line" data-label="" points="368.80626934120414,450.86827795248126 462.8511767278329,483.6316079563878" fill="none" stroke="hsl(164, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
270
|
+
</g>
|
|
271
|
+
<g>
|
|
272
|
+
<polyline data-points="-3.6509404666666665,-3.4450000000000003 5.01,-4.282499999999999" data-type="line" data-label="" points="85.75981373303094,447.16743668958156 462.8511767278329,483.6316079563878" fill="none" stroke="hsl(164, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
273
|
+
</g>
|
|
274
|
+
<g>
|
|
275
|
+
<polyline data-points="0.6900000000000003,-0.4850000000000002 2.5149999999999997,-0.7849999999999987" data-type="line" data-label="" points="274.76136195457536,318.2910821227199 354.2206008344816,331.3528748153072" fill="none" stroke="hsl(99, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
276
|
+
</g>
|
|
277
|
+
<g>
|
|
278
|
+
<polyline data-points="0.6900000000000003,-0.8850000000000002 3.6149999999999993,1.5044553500000009" data-type="line" data-label="" points="274.76136195457536,335.70680571283634 402.11384070730185,231.67157094652393" fill="none" stroke="hsl(78, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
279
|
+
</g>
|
|
280
|
+
<g>
|
|
281
|
+
<polyline data-points="0.6900000000000003,-0.8850000000000002 2.5149999999999997,-0.5849999999999987" data-type="line" data-label="" points="274.76136195457536,335.70680571283634 354.2206008344816,322.64501302024894" fill="none" stroke="hsl(78, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
282
|
+
</g>
|
|
283
|
+
<g>
|
|
284
|
+
<polyline data-points="3.6149999999999993,1.5044553500000009 2.5149999999999997,-0.5849999999999987" data-type="line" data-label="" points="402.11384070730185,231.67157094652393 354.2206008344816,322.64501302024894" fill="none" stroke="hsl(78, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
285
|
+
</g>
|
|
286
|
+
<g>
|
|
287
|
+
<polyline data-points="0.6900000000000003,-0.6850000000000002 -2.8994553499999993,1.1749999999999998" data-type="line" data-label="" points="274.76136195457536,326.9989439177781 118.47895641791366,246.01582922373666" fill="none" stroke="hsl(80, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
288
|
+
</g>
|
|
289
|
+
<g>
|
|
290
|
+
<polyline data-points="0.6900000000000003,-0.6850000000000002 2.5149999999999997,1.5044553500000009" data-type="line" data-label="" points="274.76136195457536,326.9989439177781 354.2206008344816,231.67157094652393" fill="none" stroke="hsl(80, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
291
|
+
</g>
|
|
292
|
+
<g>
|
|
293
|
+
<polyline data-points="-2.8994553499999993,1.1749999999999998 2.5149999999999997,1.5044553500000009" data-type="line" data-label="" points="118.47895641791366,246.01582922373666 354.2206008344816,231.67157094652393" fill="none" stroke="hsl(80, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
294
|
+
</g>
|
|
295
|
+
<g>
|
|
296
|
+
<polyline data-points="-1.7100000000000002,-0.4850000000000002 -3.3044553499999996,-0.03499999999999992" data-type="line" data-label="" points="170.26702041387665,318.2910821227199 100.84553628292076,298.6983930838389" fill="none" stroke="hsl(215, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
297
|
+
</g>
|
|
298
|
+
<g>
|
|
299
|
+
<polyline data-points="-1.7100000000000002,-0.4850000000000002 -2.8994553499999993,2.2750000000000004" data-type="line" data-label="" points="170.26702041387665,318.2910821227199 118.47895641791366,198.1225893509164" fill="none" stroke="hsl(215, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
300
|
+
</g>
|
|
301
|
+
<g>
|
|
302
|
+
<polyline data-points="-1.7100000000000002,-0.4850000000000002 0.6899999999999998,1.885" data-type="line" data-label="" points="170.26702041387665,318.2910821227199 274.7613619545753,215.10291985127995" fill="none" stroke="hsl(215, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
303
|
+
</g>
|
|
304
|
+
<g>
|
|
305
|
+
<polyline data-points="-3.3044553499999996,-0.03499999999999992 -2.8994553499999993,2.2750000000000004" data-type="line" data-label="" points="100.84553628292076,298.6983930838389 118.47895641791366,198.1225893509164" fill="none" stroke="hsl(215, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
306
|
+
</g>
|
|
307
|
+
<g>
|
|
308
|
+
<polyline data-points="-3.3044553499999996,-0.03499999999999992 0.6899999999999998,1.885" data-type="line" data-label="" points="100.84553628292076,298.6983930838389 274.7613619545753,215.10291985127995" fill="none" stroke="hsl(215, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
309
|
+
</g>
|
|
310
|
+
<g>
|
|
311
|
+
<polyline data-points="-2.8994553499999993,2.2750000000000004 0.6899999999999998,1.885" data-type="line" data-label="" points="118.47895641791366,198.1225893509164 274.7613619545753,215.10291985127995" fill="none" stroke="hsl(215, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
312
|
+
</g>
|
|
313
|
+
<g>
|
|
314
|
+
<polyline data-points="4.515,-0.6849999999999987 2.8499999999999996,-2.4899999999999984" data-type="line" data-label="" points="441.29921878506383,326.99894391777804 368.80626934120414,405.5873966181785" fill="none" stroke="hsl(140, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
315
|
+
</g>
|
|
316
|
+
<g>
|
|
317
|
+
<polyline data-points="4.515,-0.6849999999999987 5.72,-1.5874999999999986" data-type="line" data-label="" points="441.29921878506383,326.99894391777804 493.76408610028966,366.29317026797827" fill="none" stroke="hsl(140, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
318
|
+
</g>
|
|
319
|
+
<g>
|
|
320
|
+
<polyline data-points="2.8499999999999996,-2.4899999999999984 5.72,-1.5874999999999986" data-type="line" data-label="" points="368.80626934120414,405.5873966181785 493.76408610028966,366.29317026797827" fill="none" stroke="hsl(140, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
321
|
+
</g>
|
|
322
|
+
<g>
|
|
323
|
+
<polyline data-points="6.88,-1.5974999999999986 0.20499999999999952,-3.4744553499999995" data-type="line" data-label="" points="544.2696845116272,366.7285633577312 253.64479710155913,448.4499022742069" fill="none" stroke="hsl(302, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
324
|
+
</g>
|
|
325
|
+
<g>
|
|
326
|
+
<polyline data-points="6.88,-1.5974999999999986 5.01,-3.1824999999999983" data-type="line" data-label="" points="544.2696845116272,366.7285633577312 462.8511767278329,435.7383680835676" fill="none" stroke="hsl(302, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
327
|
+
</g>
|
|
328
|
+
<g>
|
|
329
|
+
<polyline data-points="0.20499999999999952,-3.4744553499999995 5.01,-3.1824999999999983" data-type="line" data-label="" points="253.64479710155913,448.4499022742069 462.8511767278329,435.7383680835676" fill="none" stroke="hsl(302, 100%, 50%, 0.8)" stroke-width="1" stroke-dasharray="4 2" />
|
|
330
|
+
</g>
|
|
331
|
+
<g>
|
|
332
|
+
<polyline data-points="0.6900000000000003,-0.4850000000000002 1.2710000000000004,-0.4850000000000002 1.2710000000000004,-0.7849999999999987 2.5149999999999997,-0.7849999999999987" data-type="line" data-label="" points="274.76136195457536,318.2910821227199 300.05770046921947,318.2910821227199 300.05770046921947,331.3528748153072 354.2206008344816,331.3528748153072" fill="none" stroke="purple" stroke-width="1" />
|
|
333
|
+
</g>
|
|
334
|
+
<g>
|
|
335
|
+
<polyline data-points="0.6900000000000003,-0.8850000000000002 1.7025000000000001,-0.8850000000000002 1.7025000000000001,-0.5849999999999987 2.5149999999999997,-0.5849999999999987" data-type="line" data-label="" points="274.76136195457536,335.70680571283634 318.8449122920576,335.70680571283634 318.8449122920576,322.64501302024894 354.2206008344816,322.64501302024894" fill="none" stroke="purple" stroke-width="1" />
|
|
336
|
+
</g>
|
|
337
|
+
<g>
|
|
338
|
+
<polyline data-points="-1.7100000000000002,-0.4850000000000001 -2.0575,-0.4850000000000001 -2.0575,0.16500000000000026 -3.3044553499999996,0.16500000000000026 -3.3044553499999996,-0.03499999999999992" data-type="line" data-label="" points="170.26702041387665,318.2910821227199 155.13711054496298,318.2910821227199 155.13711054496298,289.99053128878063 100.84553628292076,289.99053128878063 100.84553628292076,298.6983930838389" fill="none" stroke="purple" stroke-width="1" />
|
|
339
|
+
</g>
|
|
340
|
+
<g>
|
|
341
|
+
<polyline data-points="4.515,-0.6849999999999987 5.1175,-0.6849999999999987 5.1175,-1.5874999999999986 5.72,-1.5874999999999986" data-type="line" data-label="" points="441.29921878506383,326.99894391777804 467.5316524426767,326.99894391777804 467.5316524426767,366.29317026797827 493.76408610028966,366.29317026797827" fill="none" stroke="purple" stroke-width="1" />
|
|
342
|
+
</g>
|
|
343
|
+
<g>
|
|
344
|
+
<polyline data-points="-1.7100000000000002,-1.2850000000000001 -1.9100000000000001,-1.2850000000000001 -1.9100000000000001,-2.379727675 1.5049999999999997,-2.379727675 1.5049999999999997,-3.4744553499999995 1.3049999999999995,-3.4744553499999995" data-type="line" data-label="" points="170.26702041387665,353.1225293029528 161.55915861881843,353.1225293029528 161.55915861881843,400.78621578857985 310.2458987694376,400.78621578857985 310.2458987694376,448.4499022742069 301.53803697437934,448.4499022742069" fill="none" stroke="purple" stroke-width="1" />
|
|
345
|
+
</g>
|
|
346
|
+
<g>
|
|
347
|
+
<polyline data-points="0.6900000000000003,-1.2850000000000001 1.77,-1.2850000000000001 1.77,-3.7299999999999986 2.8499999999999996,-3.7299999999999986 2.8499999999999996,-3.5299999999999985" data-type="line" data-label="" points="274.76136195457536,353.1225293029528 321.78381564788975,353.1225293029528 321.78381564788975,459.5761397475395 368.80626934120414,459.5761397475395 368.80626934120414,450.86827795248126" fill="none" stroke="purple" stroke-width="1" />
|
|
348
|
+
</g>
|
|
349
|
+
<g>
|
|
350
|
+
<polyline data-points="-1.4414851166666667,-4.19 -1.4414851166666667,-4.390000000000001 -3.6509404666666665,-4.390000000000001 -3.6509404666666665,-3.4450000000000003" data-type="line" data-label="" points="181.95797288379092,479.6042218761735 181.95797288379092,488.3120836712317 85.75981373303094,488.3120836712317 85.75981373303094,447.16743668958156" fill="none" stroke="purple" stroke-width="1" />
|
|
351
|
+
</g>
|
|
352
|
+
<g>
|
|
353
|
+
<polyline data-points="-2.8994553499999993,2.2750000000000004 -2.8994553499999993,2.4750000000000005 0.69,2.4750000000000005 0.69,1.8849999999999998" data-type="line" data-label="" points="118.47895641791366,198.1225893509164 118.47895641791366,189.41472755585818 274.76136195457536,189.41472755585818 274.76136195457536,215.10291985127998" fill="none" stroke="purple" stroke-width="1" />
|
|
354
|
+
</g>
|
|
355
|
+
<g>
|
|
356
|
+
<polyline data-points="6.88,-1.5974999999999984 7.08,-1.5974999999999984 7.08,-2.389999999999998 5.01,-2.389999999999998 5.01,-3.1824999999999983" data-type="line" data-label="" points="544.2696845116272,366.72856335773116 552.9775463066856,366.72856335773116 552.9775463066856,401.23346572064935 462.8511767278329,401.23346572064935 462.8511767278329,435.7383680835676" fill="none" stroke="purple" stroke-width="1" />
|
|
357
|
+
</g>
|
|
358
|
+
<g>
|
|
359
|
+
<polyline data-points="0.6899999999999998,0.7849999999999999 0.6899999999999998,-0.15000000000000036 0.7715000000000002,-0.15000000000000036 0.7715000000000002,0.31499999999999995 2.0710000000000006,0.31499999999999995 2.0710000000000006,-1.085 1.67,-1.085 1.67,-1.4850000000000003 2.0710000000000006,-1.4850000000000003 2.0710000000000006,-1.6850000000000003 0.7715000000000002,-1.6850000000000003 0.7715000000000002,-1.185 0.8900000000000002,-1.185 0.8900000000000002,-1.0850000000000004 0.6900000000000003,-1.0850000000000004" data-type="line" data-label="" points="274.7613619545753,262.99615972410015 274.7613619545753,303.7054136159974 278.30981563606156,303.7054136159974 278.30981563606156,283.459634942487 334.8891476494524,283.459634942487 334.8891476494524,344.41466750789453 317.42988475036066,344.41466750789453 317.42988475036066,361.83039109801103 334.8891476494524,361.83039109801103 334.8891476494524,370.5382528930692 278.30981563606156,370.5382528930692 278.30981563606156,348.7685984054237 283.46922374963356,348.7685984054237 283.46922374963356,344.4146675078946 274.76136195457536,344.4146675078946" fill="none" stroke="purple" stroke-width="1" />
|
|
360
|
+
</g>
|
|
361
|
+
<g>
|
|
362
|
+
<polyline data-points="-1.7100000000000002,-0.6850000000000003 -2.0575,-0.6850000000000003 -2.0575,-1.3350000000000002 -3.3044553499999996,-1.3350000000000002 -3.3044553499999996,-1.135" data-type="line" data-label="" points="170.26702041387665,326.99894391777815 155.13711054496298,326.99894391777815 155.13711054496298,355.29949475171736 100.84553628292076,355.29949475171736 100.84553628292076,346.5916329566591" fill="none" stroke="purple" stroke-width="1" />
|
|
363
|
+
</g>
|
|
364
|
+
<g>
|
|
365
|
+
<polyline data-points="-1.4414851166666667,-3.09 -1.4414851166666667,-2.989 -1.6424851166666665,-2.989" data-type="line" data-label="" points="181.95797288379092,431.71098200335325 181.95797288379092,427.31351179684884 173.20657177975738,427.31351179684884" fill="none" stroke="purple" stroke-width="1" />
|
|
366
|
+
</g>
|
|
367
|
+
<g>
|
|
368
|
+
<polyline data-points="-3.6509404666666665,-2.3449999999999998 -3.6509404666666665,-2.2439999999999998 -4.101940466666666,-2.2439999999999998" data-type="line" data-label="" points="85.75981373303094,399.27419681676133 85.75981373303094,394.8767266102569 66.12358538517466,394.8767266102569" fill="none" stroke="purple" stroke-width="1" />
|
|
369
|
+
</g>
|
|
370
|
+
<g>
|
|
371
|
+
<polyline data-points="5.01,-4.282499999999999 5.01,-4.383499999999999 4.558999999999999,-4.383499999999999" data-type="line" data-label="" points="462.8511767278329,483.6316079563878 462.8511767278329,488.02907816289223 443.2149483799766,488.02907816289223" fill="none" stroke="purple" stroke-width="1" />
|
|
372
|
+
</g>
|
|
373
|
+
<g>
|
|
374
|
+
<polyline data-points="1.0962500000000002,-0.4850000000000002 1.1462500000000002,-0.4850000000000002 1.1462500000000002,0.715 0.24525000000000008,0.715" data-type="line" data-label="" points="292.44920622578735,318.2910821227199 294.6261716745519,318.2910821227199 294.6261716745519,266.04391135237057 255.3972542878146,266.04391135237057" fill="none" stroke="purple" stroke-width="1" />
|
|
375
|
+
</g>
|
|
376
|
+
<g>
|
|
377
|
+
<polyline data-points="1.7025000000000001,-0.5849999999999987 1.7525000000000002,-0.5849999999999987 1.7525000000000002,-0.38499999999999873 1.6515000000000002,-0.38499999999999873" data-type="line" data-label="" points="318.8449122920576,322.64501302024894 321.02187774082216,322.64501302024894 321.02187774082216,313.93715122519075 316.62440753431775,313.93715122519075" fill="none" stroke="purple" stroke-width="1" />
|
|
378
|
+
</g>
|
|
379
|
+
<g>
|
|
380
|
+
<polyline data-points="-2.8994553499999993,1.1749999999999998 -2.8994553499999993,1.0739999999999998 -3.1004553499999994,1.0739999999999998" data-type="line" data-label="" points="118.47895641791366,246.01582922373666 118.47895641791366,250.41329943024104 109.72755531388015,250.41329943024104" fill="none" stroke="purple" stroke-width="1" />
|
|
381
|
+
</g>
|
|
382
|
+
<g>
|
|
383
|
+
<polyline data-points="2.8499999999999996,-2.4899999999999984 2.8499999999999996,-2.3889999999999985 2.2489999999999997,-2.3889999999999985" data-type="line" data-label="" points="368.80626934120414,405.5873966181785 368.80626934120414,401.1899264116741 342.6391446470542,401.1899264116741" fill="none" stroke="purple" stroke-width="1" />
|
|
384
|
+
</g>
|
|
385
|
+
<g>
|
|
386
|
+
<rect data-type="rect" data-label="schematic_component_0" data-x="-0.51" data-y="-0.8850000000000002" x="170.26702041387665" y="309.58322032766165" width="104.49434154069871" height="52.247170770349385" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.022967750833333335" />
|
|
387
|
+
</g>
|
|
388
|
+
<g>
|
|
389
|
+
<rect data-type="rect" data-label="schematic_component_1" data-x="-2.9519553499999995" data-y="-0.585" x="92.3790847173724" y="298.6983930838389" width="47.628115958676915" height="47.89323987282023" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.022967750833333335" />
|
|
390
|
+
</g>
|
|
391
|
+
<g>
|
|
392
|
+
<rect data-type="rect" data-label="schematic_component_2" data-x="-1.0889851166666666" data-y="-3.64" x="173.49152131824258" y="431.71098200335325" width="47.628115958676915" height="47.89323987282023" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.022967750833333335" />
|
|
393
|
+
</g>
|
|
394
|
+
<g>
|
|
395
|
+
<rect data-type="rect" data-label="schematic_component_3" data-x="-2.5469553499999993" data-y="1.725" x="110.01250485236531" y="198.1225893509164" width="47.62811595867694" height="47.89323987282026" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.022967750833333335" />
|
|
396
|
+
</g>
|
|
397
|
+
<g>
|
|
398
|
+
<rect data-type="rect" data-label="schematic_component_4" data-x="3.0649999999999995" data-y="1.5044553500000009" x="354.2206008344816" y="214.71495413079379" width="47.89323987282023" height="33.91323363146026" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.022967750833333335" />
|
|
399
|
+
</g>
|
|
400
|
+
<g>
|
|
401
|
+
<rect data-type="rect" data-label="schematic_component_5" data-x="3.5149999999999997" data-y="-0.6849999999999987" x="354.2206008344816" y="318.29108212271984" width="87.07861795058221" height="17.415723590116443" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.022967750833333335" />
|
|
402
|
+
</g>
|
|
403
|
+
<g>
|
|
404
|
+
<rect data-type="rect" data-label="schematic_component_6" data-x="2.6899999999999995" data-y="-3.0099999999999985" x="343.11807704578234" y="405.5873966181785" width="37.443805718750355" height="45.28088133430276" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.022967750833333335" />
|
|
405
|
+
</g>
|
|
406
|
+
<g>
|
|
407
|
+
<rect data-type="rect" data-label="schematic_component_7" data-x="6.3" data-y="-1.5674999999999986" x="493.76408610028966" y="347.5712674086031" width="50.50559841133759" height="35.70223335973873" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.022967750833333335" />
|
|
408
|
+
</g>
|
|
409
|
+
<g>
|
|
410
|
+
<rect data-type="rect" data-label="schematic_component_8" data-x="0.7774999999999997" data-y="1.335" x="256.4748521849531" y="215.10291985127995" width="44.192398609920474" height="47.8932398728202" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.022967750833333335" />
|
|
411
|
+
</g>
|
|
412
|
+
<g>
|
|
413
|
+
<rect data-type="rect" data-label="schematic_component_9" data-x="-3.4534404666666663" data-y="-2.895" x="67.47330396340868" y="399.27419681676133" width="53.77104658448454" height="47.89323987282023" fill="hsl(24, 100%, 50%, 0.8)" stroke="black" stroke-width="0.022967750833333335" />
|
|
414
|
+
</g>
|
|
415
|
+
<g>
|
|
416
|
+
<rect data-type="rect" data-label="schematic_component_10" data-x="0.7549999999999997" data-y="-3.4744553499999995" x="253.64479710155913" y="431.49328545847675" width="47.8932398728202" height="33.91323363146029" fill="hsl(320, 100%, 50%, 0.8)" stroke="black" stroke-width="0.022967750833333335" />
|
|
417
|
+
</g>
|
|
418
|
+
<g>
|
|
419
|
+
<rect data-type="rect" data-label="schematic_component_11" data-x="5.2075" data-y="-3.7324999999999986" x="444.56466695821064" y="435.7383680835676" width="53.771046584484566" height="47.89323987282023" fill="hsl(320, 100%, 50%, 0.8)" stroke="black" stroke-width="0.022967750833333335" />
|
|
420
|
+
</g>
|
|
421
|
+
<g>
|
|
422
|
+
<rect data-type="rect" data-label="netId: UVLO
|
|
423
|
+
globalConnNetId: connectivity_net1" data-x="-3.6044553499999994" data-y="-1.3350000000000002" x="74.7219508977461" y="350.9455638541882" width="26.123585385174664" height="8.70786179505825" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
424
|
+
</g>
|
|
425
|
+
<g>
|
|
426
|
+
<rect data-type="rect" data-label="netId: UVLO
|
|
427
|
+
globalConnNetId: connectivity_net1" data-x="-1.9424851166666666" data-y="-2.989" x="147.08298639458275" y="422.9595808993197" width="26.123585385174636" height="8.70786179505825" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
428
|
+
</g>
|
|
429
|
+
<g>
|
|
430
|
+
<rect data-type="rect" data-label="netId: IADJ
|
|
431
|
+
globalConnNetId: connectivity_net2" data-x="-2.011" data-y="-0.8850000000000002" x="144.0998957197267" y="331.35287481530725" width="26.123585385174664" height="8.707861795058193" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
432
|
+
</g>
|
|
433
|
+
<g>
|
|
434
|
+
<rect data-type="rect" data-label="netId: DIM_PWM
|
|
435
|
+
globalConnNetId: connectivity_net3" data-x="-2.1910000000000003" data-y="-1.0850000000000004" x="128.4257444886219" y="340.06073661036544" width="41.79773661627945" height="8.70786179505825" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
436
|
+
</g>
|
|
437
|
+
<g>
|
|
438
|
+
<rect data-type="rect" data-label="netId: COFF
|
|
439
|
+
globalConnNetId: connectivity_net4" data-x="-2.21" data-y="-1.8323638375" x="135.43557323364377" y="372.6004416482372" width="26.123585385174692" height="8.707861795058193" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
440
|
+
</g>
|
|
441
|
+
<g>
|
|
442
|
+
<rect data-type="rect" data-label="netId: COFF
|
|
443
|
+
globalConnNetId: connectivity_net4" data-x="-4.401940466666666" data-y="-2.2439999999999998" x="40.00000000000003" y="390.5227957127278" width="26.123585385174636" height="8.70786179505825" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
444
|
+
</g>
|
|
445
|
+
<g>
|
|
446
|
+
<rect data-type="rect" data-label="netId: LED_MINUS
|
|
447
|
+
globalConnNetId: connectivity_net5" data-x="2.37" data-y="-1.2850000000000001" x="321.78381564788975" y="348.7685984054237" width="52.24717077034933" height="8.707861795058193" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
448
|
+
</g>
|
|
449
|
+
<g>
|
|
450
|
+
<rect data-type="rect" data-label="netId: LED_MINUS
|
|
451
|
+
globalConnNetId: connectivity_net5" data-x="-0.8414851166666667" data-y="-4.290000000000001" x="181.95797288379092" y="479.6042218761735" width="52.24717077034933" height="8.707861795058193" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
452
|
+
</g>
|
|
453
|
+
<g>
|
|
454
|
+
<rect data-type="rect" data-label="netId: LED_MINUS
|
|
455
|
+
globalConnNetId: connectivity_net5" data-x="3.958999999999999" data-y="-4.383499999999999" x="390.9677776096273" y="483.67514726536314" width="52.24717077034927" height="8.707861795058193" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
456
|
+
</g>
|
|
457
|
+
<g>
|
|
458
|
+
<rect data-type="rect" data-label="netId: PGATE
|
|
459
|
+
globalConnNetId: connectivity_net6" data-x="-0.11474999999999991" data-y="0.715" x="224.048951825605" y="261.6899804548415" width="31.348302462209602" height="8.707861795058193" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
460
|
+
</g>
|
|
461
|
+
<g>
|
|
462
|
+
<rect data-type="rect" data-label="netId: CSN
|
|
463
|
+
globalConnNetId: connectivity_net7" data-x="1.4115000000000002" data-y="-0.38499999999999873" x="295.725539226178" y="309.5832203276616" width="20.898868308139754" height="8.70786179505825" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
464
|
+
</g>
|
|
465
|
+
<g>
|
|
466
|
+
<rect data-type="rect" data-label="netId: CSN
|
|
467
|
+
globalConnNetId: connectivity_net7" data-x="3.8559999999999994" data-y="1.5044553500000009" x="402.1573800162771" y="227.3176400489948" width="20.898868308139754" height="8.70786179505825" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
468
|
+
</g>
|
|
469
|
+
<g>
|
|
470
|
+
<rect data-type="rect" data-label="netId: CSP
|
|
471
|
+
globalConnNetId: connectivity_net8" data-x="0.9310000000000003" data-y="-0.6850000000000002" x="274.8049012635506" y="322.645013020249" width="20.898868308139754" height="8.70786179505825" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
472
|
+
</g>
|
|
473
|
+
<g>
|
|
474
|
+
<rect data-type="rect" data-label="netId: CSP
|
|
475
|
+
globalConnNetId: connectivity_net8" data-x="-3.340455349999999" data-y="1.0739999999999998" x="88.82868700574042" y="246.05936853271194" width="20.898868308139754" height="8.707861795058221" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
476
|
+
</g>
|
|
477
|
+
<g>
|
|
478
|
+
<rect data-type="rect" data-label="netId: CSP
|
|
479
|
+
globalConnNetId: connectivity_net8" data-x="2.2739999999999996" data-y="1.5044553500000009" x="333.2781932173666" y="227.3176400489948" width="20.898868308139697" height="8.70786179505825" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
480
|
+
</g>
|
|
481
|
+
<g>
|
|
482
|
+
<rect data-type="rect" data-label="netId: .C7 > .pin1 to U4.VCC
|
|
483
|
+
globalConnNetId: connectivity_net0" data-x="0.9149999999999998" data-y="0.3174999999999998" x="274.7613619545753" y="278.99685577251967" width="19.59268903888102" height="8.70786179505825" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
484
|
+
</g>
|
|
485
|
+
<g>
|
|
486
|
+
<rect data-type="rect" data-label="netId: VIN_LED
|
|
487
|
+
globalConnNetId: connectivity_net9" data-x="-2.0575" data-y="0.6450000000000002" x="150.78317964743388" y="248.19279467250118" width="8.707861795058221" height="41.79773661627945" fill="#ef444466" stroke="#ef4444" stroke-width="0.022967750833333335" />
|
|
488
|
+
</g>
|
|
489
|
+
<g>
|
|
490
|
+
<rect data-type="rect" data-label="netId: VIN_LED
|
|
491
|
+
globalConnNetId: connectivity_net9" data-x="-2.8994553499999993" data-y="2.9550000000000005" x="114.12502552038455" y="147.6169909395787" width="8.707861795058221" height="41.79773661627948" fill="#ef444466" stroke="#ef4444" stroke-width="0.022967750833333335" />
|
|
492
|
+
</g>
|
|
493
|
+
<g>
|
|
494
|
+
<rect data-type="rect" data-label="netId: SW
|
|
495
|
+
globalConnNetId: connectivity_net10" data-x="5.297499999999999" data-y="-0.6849999999999987" x="467.5316524426767" y="322.64501302024894" width="15.674151231104759" height="8.70786179505825" fill="hsl(80, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
496
|
+
</g>
|
|
497
|
+
<g>
|
|
498
|
+
<rect data-type="rect" data-label="netId: SW
|
|
499
|
+
globalConnNetId: connectivity_net10" data-x="2.0689999999999995" data-y="-2.3889999999999985" x="326.9649934159494" y="396.835995514145" width="15.674151231104815" height="8.707861795058193" fill="hsl(80, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
500
|
+
</g>
|
|
501
|
+
<g>
|
|
502
|
+
<rect data-type="rect" data-label="netId: LED_PLUS
|
|
503
|
+
globalConnNetId: connectivity_net11" data-x="7.62" data-y="-1.5974999999999984" x="552.9775463066856" y="362.37463246020206" width="47.022453693314446" height="8.70786179505825" fill="hsl(80, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
504
|
+
</g>
|
|
505
|
+
<g>
|
|
506
|
+
<rect data-type="rect" data-label="netId: LED_PLUS
|
|
507
|
+
globalConnNetId: connectivity_net11" data-x="-0.3360000000000005" data-y="-3.4744553499999995" x="206.57880409926943" y="444.09597137667777" width="47.02245369331439" height="8.70786179505825" fill="hsl(80, 100%, 50%, 0.35)" stroke="black" stroke-width="0.022967750833333335" />
|
|
508
|
+
</g>
|
|
509
|
+
<g id="crosshair" style="display: none">
|
|
510
|
+
<line id="crosshair-h" y1="0" y2="640" stroke="#666" stroke-width="0.5" />
|
|
511
|
+
<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>
|
|
512
|
+
</g>
|
|
513
|
+
<script>
|
|
514
|
+
<![CDATA[
|
|
515
|
+
document.currentScript.parentElement.addEventListener('mousemove', (e) => {
|
|
516
|
+
const svg = e.currentTarget;
|
|
517
|
+
const rect = svg.getBoundingClientRect();
|
|
518
|
+
const x = e.clientX - rect.left;
|
|
519
|
+
const y = e.clientY - rect.top;
|
|
520
|
+
const crosshair = svg.getElementById('crosshair');
|
|
521
|
+
const h = svg.getElementById('crosshair-h');
|
|
522
|
+
const v = svg.getElementById('crosshair-v');
|
|
523
|
+
const coords = svg.getElementById('coordinates');
|
|
524
|
+
|
|
525
|
+
crosshair.style.display = 'block';
|
|
526
|
+
h.setAttribute('x1', '0');
|
|
527
|
+
h.setAttribute('x2', '640');
|
|
528
|
+
h.setAttribute('y1', y);
|
|
529
|
+
h.setAttribute('y2', y);
|
|
530
|
+
v.setAttribute('x1', x);
|
|
531
|
+
v.setAttribute('x2', x);
|
|
532
|
+
v.setAttribute('y1', '0');
|
|
533
|
+
v.setAttribute('y2', '640');
|
|
534
|
+
|
|
535
|
+
// Calculate real coordinates using inverse transformation
|
|
536
|
+
const matrix = {
|
|
537
|
+
"a": 43.539308975291114,
|
|
538
|
+
"c": 0,
|
|
539
|
+
"e": 244.71923876162447,
|
|
540
|
+
"b": 0,
|
|
541
|
+
"d": -43.539308975291114,
|
|
542
|
+
"f": 297.1745172697037
|
|
543
|
+
};
|
|
544
|
+
// Manually invert and apply the affine transform
|
|
545
|
+
// Since we only use translate and scale, we can directly compute:
|
|
546
|
+
// x' = (x - tx) / sx
|
|
547
|
+
// y' = (y - ty) / sy
|
|
548
|
+
const sx = matrix.a;
|
|
549
|
+
const sy = matrix.d;
|
|
550
|
+
const tx = matrix.e;
|
|
551
|
+
const ty = matrix.f;
|
|
552
|
+
const realPoint = {
|
|
553
|
+
x: (x - tx) / sx,
|
|
554
|
+
y: (y - ty) / sy // Flip y back since we used negative scale
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
coords.textContent = `(${realPoint.x.toFixed(2)}, ${realPoint.y.toFixed(2)})`;
|
|
558
|
+
coords.setAttribute('x', (x + 5).toString());
|
|
559
|
+
coords.setAttribute('y', (y - 5).toString());
|
|
560
|
+
});
|
|
561
|
+
document.currentScript.parentElement.addEventListener('mouseleave', () => {
|
|
562
|
+
document.currentScript.parentElement.getElementById('crosshair').style.display = 'none';
|
|
563
|
+
});
|
|
564
|
+
]]>
|
|
565
|
+
</script>
|
|
566
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { test, expect } from "bun:test"
|
|
2
|
+
import { SchematicTracePipelineSolver } from "lib/solvers/SchematicTracePipelineSolver/SchematicTracePipelineSolver"
|
|
3
|
+
import inputProblem from "../assets/example46.json"
|
|
4
|
+
import "tests/fixtures/matcher"
|
|
5
|
+
|
|
6
|
+
test("example46", () => {
|
|
7
|
+
const solver = new SchematicTracePipelineSolver(inputProblem as any)
|
|
8
|
+
|
|
9
|
+
solver.solve()
|
|
10
|
+
|
|
11
|
+
expect(solver).toMatchSolverSnapshot(import.meta.path)
|
|
12
|
+
})
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { test, expect } from "bun:test"
|
|
2
|
+
import { SchematicTracePipelineSolver } from "lib/solvers/SchematicTracePipelineSolver/SchematicTracePipelineSolver"
|
|
3
|
+
import inputProblem from "../assets/example47.json"
|
|
4
|
+
import "tests/fixtures/matcher"
|
|
5
|
+
|
|
6
|
+
test("example47", () => {
|
|
7
|
+
const solver = new SchematicTracePipelineSolver(inputProblem as any)
|
|
8
|
+
|
|
9
|
+
solver.solve()
|
|
10
|
+
|
|
11
|
+
expect(solver).toMatchSolverSnapshot(import.meta.path)
|
|
12
|
+
})
|