@tscircuit/schematic-trace-solver 0.0.48 → 0.0.49

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.
Files changed (162) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.ts +51 -1
  3. package/dist/index.js +730 -43
  4. package/lib/solvers/Example28Solver/Example28Solver.ts +182 -0
  5. package/lib/solvers/Example28Solver/geometry.ts +246 -0
  6. package/lib/solvers/Example28Solver/labelMovement.ts +82 -0
  7. package/lib/solvers/Example28Solver/reroute.ts +368 -0
  8. package/lib/solvers/Example28Solver/types.ts +47 -0
  9. package/lib/solvers/Example28Solver/visualize.ts +96 -0
  10. package/lib/solvers/SchematicTracePipelineSolver/SchematicTracePipelineSolver.ts +16 -0
  11. package/package.json +1 -1
  12. package/site/SchematicTraceSingleLineSolver2/SchematicTraceSingleLineSolver2_01-example17-d1_1-u1_1.page.tsx +2 -0
  13. package/site/TraceCleanupSolver/TraceCleanupSolver.page.tsx +23 -0
  14. package/site/TraceLabelOverlapAvoidanceSolver/MergedNetLabelObstacles.page.tsx +18 -0
  15. package/site/TraceLabelOverlapAvoidanceSolver/OverlapAvoidanceStepSolver.page.tsx +24 -0
  16. package/site/TraceLabelOverlapAvoidanceSolver/SingleOverlapSolver.page.tsx +10 -0
  17. package/site/TraceLabelOverlapAvoidanceSolver/TraceLabelOverlapAvoidanceSolver.page.tsx +146 -0
  18. package/site/TraceLabelOverlapAvoidanceSolver/renderComparisonView01.page.tsx +32 -0
  19. package/site/TraceLabelOverlapAvoidanceSolver/renderComparisonView02.page.tsx +32 -0
  20. package/site/TraceLabelOverlapAvoidanceSolver/renderComparisonView03.page.tsx +35 -0
  21. package/site/examples/example01.page.tsx +6 -0
  22. package/site/examples/example02.page.tsx +4 -180
  23. package/site/examples/example03.page.tsx +3 -212
  24. package/site/examples/example04.page.tsx +6 -0
  25. package/site/examples/example05.page.tsx +3 -179
  26. package/site/examples/example06.page.tsx +3 -57
  27. package/site/examples/example07.page.tsx +3 -132
  28. package/site/examples/example08.page.tsx +3 -91
  29. package/site/examples/example09.page.tsx +3 -414
  30. package/site/examples/example10.page.tsx +3 -75
  31. package/site/examples/example11.page.tsx +3 -116
  32. package/site/examples/example12.page.tsx +3 -94
  33. package/site/examples/example13.page.tsx +3 -216
  34. package/site/examples/example14.page.tsx +3 -207
  35. package/site/examples/example15.page.tsx +6 -0
  36. package/site/examples/example16.page.tsx +6 -0
  37. package/site/examples/example17.page.tsx +6 -0
  38. package/site/examples/example18.page.tsx +3 -178
  39. package/site/examples/example19.page.tsx +3 -166
  40. package/site/examples/example20.page.tsx +3 -100
  41. package/site/examples/example21.page.tsx +3 -174
  42. package/site/examples/example22.page.tsx +3 -105
  43. package/site/examples/example23.page.tsx +3 -134
  44. package/site/examples/example24.page.tsx +3 -125
  45. package/site/examples/example25.page.tsx +2 -0
  46. package/site/examples/example26.page.tsx +2 -0
  47. package/site/examples/example27.page.tsx +2 -0
  48. package/site/examples/example28.page.tsx +3 -58
  49. package/site/examples/example29.page.tsx +6 -0
  50. package/site/examples/example30.page.tsx +6 -0
  51. package/site/examples/example31.page.tsx +4 -0
  52. package/tests/assets/example01.json +109 -0
  53. package/tests/assets/example02.json +178 -0
  54. package/tests/assets/example03.json +210 -0
  55. package/tests/assets/example04.json +41 -0
  56. package/tests/assets/example05.json +175 -0
  57. package/tests/assets/example06.json +55 -0
  58. package/tests/assets/example07.json +130 -0
  59. package/tests/assets/example08.json +89 -0
  60. package/tests/assets/example09.json +412 -0
  61. package/tests/assets/example10.json +73 -0
  62. package/tests/assets/example11.json +114 -0
  63. package/tests/assets/example12.json +92 -0
  64. package/tests/assets/example13.json +214 -0
  65. package/tests/assets/example14.json +205 -0
  66. package/tests/assets/example15.json +618 -0
  67. package/tests/assets/example16.json +102 -0
  68. package/tests/assets/example17.json +160 -0
  69. package/tests/assets/example18.json +176 -0
  70. package/tests/assets/example19.json +164 -0
  71. package/tests/assets/example20.json +98 -0
  72. package/tests/assets/example21.json +172 -0
  73. package/tests/assets/example22.json +103 -0
  74. package/tests/assets/example23.json +132 -0
  75. package/tests/assets/example24.json +123 -0
  76. package/tests/assets/example25.json +146 -33
  77. package/tests/assets/example26.json +51 -1134
  78. package/tests/assets/example27.json +151 -91
  79. package/tests/assets/example28.json +56 -0
  80. package/tests/assets/example29.json +1206 -0
  81. package/tests/assets/example30.json +168 -0
  82. package/tests/assets/example31.json +46 -0
  83. package/tests/examples/__snapshots__/example01.snap.svg +12 -6
  84. package/tests/examples/__snapshots__/example02.snap.svg +16 -8
  85. package/tests/examples/__snapshots__/example03.snap.svg +36 -18
  86. package/tests/examples/__snapshots__/example04.snap.svg +8 -4
  87. package/tests/examples/__snapshots__/example05.snap.svg +4 -2
  88. package/tests/examples/__snapshots__/example06.snap.svg +4 -2
  89. package/tests/examples/__snapshots__/example07.snap.svg +20 -10
  90. package/tests/examples/__snapshots__/example08.snap.svg +16 -8
  91. package/tests/examples/__snapshots__/example09.snap.svg +80 -40
  92. package/tests/examples/__snapshots__/example10.snap.svg +16 -8
  93. package/tests/examples/__snapshots__/example11.snap.svg +24 -12
  94. package/tests/examples/__snapshots__/example12.snap.svg +16 -8
  95. package/tests/examples/__snapshots__/example13.snap.svg +32 -16
  96. package/tests/examples/__snapshots__/example14.snap.svg +115 -48
  97. package/tests/examples/__snapshots__/example15.snap.svg +36 -18
  98. package/tests/examples/__snapshots__/example16.snap.svg +16 -8
  99. package/tests/examples/__snapshots__/example17.snap.svg +16 -8
  100. package/tests/examples/__snapshots__/example18.snap.svg +20 -10
  101. package/tests/examples/__snapshots__/example19.snap.svg +16 -8
  102. package/tests/examples/__snapshots__/example20.snap.svg +43 -135
  103. package/tests/examples/__snapshots__/example21.snap.svg +34 -18
  104. package/tests/examples/__snapshots__/example22.snap.svg +37 -23
  105. package/tests/examples/__snapshots__/example23.snap.svg +62 -26
  106. package/tests/examples/__snapshots__/example24.snap.svg +50 -28
  107. package/tests/examples/__snapshots__/example25.snap.svg +175 -49
  108. package/tests/examples/__snapshots__/example26.snap.svg +16 -8
  109. package/tests/examples/__snapshots__/example27.snap.svg +24 -12
  110. package/tests/examples/__snapshots__/example28.snap.svg +24 -18
  111. package/tests/examples/__snapshots__/example29.snap.svg +184 -92
  112. package/tests/examples/__snapshots__/example30.snap.svg +48 -24
  113. package/tests/examples/__snapshots__/example31.snap.svg +88 -0
  114. package/tests/examples/example01.test.ts +2 -2
  115. package/tests/examples/example02.test.ts +2 -2
  116. package/tests/examples/example03.test.ts +2 -2
  117. package/tests/examples/example04.test.ts +2 -2
  118. package/tests/examples/example05.test.ts +2 -2
  119. package/tests/examples/example06.test.ts +2 -2
  120. package/tests/examples/example07.test.ts +2 -2
  121. package/tests/examples/example08.test.ts +2 -2
  122. package/tests/examples/example09.test.ts +2 -2
  123. package/tests/examples/example10.test.ts +2 -2
  124. package/tests/examples/{example11.test.tsx → example11.test.ts} +2 -2
  125. package/tests/examples/{example12.test.tsx → example12.test.ts} +2 -2
  126. package/tests/examples/{example13.test.tsx → example13.test.ts} +2 -2
  127. package/tests/examples/example14.test.ts +12 -0
  128. package/tests/examples/example15.test.ts +12 -0
  129. package/tests/examples/example16.test.ts +12 -0
  130. package/tests/examples/example17.test.ts +12 -0
  131. package/tests/examples/example18.test.ts +12 -0
  132. package/tests/examples/example19.test.ts +12 -0
  133. package/tests/examples/example20.test.ts +12 -0
  134. package/tests/examples/example21.test.ts +12 -0
  135. package/tests/examples/example22.test.ts +12 -0
  136. package/tests/examples/example23.test.ts +12 -0
  137. package/tests/examples/example24.test.ts +12 -0
  138. package/tests/examples/example25.test.ts +12 -0
  139. package/tests/examples/example26.test.ts +12 -0
  140. package/tests/examples/example27.test.ts +3 -232
  141. package/tests/examples/example28.test.ts +2 -2
  142. package/tests/examples/example29.test.ts +1 -2
  143. package/tests/examples/example30.test.ts +2 -2
  144. package/tests/examples/example31.test.ts +12 -0
  145. package/site/examples/example01-basic.page.tsx +0 -105
  146. package/site/examples/example04-single-symbol.page.tsx +0 -46
  147. package/site/examples/example15-rp2040-caps.page.tsx +0 -623
  148. package/site/examples/example16-core-repro51.page.tsx +0 -107
  149. package/site/examples/example17-straight-line-trace.page.tsx +0 -165
  150. package/tests/examples/example14.test.tsx +0 -11
  151. package/tests/examples/example15.test.tsx +0 -629
  152. package/tests/examples/example16.test.tsx +0 -113
  153. package/tests/examples/example17.test.tsx +0 -171
  154. package/tests/examples/example18.test.tsx +0 -187
  155. package/tests/examples/example19.test.tsx +0 -175
  156. package/tests/examples/example20.test.tsx +0 -190
  157. package/tests/examples/example21.test.tsx +0 -183
  158. package/tests/examples/example22.test.tsx +0 -109
  159. package/tests/examples/example23.test.tsx +0 -109
  160. package/tests/examples/example24.test.tsx +0 -114
  161. package/tests/examples/example25.test.tsx +0 -143
  162. package/tests/examples/example26.test.tsx +0 -134
@@ -0,0 +1,412 @@
1
+ {
2
+ "chips": [
3
+ {
4
+ "chipId": "schematic_component_0",
5
+ "center": {
6
+ "x": 0,
7
+ "y": 0
8
+ },
9
+ "width": 2.3,
10
+ "height": 1.7999999999999998,
11
+ "pins": [
12
+ {
13
+ "pinId": "U1.1",
14
+ "x": -1.15,
15
+ "y": 0.7
16
+ },
17
+ {
18
+ "pinId": "U1.2",
19
+ "x": -1.15,
20
+ "y": 0.49999999999999994
21
+ },
22
+ {
23
+ "pinId": "U1.3",
24
+ "x": -1.15,
25
+ "y": 0.29999999999999993
26
+ },
27
+ {
28
+ "pinId": "U1.4",
29
+ "x": -1.15,
30
+ "y": 0.09999999999999987
31
+ },
32
+ {
33
+ "pinId": "U1.5",
34
+ "x": -1.15,
35
+ "y": -0.10000000000000009
36
+ },
37
+ {
38
+ "pinId": "U1.6",
39
+ "x": -1.15,
40
+ "y": -0.30000000000000004
41
+ },
42
+ {
43
+ "pinId": "U1.7",
44
+ "x": -1.15,
45
+ "y": -0.5
46
+ },
47
+ {
48
+ "pinId": "U1.8",
49
+ "x": -1.15,
50
+ "y": -0.7
51
+ },
52
+ {
53
+ "pinId": "U1.9",
54
+ "x": 1.15,
55
+ "y": -0.7
56
+ },
57
+ {
58
+ "pinId": "U1.10",
59
+ "x": 1.15,
60
+ "y": -0.49999999999999994
61
+ },
62
+ {
63
+ "pinId": "U1.11",
64
+ "x": 1.15,
65
+ "y": -0.29999999999999993
66
+ },
67
+ {
68
+ "pinId": "U1.12",
69
+ "x": 1.15,
70
+ "y": -0.09999999999999987
71
+ },
72
+ {
73
+ "pinId": "U1.13",
74
+ "x": 1.15,
75
+ "y": 0.10000000000000009
76
+ },
77
+ {
78
+ "pinId": "U1.14",
79
+ "x": 1.15,
80
+ "y": 0.30000000000000004
81
+ },
82
+ {
83
+ "pinId": "U1.15",
84
+ "x": 1.15,
85
+ "y": 0.5
86
+ },
87
+ {
88
+ "pinId": "U1.16",
89
+ "x": 1.15,
90
+ "y": 0.7
91
+ }
92
+ ]
93
+ },
94
+ {
95
+ "chipId": "schematic_component_1",
96
+ "center": {
97
+ "x": -4,
98
+ "y": -3
99
+ },
100
+ "width": 1.102581400000001,
101
+ "height": 0.388910699999999,
102
+ "pins": [
103
+ {
104
+ "pinId": "R1.1",
105
+ "x": -4.551290700000001,
106
+ "y": -2.9997267500000007
107
+ },
108
+ {
109
+ "pinId": "R1.2",
110
+ "x": -3.4487092999999995,
111
+ "y": -3.0002732499999993
112
+ }
113
+ ]
114
+ },
115
+ {
116
+ "chipId": "schematic_component_2",
117
+ "center": {
118
+ "x": -4,
119
+ "y": -2
120
+ },
121
+ "width": 1.102581400000001,
122
+ "height": 0.388910699999999,
123
+ "pins": [
124
+ {
125
+ "pinId": "R2.1",
126
+ "x": -4.551290700000001,
127
+ "y": -1.9997267500000007
128
+ },
129
+ {
130
+ "pinId": "R2.2",
131
+ "x": -3.4487092999999995,
132
+ "y": -2.0002732499999993
133
+ }
134
+ ]
135
+ },
136
+ {
137
+ "chipId": "schematic_component_3",
138
+ "center": {
139
+ "x": -4,
140
+ "y": -1
141
+ },
142
+ "width": 1.102581400000001,
143
+ "height": 0.388910699999999,
144
+ "pins": [
145
+ {
146
+ "pinId": "R3.1",
147
+ "x": -4.551290700000001,
148
+ "y": -0.9997267500000007
149
+ },
150
+ {
151
+ "pinId": "R3.2",
152
+ "x": -3.4487092999999995,
153
+ "y": -1.0002732499999993
154
+ }
155
+ ]
156
+ },
157
+ {
158
+ "chipId": "schematic_component_4",
159
+ "center": {
160
+ "x": -4,
161
+ "y": 0
162
+ },
163
+ "width": 1.102581400000001,
164
+ "height": 0.388910699999999,
165
+ "pins": [
166
+ {
167
+ "pinId": "R4.1",
168
+ "x": -4.551290700000001,
169
+ "y": 0.0002732499999993365
170
+ },
171
+ {
172
+ "pinId": "R4.2",
173
+ "x": -3.4487092999999995,
174
+ "y": -0.0002732499999993365
175
+ }
176
+ ]
177
+ },
178
+ {
179
+ "chipId": "schematic_component_5",
180
+ "center": {
181
+ "x": -4,
182
+ "y": 1
183
+ },
184
+ "width": 1.102581400000001,
185
+ "height": 0.388910699999999,
186
+ "pins": [
187
+ {
188
+ "pinId": "R5.1",
189
+ "x": -4.551290700000001,
190
+ "y": 1.0002732499999993
191
+ },
192
+ {
193
+ "pinId": "R5.2",
194
+ "x": -3.4487092999999995,
195
+ "y": 0.9997267500000007
196
+ }
197
+ ]
198
+ },
199
+ {
200
+ "chipId": "schematic_component_6",
201
+ "center": {
202
+ "x": -4,
203
+ "y": 2
204
+ },
205
+ "width": 1.102581400000001,
206
+ "height": 0.388910699999999,
207
+ "pins": [
208
+ {
209
+ "pinId": "R6.1",
210
+ "x": -4.551290700000001,
211
+ "y": 2.0002732499999993
212
+ },
213
+ {
214
+ "pinId": "R6.2",
215
+ "x": -3.4487092999999995,
216
+ "y": 1.9997267500000007
217
+ }
218
+ ]
219
+ },
220
+ {
221
+ "chipId": "schematic_component_7",
222
+ "center": {
223
+ "x": 4,
224
+ "y": -3
225
+ },
226
+ "width": 1.1025814,
227
+ "height": 0.388910699999999,
228
+ "pins": [
229
+ {
230
+ "pinId": "R7.1",
231
+ "x": 3.4487093,
232
+ "y": -2.9997267500000007
233
+ },
234
+ {
235
+ "pinId": "R7.2",
236
+ "x": 4.5512907,
237
+ "y": -3.0002732499999993
238
+ }
239
+ ]
240
+ },
241
+ {
242
+ "chipId": "schematic_component_8",
243
+ "center": {
244
+ "x": 4,
245
+ "y": -2
246
+ },
247
+ "width": 1.1025814,
248
+ "height": 0.388910699999999,
249
+ "pins": [
250
+ {
251
+ "pinId": "R8.1",
252
+ "x": 3.4487093,
253
+ "y": -1.9997267500000007
254
+ },
255
+ {
256
+ "pinId": "R8.2",
257
+ "x": 4.5512907,
258
+ "y": -2.0002732499999993
259
+ }
260
+ ]
261
+ },
262
+ {
263
+ "chipId": "schematic_component_9",
264
+ "center": {
265
+ "x": 4,
266
+ "y": -1
267
+ },
268
+ "width": 1.1025814,
269
+ "height": 0.388910699999999,
270
+ "pins": [
271
+ {
272
+ "pinId": "R9.1",
273
+ "x": 3.4487093,
274
+ "y": -0.9997267500000007
275
+ },
276
+ {
277
+ "pinId": "R9.2",
278
+ "x": 4.5512907,
279
+ "y": -1.0002732499999993
280
+ }
281
+ ]
282
+ },
283
+ {
284
+ "chipId": "schematic_component_10",
285
+ "center": {
286
+ "x": 4,
287
+ "y": 0
288
+ },
289
+ "width": 1.1025814,
290
+ "height": 0.388910699999999,
291
+ "pins": [
292
+ {
293
+ "pinId": "R10.1",
294
+ "x": 3.4487093,
295
+ "y": 0.0002732499999993365
296
+ },
297
+ {
298
+ "pinId": "R10.2",
299
+ "x": 4.5512907,
300
+ "y": -0.0002732499999993365
301
+ }
302
+ ]
303
+ },
304
+ {
305
+ "chipId": "schematic_component_11",
306
+ "center": {
307
+ "x": 4,
308
+ "y": 1
309
+ },
310
+ "width": 1.1025814,
311
+ "height": 0.388910699999999,
312
+ "pins": [
313
+ {
314
+ "pinId": "R11.1",
315
+ "x": 3.4487093,
316
+ "y": 1.0002732499999993
317
+ },
318
+ {
319
+ "pinId": "R11.2",
320
+ "x": 4.5512907,
321
+ "y": 0.9997267500000007
322
+ }
323
+ ]
324
+ },
325
+ {
326
+ "chipId": "schematic_component_12",
327
+ "center": {
328
+ "x": 4,
329
+ "y": 2
330
+ },
331
+ "width": 1.1025814,
332
+ "height": 0.388910699999999,
333
+ "pins": [
334
+ {
335
+ "pinId": "R12.1",
336
+ "x": 3.4487093,
337
+ "y": 2.0002732499999993
338
+ },
339
+ {
340
+ "pinId": "R12.2",
341
+ "x": 4.5512907,
342
+ "y": 1.9997267500000007
343
+ }
344
+ ]
345
+ }
346
+ ],
347
+ "directConnections": [
348
+ {
349
+ "pinIds": ["R1.2", "U1.1"],
350
+ "netId": ".R1 > .pin2 to .U1 > .IN1"
351
+ },
352
+ {
353
+ "pinIds": ["R2.2", "U1.3"],
354
+ "netId": ".R2 > .pin2 to .U1 > .IN3"
355
+ },
356
+ {
357
+ "pinIds": ["R3.2", "U1.4"],
358
+ "netId": ".R3 > .pin2 to .U1 > .IN4"
359
+ },
360
+ {
361
+ "pinIds": ["R4.2", "U1.6"],
362
+ "netId": ".R4 > .pin2 to .U1 > .IN6"
363
+ },
364
+ {
365
+ "pinIds": ["R5.2", "U1.7"],
366
+ "netId": ".R5 > .pin2 to .U1 > .IN7"
367
+ },
368
+ {
369
+ "pinIds": ["R6.2", "U1.8"],
370
+ "netId": ".R6 > .pin2 to .U1 > .IN8"
371
+ },
372
+ {
373
+ "pinIds": ["R7.1", "U1.16"],
374
+ "netId": ".R7 > .pin1 to .U1 > .OUT8"
375
+ },
376
+ {
377
+ "pinIds": ["R8.1", "U1.14"],
378
+ "netId": ".R8 > .pin1 to .U1 > .OUT6"
379
+ },
380
+ {
381
+ "pinIds": ["R9.1", "U1.13"],
382
+ "netId": ".R9 > .pin1 to .U1 > .OUT5"
383
+ },
384
+ {
385
+ "pinIds": ["R10.1", "U1.12"],
386
+ "netId": ".R10 > .pin1 to .U1 > .OUT4"
387
+ },
388
+ {
389
+ "pinIds": ["R11.1", "U1.10"],
390
+ "netId": ".R11 > .pin1 to .U1 > .OUT2"
391
+ },
392
+ {
393
+ "pinIds": ["R12.1", "U1.9"],
394
+ "netId": ".R12 > .pin1 to .U1 > .OUT1"
395
+ },
396
+ {
397
+ "pinIds": ["R1.1", "R12.2"],
398
+ "netId": ".R1 > .pin1 to .R12 > .pin2"
399
+ },
400
+ {
401
+ "pinIds": ["R3.1", "R10.2"],
402
+ "netId": ".R3 > .pin1 to .R10 > .pin2"
403
+ },
404
+ {
405
+ "pinIds": ["R5.1", "R8.2"],
406
+ "netId": ".R5 > .pin1 to .R8 > .pin2"
407
+ }
408
+ ],
409
+ "netConnections": [],
410
+ "availableNetLabelOrientations": {},
411
+ "maxMspPairDistance": 5
412
+ }
@@ -0,0 +1,73 @@
1
+ {
2
+ "chips": [
3
+ {
4
+ "chipId": "schematic_component_0",
5
+ "center": {
6
+ "x": -2,
7
+ "y": 0
8
+ },
9
+ "width": 0.8122621299999988,
10
+ "height": 1.1038501999999986,
11
+ "pins": [
12
+ {
13
+ "pinId": "Q1_NPN.1",
14
+ "x": -2.2855604555,
15
+ "y": -0.5519250999999993
16
+ },
17
+ {
18
+ "pinId": "Q1_NPN.2",
19
+ "x": -2.2855604555000015,
20
+ "y": 0.5519250999999993
21
+ },
22
+ {
23
+ "pinId": "Q1_NPN.3",
24
+ "x": -1.5938689350000006,
25
+ "y": 0.004526300000001031
26
+ }
27
+ ]
28
+ },
29
+ {
30
+ "chipId": "schematic_component_1",
31
+ "center": {
32
+ "x": 3.5,
33
+ "y": 0
34
+ },
35
+ "width": 0.8122621299999988,
36
+ "height": 1.1038501999999986,
37
+ "pins": [
38
+ {
39
+ "pinId": "Q2_PNP.1",
40
+ "x": 3.2144395445,
41
+ "y": -0.5519250999999993
42
+ },
43
+ {
44
+ "pinId": "Q2_PNP.2",
45
+ "x": 3.2144395444999985,
46
+ "y": 0.5519250999999993
47
+ },
48
+ {
49
+ "pinId": "Q2_PNP.3",
50
+ "x": 3.9061310649999994,
51
+ "y": 0.004526300000001031
52
+ }
53
+ ]
54
+ }
55
+ ],
56
+ "directConnections": [],
57
+ "netConnections": [
58
+ {
59
+ "netId": "collector",
60
+ "pinIds": ["Q1_NPN.1", "Q2_PNP.1"]
61
+ },
62
+ {
63
+ "netId": "emitter",
64
+ "pinIds": ["Q1_NPN.2", "Q2_PNP.2"]
65
+ },
66
+ {
67
+ "netId": "base",
68
+ "pinIds": ["Q1_NPN.3", "Q2_PNP.3"]
69
+ }
70
+ ],
71
+ "availableNetLabelOrientations": {},
72
+ "maxMspPairDistance": 2
73
+ }
@@ -0,0 +1,114 @@
1
+ {
2
+ "chips": [
3
+ {
4
+ "chipId": "schematic_component_0",
5
+ "center": {
6
+ "x": -1.03,
7
+ "y": 0.765
8
+ },
9
+ "width": 1.06,
10
+ "height": 0.388910699999999,
11
+ "pins": [
12
+ {
13
+ "pinId": "R1.1",
14
+ "x": -1.58,
15
+ "y": 0.765
16
+ },
17
+ {
18
+ "pinId": "R1.2",
19
+ "x": -0.48,
20
+ "y": 0.765
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "chipId": "schematic_component_1",
26
+ "center": {
27
+ "x": 1.03,
28
+ "y": 0.765
29
+ },
30
+ "width": 1.06,
31
+ "height": 0.388910699999999,
32
+ "pins": [
33
+ {
34
+ "pinId": "R2.1",
35
+ "x": 0.48,
36
+ "y": 0.765
37
+ },
38
+ {
39
+ "pinId": "R2.2",
40
+ "x": 1.58,
41
+ "y": 0.765
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "chipId": "schematic_component_2",
47
+ "center": {
48
+ "x": -1.03,
49
+ "y": -0.765
50
+ },
51
+ "width": 1.06,
52
+ "height": 0.388910699999999,
53
+ "pins": [
54
+ {
55
+ "pinId": "R3.1",
56
+ "x": -1.58,
57
+ "y": -0.765
58
+ },
59
+ {
60
+ "pinId": "R3.2",
61
+ "x": -0.48,
62
+ "y": -0.765
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ "chipId": "schematic_component_3",
68
+ "center": {
69
+ "x": 1.03,
70
+ "y": -0.765
71
+ },
72
+ "width": 0.88,
73
+ "height": 0.53,
74
+ "pins": [
75
+ {
76
+ "pinId": "J1.1",
77
+ "x": 0.5800000000000001,
78
+ "y": -0.665
79
+ },
80
+ {
81
+ "pinId": "J1.2",
82
+ "x": 1.03,
83
+ "y": -1.0150000000000001
84
+ },
85
+ {
86
+ "pinId": "J1.3",
87
+ "x": 1.48,
88
+ "y": -0.665
89
+ }
90
+ ]
91
+ }
92
+ ],
93
+ "directConnections": [
94
+ {
95
+ "pinIds": ["R2.1", "R3.2"],
96
+ "netId": ".R2 > .pin1 to .R3 > .pin2"
97
+ },
98
+ {
99
+ "pinIds": ["R2.2", "R3.1"],
100
+ "netId": ".R2 > .pin2 to .R3 > .pin1"
101
+ },
102
+ {
103
+ "pinIds": ["J1.1", "R1.1"],
104
+ "netId": ".J1 > .pin1 to .R1 > .pin1"
105
+ },
106
+ {
107
+ "pinIds": ["J1.3", "R1.2"],
108
+ "netId": ".J1 > .pin3 to .R1 > .pin2"
109
+ }
110
+ ],
111
+ "netConnections": [],
112
+ "availableNetLabelOrientations": {},
113
+ "maxMspPairDistance": 5
114
+ }
@@ -0,0 +1,92 @@
1
+ {
2
+ "chips": [
3
+ {
4
+ "chipId": "schematic_component_0",
5
+ "center": {
6
+ "x": 0,
7
+ "y": 0
8
+ },
9
+ "width": 1.4000000000000001,
10
+ "height": 0.8,
11
+ "pins": [
12
+ {
13
+ "pinId": "J1.1",
14
+ "x": 1.1,
15
+ "y": 0.2
16
+ },
17
+ {
18
+ "pinId": "J1.2",
19
+ "x": 1.1,
20
+ "y": 0
21
+ },
22
+ {
23
+ "pinId": "J1.3",
24
+ "x": 1.1,
25
+ "y": -0.2
26
+ }
27
+ ]
28
+ },
29
+ {
30
+ "chipId": "schematic_component_1",
31
+ "center": {
32
+ "x": 1.0999999999999996,
33
+ "y": -1.7944553499999996
34
+ },
35
+ "width": 1.06,
36
+ "height": 0.388910699999999,
37
+ "pins": [
38
+ {
39
+ "pinId": "R1.1",
40
+ "x": 0.5499999999999996,
41
+ "y": -1.7944553499999996
42
+ },
43
+ {
44
+ "pinId": "R1.2",
45
+ "x": 1.6499999999999997,
46
+ "y": -1.7944553499999996
47
+ }
48
+ ]
49
+ },
50
+ {
51
+ "chipId": "schematic_component_2",
52
+ "center": {
53
+ "x": 2.86,
54
+ "y": 0.01999999999999985
55
+ },
56
+ "width": 1.06,
57
+ "height": 0.84,
58
+ "pins": [
59
+ {
60
+ "pinId": "C1.1",
61
+ "x": 2.3099999999999996,
62
+ "y": 0.01999999999999985
63
+ },
64
+ {
65
+ "pinId": "C1.2",
66
+ "x": 3.41,
67
+ "y": 0.01999999999999985
68
+ }
69
+ ]
70
+ }
71
+ ],
72
+ "directConnections": [],
73
+ "netConnections": [
74
+ {
75
+ "netId": "VCC",
76
+ "pinIds": ["J1.1", "C1.1"]
77
+ },
78
+ {
79
+ "netId": "OUT",
80
+ "pinIds": ["J1.2", "R1.1"]
81
+ },
82
+ {
83
+ "netId": "GND",
84
+ "pinIds": ["J1.3", "R1.2", "C1.2"]
85
+ }
86
+ ],
87
+ "availableNetLabelOrientations": {
88
+ "VCC": ["y+"],
89
+ "GND": ["y-"]
90
+ },
91
+ "maxMspPairDistance": 5
92
+ }