@vessel-dsp/core 0.6.0 → 0.6.2

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 (238) hide show
  1. package/dist/editor/commands.d.ts +48 -0
  2. package/dist/editor/commands.d.ts.map +1 -0
  3. package/{src/editor/commands.ts → dist/editor/commands.js} +44 -91
  4. package/dist/editor/commands.js.map +1 -0
  5. package/dist/editor/factory.d.ts +10 -0
  6. package/dist/editor/factory.d.ts.map +1 -0
  7. package/{src/editor/factory.ts → dist/editor/factory.js} +11 -27
  8. package/dist/editor/factory.js.map +1 -0
  9. package/dist/editor/history.d.ts +29 -0
  10. package/dist/editor/history.d.ts.map +1 -0
  11. package/{src/editor/history.ts → dist/editor/history.js} +12 -42
  12. package/dist/editor/history.js.map +1 -0
  13. package/{src/editor/index.ts → dist/editor/index.d.ts} +1 -3
  14. package/dist/editor/index.d.ts.map +1 -0
  15. package/dist/editor/index.js +5 -0
  16. package/dist/editor/index.js.map +1 -0
  17. package/dist/editor/layout.d.ts +8 -0
  18. package/dist/editor/layout.d.ts.map +1 -0
  19. package/{src/editor/layout.ts → dist/editor/layout.js} +36 -90
  20. package/dist/editor/layout.js.map +1 -0
  21. package/dist/formats/circuit-json/serializer.d.ts +101 -0
  22. package/dist/formats/circuit-json/serializer.d.ts.map +1 -0
  23. package/{src/formats/circuit-json/serializer.ts → dist/formats/circuit-json/serializer.js} +352 -418
  24. package/dist/formats/circuit-json/serializer.js.map +1 -0
  25. package/dist/formats/document.d.ts +64 -0
  26. package/dist/formats/document.d.ts.map +1 -0
  27. package/{src/formats/document.ts → dist/formats/document.js} +43 -159
  28. package/dist/formats/document.js.map +1 -0
  29. package/dist/formats/interchange/parser.d.ts +3 -0
  30. package/dist/formats/interchange/parser.d.ts.map +1 -0
  31. package/{src/formats/interchange/parser.ts → dist/formats/interchange/parser.js} +157 -463
  32. package/dist/formats/interchange/parser.js.map +1 -0
  33. package/dist/formats/interchange/serializer.d.ts +9 -0
  34. package/dist/formats/interchange/serializer.d.ts.map +1 -0
  35. package/{src/formats/interchange/serializer.ts → dist/formats/interchange/serializer.js} +84 -186
  36. package/dist/formats/interchange/serializer.js.map +1 -0
  37. package/dist/formats/ltspice/catalog.d.ts +19 -0
  38. package/dist/formats/ltspice/catalog.d.ts.map +1 -0
  39. package/{src/formats/ltspice/catalog.ts → dist/formats/ltspice/catalog.js} +18 -52
  40. package/dist/formats/ltspice/catalog.js.map +1 -0
  41. package/dist/formats/ltspice/encoding.d.ts +2 -0
  42. package/dist/formats/ltspice/encoding.d.ts.map +1 -0
  43. package/{src/formats/ltspice/encoding.ts → dist/formats/ltspice/encoding.js} +17 -41
  44. package/dist/formats/ltspice/encoding.js.map +1 -0
  45. package/dist/formats/ltspice/parser.d.ts +3 -0
  46. package/dist/formats/ltspice/parser.d.ts.map +1 -0
  47. package/{src/formats/ltspice/parser.ts → dist/formats/ltspice/parser.js} +39 -141
  48. package/dist/formats/ltspice/parser.js.map +1 -0
  49. package/dist/formats/ltspice/serializer.d.ts +7 -0
  50. package/dist/formats/ltspice/serializer.d.ts.map +1 -0
  51. package/{src/formats/ltspice/serializer.ts → dist/formats/ltspice/serializer.js} +18 -45
  52. package/dist/formats/ltspice/serializer.js.map +1 -0
  53. package/dist/formats/schx/catalog.d.ts +19 -0
  54. package/dist/formats/schx/catalog.d.ts.map +1 -0
  55. package/{src/formats/schx/catalog.ts → dist/formats/schx/catalog.js} +48 -101
  56. package/dist/formats/schx/catalog.js.map +1 -0
  57. package/dist/formats/schx/parser.d.ts +3 -0
  58. package/dist/formats/schx/parser.d.ts.map +1 -0
  59. package/{src/formats/schx/parser.ts → dist/formats/schx/parser.js} +31 -86
  60. package/dist/formats/schx/parser.js.map +1 -0
  61. package/dist/formats/schx/runtime-descriptors.d.ts +3 -0
  62. package/dist/formats/schx/runtime-descriptors.d.ts.map +1 -0
  63. package/{src/formats/schx/runtime-descriptors.ts → dist/formats/schx/runtime-descriptors.js} +36 -123
  64. package/dist/formats/schx/runtime-descriptors.js.map +1 -0
  65. package/dist/formats/schx/serializer.d.ts +5 -0
  66. package/dist/formats/schx/serializer.d.ts.map +1 -0
  67. package/{src/formats/schx/serializer.ts → dist/formats/schx/serializer.js} +17 -42
  68. package/dist/formats/schx/serializer.js.map +1 -0
  69. package/dist/formats/schx/transforms.d.ts +4 -0
  70. package/dist/formats/schx/transforms.d.ts.map +1 -0
  71. package/{src/formats/schx/transforms.ts → dist/formats/schx/transforms.js} +6 -10
  72. package/dist/formats/schx/transforms.js.map +1 -0
  73. package/dist/formats/spice/parser.d.ts +3 -0
  74. package/dist/formats/spice/parser.d.ts.map +1 -0
  75. package/{src/formats/spice/parser.ts → dist/formats/spice/parser.js} +50 -96
  76. package/dist/formats/spice/parser.js.map +1 -0
  77. package/dist/formats/spice/serializer.d.ts +3 -0
  78. package/dist/formats/spice/serializer.d.ts.map +1 -0
  79. package/{src/formats/spice/serializer.ts → dist/formats/spice/serializer.js} +20 -16
  80. package/dist/formats/spice/serializer.js.map +1 -0
  81. package/dist/index.d.ts +47 -0
  82. package/dist/index.d.ts.map +1 -0
  83. package/dist/index.js +32 -0
  84. package/dist/index.js.map +1 -0
  85. package/dist/model/connectivity.d.ts +16 -0
  86. package/dist/model/connectivity.d.ts.map +1 -0
  87. package/{src/model/connectivity.ts → dist/model/connectivity.js} +28 -63
  88. package/dist/model/connectivity.js.map +1 -0
  89. package/dist/model/netlist.d.ts +24 -0
  90. package/dist/model/netlist.d.ts.map +1 -0
  91. package/{src/model/netlist.ts → dist/model/netlist.js} +42 -110
  92. package/dist/model/netlist.js.map +1 -0
  93. package/dist/model/properties.d.ts +9 -0
  94. package/dist/model/properties.d.ts.map +1 -0
  95. package/{src/model/properties.ts → dist/model/properties.js} +10 -18
  96. package/dist/model/properties.js.map +1 -0
  97. package/dist/model/quantity.d.ts +3 -0
  98. package/dist/model/quantity.d.ts.map +1 -0
  99. package/{src/model/quantity.ts → dist/model/quantity.js} +7 -30
  100. package/dist/model/quantity.js.map +1 -0
  101. package/{src/model/types.ts → dist/model/types.d.ts} +17 -196
  102. package/dist/model/types.d.ts.map +1 -0
  103. package/dist/model/types.js +10 -0
  104. package/dist/model/types.js.map +1 -0
  105. package/dist/model/validation.d.ts +32 -0
  106. package/dist/model/validation.d.ts.map +1 -0
  107. package/{src/model/validation.ts → dist/model/validation.js} +172 -653
  108. package/dist/model/validation.js.map +1 -0
  109. package/dist/model/wires.d.ts +3 -0
  110. package/dist/model/wires.d.ts.map +1 -0
  111. package/{src/model/wires.ts → dist/model/wires.js} +10 -16
  112. package/dist/model/wires.js.map +1 -0
  113. package/dist/panel/extract.d.ts +5 -0
  114. package/dist/panel/extract.d.ts.map +1 -0
  115. package/{src/panel/extract.ts → dist/panel/extract.js} +146 -235
  116. package/dist/panel/extract.js.map +1 -0
  117. package/dist/panel/index.d.ts +6 -0
  118. package/dist/panel/index.d.ts.map +1 -0
  119. package/dist/panel/index.js +5 -0
  120. package/dist/panel/index.js.map +1 -0
  121. package/dist/panel/knobs.d.ts +7 -0
  122. package/dist/panel/knobs.d.ts.map +1 -0
  123. package/{src/panel/knobs.ts → dist/panel/knobs.js} +7 -18
  124. package/dist/panel/knobs.js.map +1 -0
  125. package/dist/panel/protocol.d.ts +9 -0
  126. package/dist/panel/protocol.d.ts.map +1 -0
  127. package/{src/panel/protocol.ts → dist/panel/protocol.js} +10 -26
  128. package/dist/panel/protocol.js.map +1 -0
  129. package/{src/panel/types.ts → dist/panel/types.d.ts} +50 -89
  130. package/dist/panel/types.d.ts.map +1 -0
  131. package/dist/panel/types.js +2 -0
  132. package/dist/panel/types.js.map +1 -0
  133. package/dist/preview/bounds.d.ts +12 -0
  134. package/dist/preview/bounds.d.ts.map +1 -0
  135. package/{src/preview/bounds.ts → dist/preview/bounds.js} +15 -29
  136. package/dist/preview/bounds.js.map +1 -0
  137. package/dist/preview/box-layout.d.ts +4 -0
  138. package/dist/preview/box-layout.d.ts.map +1 -0
  139. package/{src/preview/box-layout.ts → dist/preview/box-layout.js} +2 -6
  140. package/dist/preview/box-layout.js.map +1 -0
  141. package/dist/preview/colors.d.ts +3 -0
  142. package/dist/preview/colors.d.ts.map +1 -0
  143. package/{src/preview/colors.ts → dist/preview/colors.js} +3 -5
  144. package/dist/preview/colors.js.map +1 -0
  145. package/dist/preview/hanging.d.ts +8 -0
  146. package/dist/preview/hanging.d.ts.map +1 -0
  147. package/{src/preview/hanging.ts → dist/preview/hanging.js} +9 -28
  148. package/dist/preview/hanging.js.map +1 -0
  149. package/dist/preview/junctions.d.ts +3 -0
  150. package/dist/preview/junctions.d.ts.map +1 -0
  151. package/{src/preview/junctions.ts → dist/preview/junctions.js} +9 -24
  152. package/dist/preview/junctions.js.map +1 -0
  153. package/dist/preview/label-layout.d.ts +12 -0
  154. package/dist/preview/label-layout.d.ts.map +1 -0
  155. package/{src/preview/label-layout.ts → dist/preview/label-layout.js} +15 -36
  156. package/dist/preview/label-layout.js.map +1 -0
  157. package/dist/preview/ports.d.ts +17 -0
  158. package/dist/preview/ports.d.ts.map +1 -0
  159. package/{src/preview/ports.ts → dist/preview/ports.js} +10 -37
  160. package/dist/preview/ports.js.map +1 -0
  161. package/dist/preview/renderable-wires.d.ts +3 -0
  162. package/dist/preview/renderable-wires.d.ts.map +1 -0
  163. package/{src/preview/renderable-wires.ts → dist/preview/renderable-wires.js} +12 -29
  164. package/dist/preview/renderable-wires.js.map +1 -0
  165. package/dist/preview/routing.d.ts +4 -0
  166. package/dist/preview/routing.d.ts.map +1 -0
  167. package/dist/preview/routing.js +13 -0
  168. package/dist/preview/routing.js.map +1 -0
  169. package/dist/preview/snap.d.ts +9 -0
  170. package/dist/preview/snap.d.ts.map +1 -0
  171. package/{src/preview/snap.ts → dist/preview/snap.js} +9 -31
  172. package/dist/preview/snap.js.map +1 -0
  173. package/dist/preview/symbols/svg-content.d.ts +7 -0
  174. package/dist/preview/symbols/svg-content.d.ts.map +1 -0
  175. package/{src/preview/symbols/svg-content.ts → dist/preview/symbols/svg-content.js} +3 -6
  176. package/dist/preview/symbols/svg-content.js.map +1 -0
  177. package/dist/preview/symbols.d.ts +7 -0
  178. package/dist/preview/symbols.d.ts.map +1 -0
  179. package/{src/preview/symbols.ts → dist/preview/symbols.js} +18 -43
  180. package/dist/preview/symbols.js.map +1 -0
  181. package/dist/preview/wire-chains.d.ts +4 -0
  182. package/dist/preview/wire-chains.d.ts.map +1 -0
  183. package/{src/preview/wire-chains.ts → dist/preview/wire-chains.js} +37 -37
  184. package/dist/preview/wire-chains.js.map +1 -0
  185. package/package.json +3 -3
  186. package/src/index.ts +0 -255
  187. package/src/panel/index.ts +0 -39
  188. package/src/preview/routing.ts +0 -15
  189. package/src/preview/symbols/analog-switch.svg +0 -17
  190. package/src/preview/symbols/battery.svg +0 -16
  191. package/src/preview/symbols/bbd.svg +0 -21
  192. package/src/preview/symbols/bjt-npn.svg +0 -16
  193. package/src/preview/symbols/bjt-pnp.svg +0 -17
  194. package/src/preview/symbols/capacitor-electrolytic.svg +0 -13
  195. package/src/preview/symbols/capacitor.svg +0 -12
  196. package/src/preview/symbols/current-source.svg +0 -14
  197. package/src/preview/symbols/delay-ic.svg +0 -22
  198. package/src/preview/symbols/diode-schottky.svg +0 -12
  199. package/src/preview/symbols/diode-zener.svg +0 -12
  200. package/src/preview/symbols/diode.svg +0 -13
  201. package/src/preview/symbols/flipflop.svg +0 -20
  202. package/src/preview/symbols/ground.svg +0 -12
  203. package/src/preview/symbols/ic-block.svg +0 -20
  204. package/src/preview/symbols/ic.svg +0 -19
  205. package/src/preview/symbols/inductor.svg +0 -11
  206. package/src/preview/symbols/jack-input.svg +0 -16
  207. package/src/preview/symbols/jack-output.svg +0 -16
  208. package/src/preview/symbols/jfet-junction-n.svg +0 -17
  209. package/src/preview/symbols/jfet-n.svg +0 -17
  210. package/src/preview/symbols/jfet-p.svg +0 -17
  211. package/src/preview/symbols/label.svg +0 -8
  212. package/src/preview/symbols/led.svg +0 -18
  213. package/src/preview/symbols/mosfet-n.svg +0 -21
  214. package/src/preview/symbols/mosfet-p.svg +0 -21
  215. package/src/preview/symbols/named-wire.svg +0 -11
  216. package/src/preview/symbols/opamp.svg +0 -21
  217. package/src/preview/symbols/optocoupler.svg +0 -30
  218. package/src/preview/symbols/ota.svg +0 -20
  219. package/src/preview/symbols/pentode.svg +0 -25
  220. package/src/preview/symbols/photoresistor.svg +0 -19
  221. package/src/preview/symbols/port.svg +0 -8
  222. package/src/preview/symbols/potentiometer.svg +0 -15
  223. package/src/preview/symbols/power-amp.svg +0 -20
  224. package/src/preview/symbols/rail.svg +0 -11
  225. package/src/preview/symbols/regulator.svg +0 -13
  226. package/src/preview/symbols/relay.svg +0 -20
  227. package/src/preview/symbols/resistor.svg +0 -11
  228. package/src/preview/symbols/switch-3pdt.svg +0 -32
  229. package/src/preview/symbols/switch-rotary.svg +0 -23
  230. package/src/preview/symbols/switch-spdt.svg +0 -16
  231. package/src/preview/symbols/switch-spst.svg +0 -14
  232. package/src/preview/symbols/switch-toggle.svg +0 -14
  233. package/src/preview/symbols/transformer.svg +0 -17
  234. package/src/preview/symbols/triode.svg +0 -17
  235. package/src/preview/symbols/tube-diode.svg +0 -13
  236. package/src/preview/symbols/unsupported.svg +0 -8
  237. package/src/preview/symbols/variable-resistor.svg +0 -13
  238. package/src/preview/symbols/voltage-source.svg +0 -15
@@ -1,17 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: jfet (N-channel JunctionFieldEffectTransistor variant)
4
- terminals: drain (SVG 10,-20), gate (SVG -20,0), source (SVG 10,20)
5
- LiveSPICE JunctionFieldEffectTransistor uses slanted drain/source anchors.
6
- -->
7
- <g stroke-width="0.95">
8
- <line x1="-20" y1="0" x2="-3" y2="0"/>
9
- <line x1="0" y1="-8" x2="10" y2="-20"/>
10
- <line x1="0" y1="8" x2="10" y2="20"/>
11
- </g>
12
- <circle cx="0" cy="0" r="11"/>
13
- <line x1="-3" y1="-8" x2="-3" y2="8"/>
14
- <line x1="-3" y1="-8" x2="0" y2="-8"/>
15
- <line x1="-3" y1="8" x2="0" y2="8"/>
16
- <path d="M -3 0 L -7 -2 L -7 2 Z" fill="currentColor" stroke="none"/>
17
- </svg>
@@ -1,17 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: jfet (N-channel variant)
4
- terminals: drain (SVG 0,-20), gate (SVG -20,0), source (SVG 0,20)
5
- Arrow on gate lead points INTO the channel.
6
- -->
7
- <g stroke-width="0.95">
8
- <line x1="-20" y1="0" x2="-3" y2="0"/>
9
- <line x1="0" y1="-8" x2="0" y2="-20"/>
10
- <line x1="0" y1="8" x2="0" y2="20"/>
11
- </g>
12
- <circle cx="0" cy="0" r="11"/>
13
- <line x1="-3" y1="-8" x2="-3" y2="8"/>
14
- <line x1="-3" y1="-8" x2="0" y2="-8"/>
15
- <line x1="-3" y1="8" x2="0" y2="8"/>
16
- <path d="M -3 0 L -7 -2 L -7 2 Z" fill="currentColor" stroke="none"/>
17
- </svg>
@@ -1,17 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: jfet (P-channel variant)
4
- terminals: drain (SVG 0,-20), gate (SVG -20,0), source (SVG 0,20)
5
- Arrow on gate lead points OUT of the channel (away from channel).
6
- -->
7
- <g stroke-width="0.95">
8
- <line x1="-20" y1="0" x2="-3" y2="0"/>
9
- <line x1="0" y1="-8" x2="0" y2="-20"/>
10
- <line x1="0" y1="8" x2="0" y2="20"/>
11
- </g>
12
- <circle cx="0" cy="0" r="11"/>
13
- <line x1="-3" y1="-8" x2="-3" y2="8"/>
14
- <line x1="-3" y1="-8" x2="0" y2="-8"/>
15
- <line x1="-3" y1="8" x2="0" y2="8"/>
16
- <path d="M -7 0 L -3 -2 L -3 2 Z" fill="currentColor" stroke="none"/>
17
- </svg>
@@ -1,8 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: label
4
- terminals: none
5
- The label text is dynamic (read from properties.Text by schematic.tsx).
6
- This SVG is intentionally empty — the renderer draws the text glyph itself.
7
- -->
8
- </svg>
@@ -1,18 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: led
4
- terminals: anode (SVG 0,-20), cathode (SVG 0,20)
5
- -->
6
- <g stroke-width="0.95">
7
- <line x1="0" y1="-20" x2="0" y2="-5"/>
8
- <line x1="0" y1="4" x2="0" y2="20"/>
9
- </g>
10
- <path d="M -6 -5 L 6 -5 L 0 4 Z" fill="currentColor" stroke="none"/>
11
- <line x1="-7" y1="4" x2="7" y2="4"/>
12
- <line x1="8" y1="-8" x2="14" y2="-14"/>
13
- <line x1="14" y1="-14" x2="12" y2="-10"/>
14
- <line x1="14" y1="-14" x2="10" y2="-12"/>
15
- <line x1="11" y1="-3" x2="17" y2="-9"/>
16
- <line x1="17" y1="-9" x2="15" y2="-5"/>
17
- <line x1="17" y1="-9" x2="13" y2="-7"/>
18
- </svg>
@@ -1,21 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: mosfet (N-channel enhancement variant)
4
- terminals: drain (SVG 0,-20), gate (SVG -20,0), source (SVG 0,20), body (SVG 10,0)
5
- Body arrow points INTO channel (left) — distinguishes N from P.
6
- -->
7
- <g stroke-width="0.95">
8
- <line x1="-20" y1="0" x2="-7" y2="0"/>
9
- <line x1="0" y1="-8" x2="0" y2="-20"/>
10
- <line x1="0" y1="8" x2="0" y2="20"/>
11
- <line x1="-3" y1="0" x2="10" y2="0"/>
12
- </g>
13
- <circle cx="0" cy="0" r="11"/>
14
- <line x1="-7" y1="-5" x2="-7" y2="5"/>
15
- <line x1="-3" y1="-8" x2="-3" y2="-3"/>
16
- <line x1="-3" y1="-1" x2="-3" y2="1"/>
17
- <line x1="-3" y1="3" x2="-3" y2="8"/>
18
- <line x1="-3" y1="-8" x2="0" y2="-8"/>
19
- <line x1="-3" y1="8" x2="0" y2="8"/>
20
- <path d="M -1 0 L 3 -2 L 3 2 Z" fill="currentColor" stroke="none"/>
21
- </svg>
@@ -1,21 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: mosfet (P-channel enhancement variant)
4
- terminals: drain (SVG 0,-20), gate (SVG -20,0), source (SVG 0,20), body (SVG 10,0)
5
- Body arrow points OUT of channel (right) — distinguishes P from N.
6
- -->
7
- <g stroke-width="0.95">
8
- <line x1="-20" y1="0" x2="-7" y2="0"/>
9
- <line x1="0" y1="-8" x2="0" y2="-20"/>
10
- <line x1="0" y1="8" x2="0" y2="20"/>
11
- <line x1="-3" y1="0" x2="10" y2="0"/>
12
- </g>
13
- <circle cx="0" cy="0" r="11"/>
14
- <line x1="-7" y1="-5" x2="-7" y2="5"/>
15
- <line x1="-3" y1="-8" x2="-3" y2="-3"/>
16
- <line x1="-3" y1="-1" x2="-3" y2="1"/>
17
- <line x1="-3" y1="3" x2="-3" y2="8"/>
18
- <line x1="-3" y1="-8" x2="0" y2="-8"/>
19
- <line x1="-3" y1="8" x2="0" y2="8"/>
20
- <path d="M 3 0 L -1 -2 L -1 2 Z" fill="currentColor" stroke="none"/>
21
- </svg>
@@ -1,11 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: named-wire
4
- terminals: t (SVG 0,0)
5
- Small marker circle + short outbound stroke toward the wire's name label.
6
- -->
7
- <g stroke-width="0.95">
8
- <line x1="3" y1="0" x2="12" y2="0"/>
9
- </g>
10
- <circle cx="0" cy="0" r="3"/>
11
- </svg>
@@ -1,21 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-35 -25 70 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: opamp
4
- terminals: vin+ (SVG -30,-10), vin- (SVG -30,10), vout (SVG 30,0), vcc (SVG 0,-20), vee (SVG 0,20)
5
- NOTE: extended viewBox (-35..35 wide) because input/output leads sit at x=±30.
6
- + and − markers drawn as line strokes (more readable at small scale than <text>).
7
- -->
8
- <g stroke-width="0.95">
9
- <line x1="-30" y1="-10" x2="-11" y2="-10"/>
10
- <line x1="-30" y1="10" x2="-11" y2="10"/>
11
- <line x1="10" y1="0" x2="30" y2="0"/>
12
- <line x1="0" y1="-20" x2="0" y2="-5"/>
13
- <line x1="0" y1="5" x2="0" y2="20"/>
14
- </g>
15
- <path d="M -11 -10 L 10 0 L -11 10 Z"/>
16
- <!-- + marker (vin+ side) -->
17
- <line x1="-9" y1="-5" x2="-5" y2="-5"/>
18
- <line x1="-7" y1="-7" x2="-7" y2="-3"/>
19
- <!-- − marker (vin− side) -->
20
- <line x1="-9" y1="5" x2="-5" y2="5"/>
21
- </svg>
@@ -1,30 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: optocoupler (vactrol — LED + LDR pair inside an opaque package)
4
- terminals: led+ (SVG -20,-10), led- (SVG -20,10), r1 (SVG 20,-10), r2 (SVG 20,10)
5
- NOTE: catalog has no terminal map yet; using generic 4-pin DIP-style layout.
6
- -->
7
- <g stroke-width="0.95">
8
- <line x1="-20" y1="-10" x2="-7" y2="-10"/>
9
- <line x1="-20" y1="10" x2="-7" y2="10"/>
10
- <line x1="7" y1="-10" x2="20" y2="-10"/>
11
- <line x1="7" y1="10" x2="20" y2="10"/>
12
- </g>
13
- <rect x="-15" y="-13" width="30" height="26" rx="2"/>
14
- <!-- LED triangle pointing down (anode top → cathode bottom) -->
15
- <path d="M -10 -3 L -4 -3 L -7 3 Z" fill="currentColor" stroke="none"/>
16
- <line x1="-11" y1="3" x2="-3" y2="3"/>
17
- <line x1="-7" y1="-10" x2="-7" y2="-3"/>
18
- <line x1="-7" y1="3" x2="-7" y2="10"/>
19
- <!-- Emission arrows from LED → LDR -->
20
- <line x1="-2" y1="-2" x2="2" y2="-2"/>
21
- <line x1="2" y1="-2" x2="0" y2="-3"/>
22
- <line x1="2" y1="-2" x2="0" y2="-1"/>
23
- <line x1="-2" y1="2" x2="2" y2="2"/>
24
- <line x1="2" y1="2" x2="0" y2="1"/>
25
- <line x1="2" y1="2" x2="0" y2="3"/>
26
- <!-- LDR (vertical resistor zigzag) -->
27
- <polyline points="7,-7 4,-5 10,-3 4,-1 10,1 4,3 10,5 7,7"/>
28
- <line x1="7" y1="-10" x2="7" y2="-7"/>
29
- <line x1="7" y1="7" x2="7" y2="10"/>
30
- </svg>
@@ -1,20 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-35 -25 70 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: ota (operational transconductance amplifier — LM13700 / CA3080 family)
4
- terminals: vin+ (SVG -30,-10), vin- (SVG -30,10), ibias (SVG -30,-20), iout (SVG 30,0), vcc (SVG 0,-20), vee (SVG 0,20)
5
- Same triangle as op-amp but with a bias-current input lead labeled "Ib".
6
- -->
7
- <g stroke-width="0.95">
8
- <line x1="-30" y1="-10" x2="-11" y2="-10"/>
9
- <line x1="-30" y1="10" x2="-11" y2="10"/>
10
- <line x1="-30" y1="-20" x2="-3" y2="-15"/>
11
- <line x1="10" y1="0" x2="30" y2="0"/>
12
- <line x1="0" y1="-20" x2="0" y2="-5"/>
13
- <line x1="0" y1="5" x2="0" y2="20"/>
14
- </g>
15
- <path d="M -11 -10 L 10 0 L -11 10 Z"/>
16
- <line x1="-9" y1="-12" x2="-5" y2="-12"/>
17
- <line x1="-7" y1="-14" x2="-7" y2="-10"/>
18
- <line x1="-9" y1="10" x2="-5" y2="10"/>
19
- <text x="-1" y="-14" font-size="4" font-family="ui-sans-serif, system-ui, sans-serif" fill="currentColor" stroke="none" text-anchor="middle">Ib</text>
20
- </svg>
@@ -1,25 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: pentode
4
- terminals: plate (SVG 0,-20), screen (SVG 10,-10), grid (SVG -20,0), cathode (SVG -10,20), suppressor (SVG 10,10)
5
- -->
6
- <g stroke-width="0.95">
7
- <line x1="0" y1="-7" x2="0" y2="-20"/>
8
- <line x1="-20" y1="0" x2="-11" y2="0"/>
9
- <line x1="5" y1="-3" x2="10" y2="-10"/>
10
- <line x1="5" y1="3" x2="10" y2="10"/>
11
- <line x1="-4" y1="6" x2="-10" y2="20"/>
12
- </g>
13
- <circle cx="0" cy="0" r="11"/>
14
- <line x1="-5" y1="-7" x2="5" y2="-7"/>
15
- <line x1="-5" y1="-3" x2="-3" y2="-3"/>
16
- <line x1="-1" y1="-3" x2="1" y2="-3"/>
17
- <line x1="3" y1="-3" x2="5" y2="-3"/>
18
- <line x1="-5" y1="0" x2="-3" y2="0"/>
19
- <line x1="-1" y1="0" x2="1" y2="0"/>
20
- <line x1="3" y1="0" x2="5" y2="0"/>
21
- <line x1="-5" y1="3" x2="-3" y2="3"/>
22
- <line x1="-1" y1="3" x2="1" y2="3"/>
23
- <line x1="3" y1="3" x2="5" y2="3"/>
24
- <line x1="-4" y1="6" x2="4" y2="6"/>
25
- </svg>
@@ -1,19 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: photoresistor (LDR)
4
- terminals: a (SVG 0,-20), b (SVG 0,20)
5
- Light arrows point INTO the body (upper-right → resistor).
6
- -->
7
- <g stroke-width="0.95">
8
- <line x1="0" y1="-20" x2="0" y2="-10"/>
9
- <line x1="0" y1="10" x2="0" y2="20"/>
10
- </g>
11
- <polyline points="0,-10 -5,-8 5,-4 -5,0 5,4 -5,8 0,10"/>
12
- <circle cx="0" cy="0" r="14"/>
13
- <line x1="20" y1="-20" x2="14" y2="-14"/>
14
- <line x1="14" y1="-14" x2="17" y2="-15"/>
15
- <line x1="14" y1="-14" x2="15" y2="-17"/>
16
- <line x1="22" y1="-12" x2="16" y2="-6"/>
17
- <line x1="16" y1="-6" x2="19" y2="-7"/>
18
- <line x1="16" y1="-6" x2="17" y2="-9"/>
19
- </svg>
@@ -1,8 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: port (test point)
4
- terminals: t (SVG 0,0)
5
- -->
6
- <circle cx="0" cy="0" r="7"/>
7
- <text x="0" y="2.5" font-size="7" font-family="ui-sans-serif, system-ui, sans-serif" fill="currentColor" stroke="none" text-anchor="middle">P</text>
8
- </svg>
@@ -1,15 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -45 50 90" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: potentiometer
4
- terminals: a (SVG -10,-40), wiper (SVG 10,0), b (SVG -10,40)
5
- NOTE: catalog terminals extend to ±40, but the square card renderer draws
6
- connector dots separately, so the visual lead stubs are shortened.
7
- -->
8
- <g stroke-width="0.95">
9
- <line x1="-10" y1="-24" x2="-10" y2="-10"/>
10
- <line x1="-10" y1="10" x2="-10" y2="24"/>
11
- <line x1="10" y1="0" x2="-3" y2="0"/>
12
- </g>
13
- <polyline points="-10,-10 -15,-8 -5,-4 -15,0 -5,4 -15,8 -10,10"/>
14
- <path d="M -3 0 L 1 -2.5 L 1 2.5 Z" fill="currentColor" stroke="none"/>
15
- </svg>
@@ -1,20 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-35 -25 70 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: power-amp (LM386 audio power amp, DIP-8)
4
- terminals: gain1 (-30,-20), vin- (-30,-10), vin+ (-30,0), gnd (-30,20), vout (30,0), vs (30,-20), bypass (30,-10), gain8 (30,20)
5
- -->
6
- <g stroke-width="0.95">
7
- <line x1="-30" y1="-20" x2="-20" y2="-20"/>
8
- <line x1="-30" y1="-10" x2="-20" y2="-10"/>
9
- <line x1="-30" y1="0" x2="-20" y2="0"/>
10
- <line x1="-30" y1="20" x2="-20" y2="20"/>
11
- <line x1="20" y1="-20" x2="30" y2="-20"/>
12
- <line x1="20" y1="-10" x2="30" y2="-10"/>
13
- <line x1="20" y1="0" x2="30" y2="0"/>
14
- <line x1="20" y1="20" x2="30" y2="20"/>
15
- </g>
16
- <rect x="-20" y="-22" width="40" height="44" rx="2"/>
17
- <circle cx="-17" cy="-19" r="1.2" fill="currentColor" stroke="none"/>
18
- <text x="0" y="-3" font-size="6" font-family="ui-sans-serif, system-ui, sans-serif" fill="currentColor" stroke="none" text-anchor="middle">LM386</text>
19
- <text x="0" y="7" font-size="3.5" font-family="ui-sans-serif, system-ui, sans-serif" fill="currentColor" stroke="none" text-anchor="middle">power amp</text>
20
- </svg>
@@ -1,11 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: rail (voltage rail / power supply pin)
4
- terminals: t (SVG 0,0)
5
- -->
6
- <g stroke-width="0.95">
7
- <line x1="0" y1="0" x2="0" y2="-11"/>
8
- </g>
9
- <path d="M 0 -16 L -3 -10 L 3 -10 Z" fill="currentColor" stroke="none"/>
10
- <text x="6" y="-9" font-size="7" font-family="ui-sans-serif, system-ui, sans-serif" fill="currentColor" stroke="none">V</text>
11
- </svg>
@@ -1,13 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: regulator (78xx / 79xx 3-terminal linear regulator, TO-92 / TO-220)
4
- terminals: vin (SVG -20,0), gnd (SVG 0,20), vout (SVG 20,0)
5
- -->
6
- <g stroke-width="0.95">
7
- <line x1="-20" y1="0" x2="-10" y2="0"/>
8
- <line x1="10" y1="0" x2="20" y2="0"/>
9
- <line x1="0" y1="10" x2="0" y2="20"/>
10
- </g>
11
- <rect x="-10" y="-10" width="20" height="20" rx="2"/>
12
- <text x="0" y="3" font-size="6" font-family="ui-sans-serif, system-ui, sans-serif" fill="currentColor" stroke="none" text-anchor="middle">REG</text>
13
- </svg>
@@ -1,20 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: relay (electromechanical, SPDT contact)
4
- terminals: coil+ (SVG -20,-10), coil- (SVG -20,10), pole (SVG 20,0), throw1 (SVG 20,-13), throw2 (SVG 20,13)
5
- Coil on the left, contact group on the right, mechanical coupling shown as dashed line.
6
- -->
7
- <g stroke-width="0.95">
8
- <line x1="-20" y1="-10" x2="-12" y2="-10"/>
9
- <line x1="-20" y1="10" x2="-12" y2="10"/>
10
- <line x1="6" y1="0" x2="20" y2="0"/>
11
- <line x1="13" y1="-13" x2="20" y2="-13"/>
12
- <line x1="13" y1="13" x2="20" y2="13"/>
13
- </g>
14
- <path d="M -12 -10 A 3 2.5 0 0 1 -12 -5 A 3 2.5 0 0 1 -12 0 A 3 2.5 0 0 1 -12 5 A 3 2.5 0 0 1 -12 10"/>
15
- <circle cx="6" cy="0" r="1.5"/>
16
- <circle cx="13" cy="-13" r="1.5"/>
17
- <circle cx="13" cy="13" r="1.5"/>
18
- <line x1="6" y1="0" x2="12" y2="-12"/>
19
- <line x1="-9" y1="0" x2="6" y2="0" stroke-dasharray="2 2"/>
20
- </svg>
@@ -1,11 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: resistor
4
- terminals: a (SVG 0,-20), b (SVG 0,20)
5
- -->
6
- <g stroke-width="0.95">
7
- <line x1="0" y1="-20" x2="0" y2="-10"/>
8
- <line x1="0" y1="10" x2="0" y2="20"/>
9
- </g>
10
- <polyline points="0,-10 -5,-8 5,-4 -5,0 5,4 -5,8 0,10"/>
11
- </svg>
@@ -1,32 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: switch (3PDT footswitch — 3 stacked SPDTs ganged together)
4
- terminals: 9 lugs in a 3×3 grid — three columns p1/p2/p3, three rows tNa (top) / pole / tNb (bottom).
5
- Catalog local coords (y flips into SVG): t*a sits at SVG y=-20, pole at y=0, t*b at y=20.
6
- Each lever connects the centre pole to the upper throw; the dashed line shows mechanical gang.
7
- -->
8
- <g stroke-width="0.95">
9
- <line x1="-20" y1="-20" x2="-20" y2="-12"/>
10
- <line x1="0" y1="-20" x2="0" y2="-12"/>
11
- <line x1="20" y1="-20" x2="20" y2="-12"/>
12
- <line x1="-20" y1="-3" x2="-20" y2="3"/>
13
- <line x1="0" y1="-3" x2="0" y2="3"/>
14
- <line x1="20" y1="-3" x2="20" y2="3"/>
15
- <line x1="-20" y1="12" x2="-20" y2="20"/>
16
- <line x1="0" y1="12" x2="0" y2="20"/>
17
- <line x1="20" y1="12" x2="20" y2="20"/>
18
- </g>
19
- <circle cx="-20" cy="-20" r="1.5"/>
20
- <circle cx="0" cy="-20" r="1.5"/>
21
- <circle cx="20" cy="-20" r="1.5"/>
22
- <circle cx="-20" cy="0" r="1.5"/>
23
- <circle cx="0" cy="0" r="1.5"/>
24
- <circle cx="20" cy="0" r="1.5"/>
25
- <circle cx="-20" cy="20" r="1.5"/>
26
- <circle cx="0" cy="20" r="1.5"/>
27
- <circle cx="20" cy="20" r="1.5"/>
28
- <line x1="-20" y1="0" x2="-18" y2="-12"/>
29
- <line x1="0" y1="0" x2="2" y2="-12"/>
30
- <line x1="20" y1="0" x2="22" y2="-12"/>
31
- <line x1="-22" y1="-12" x2="22" y2="-12" stroke-dasharray="2 2"/>
32
- </svg>
@@ -1,23 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: switch (rotary, 6-position example)
4
- terminals: 1 pole + N throws — geometric placeholder (catalog has no rotary terminal map yet)
5
- -->
6
- <g stroke-width="0.95">
7
- <line x1="-20" y1="0" x2="-11" y2="0"/>
8
- <line x1="0" y1="-20" x2="0" y2="-11"/>
9
- <line x1="11" y1="0" x2="20" y2="0"/>
10
- <line x1="0" y1="11" x2="0" y2="20"/>
11
- <line x1="-8" y1="-8" x2="-13" y2="-13"/>
12
- <line x1="8" y1="-8" x2="13" y2="-13"/>
13
- </g>
14
- <circle cx="0" cy="0" r="11"/>
15
- <circle cx="-11" cy="0" r="1.5" fill="currentColor"/>
16
- <circle cx="0" cy="-11" r="1.5" fill="currentColor"/>
17
- <circle cx="11" cy="0" r="1.5" fill="currentColor"/>
18
- <circle cx="-8" cy="-8" r="1.5" fill="currentColor"/>
19
- <circle cx="8" cy="-8" r="1.5" fill="currentColor"/>
20
- <circle cx="0" cy="11" r="1.5" fill="currentColor"/>
21
- <line x1="0" y1="0" x2="0" y2="-9"/>
22
- <path d="M 0 -9 L -2 -5 L 2 -5 Z" fill="currentColor" stroke="none"/>
23
- </svg>
@@ -1,16 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: switch (SPDT — uses BJT_TERMINALS in the catalog)
4
- terminals: pole/base (SVG -20,0), throw1/collector (SVG 0,-20), throw2/emitter (SVG 10,20)
5
- Lever shown selecting the upper throw.
6
- -->
7
- <g stroke-width="0.95">
8
- <line x1="-20" y1="0" x2="-7" y2="0"/>
9
- <line x1="3" y1="-10" x2="0" y2="-20"/>
10
- <line x1="3" y1="10" x2="10" y2="20"/>
11
- </g>
12
- <circle cx="-5" cy="0" r="1.5"/>
13
- <circle cx="3" cy="-10" r="1.5"/>
14
- <circle cx="3" cy="10" r="1.5"/>
15
- <line x1="-5" y1="0" x2="2" y2="-9"/>
16
- </svg>
@@ -1,14 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: switch (SPST)
4
- terminals: a (SVG 0,-20), b (SVG 0,20)
5
- Lever drawn in OPEN position (angled away from lower contact).
6
- -->
7
- <g stroke-width="0.95">
8
- <line x1="0" y1="-20" x2="0" y2="-5"/>
9
- <line x1="0" y1="5" x2="0" y2="20"/>
10
- </g>
11
- <circle cx="0" cy="-5" r="1.5"/>
12
- <circle cx="0" cy="5" r="1.5"/>
13
- <line x1="0" y1="-5" x2="-6" y2="2"/>
14
- </svg>
@@ -1,14 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: switch (toggle — panel-mount, SPST visual with handle indicator)
4
- terminals: a (SVG 0,-20), b (SVG 0,20)
5
- -->
6
- <g stroke-width="0.95">
7
- <line x1="0" y1="-20" x2="0" y2="-5"/>
8
- <line x1="0" y1="5" x2="0" y2="20"/>
9
- </g>
10
- <circle cx="0" cy="-5" r="1.5"/>
11
- <circle cx="0" cy="5" r="1.5"/>
12
- <line x1="0" y1="-5" x2="-6" y2="2"/>
13
- <circle cx="-6" cy="2" r="2.5"/>
14
- </svg>
@@ -1,17 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: transformer
4
- terminals: p+ (SVG -10,-20), p- (SVG -10,20), s+ (SVG 10,-20), s- (SVG 10,20)
5
- Primary on left, secondary on right. Core bars in the middle.
6
- -->
7
- <g stroke-width="0.95">
8
- <line x1="-10" y1="-20" x2="-10" y2="-10"/>
9
- <line x1="-10" y1="10" x2="-10" y2="20"/>
10
- <line x1="10" y1="-20" x2="10" y2="-10"/>
11
- <line x1="10" y1="10" x2="10" y2="20"/>
12
- </g>
13
- <path d="M -10 -10 A 3 2.5 0 0 1 -10 -5 A 3 2.5 0 0 1 -10 0 A 3 2.5 0 0 1 -10 5 A 3 2.5 0 0 1 -10 10"/>
14
- <path d="M 10 -10 A 3 2.5 0 0 0 10 -5 A 3 2.5 0 0 0 10 0 A 3 2.5 0 0 0 10 5 A 3 2.5 0 0 0 10 10"/>
15
- <line x1="-2" y1="-10" x2="-2" y2="10"/>
16
- <line x1="2" y1="-10" x2="2" y2="10"/>
17
- </svg>
@@ -1,17 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: triode
4
- terminals: plate (SVG 0,-20), grid (SVG -20,0), cathode (SVG -10,20)
5
- -->
6
- <g stroke-width="0.95">
7
- <line x1="0" y1="-5" x2="0" y2="-20"/>
8
- <line x1="-20" y1="0" x2="-11" y2="0"/>
9
- <line x1="-4" y1="5" x2="-10" y2="20"/>
10
- </g>
11
- <circle cx="0" cy="0" r="11"/>
12
- <line x1="-5" y1="-5" x2="5" y2="-5"/>
13
- <line x1="-5" y1="0" x2="-3" y2="0"/>
14
- <line x1="-1" y1="0" x2="1" y2="0"/>
15
- <line x1="3" y1="0" x2="5" y2="0"/>
16
- <line x1="-4" y1="5" x2="4" y2="5"/>
17
- </svg>
@@ -1,13 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: tube-diode (rectifier tube — single anode + cathode, no grids)
4
- terminals: anode/plate (SVG 0,-20), cathode (SVG 0,20)
5
- -->
6
- <g stroke-width="0.95">
7
- <line x1="0" y1="-5" x2="0" y2="-20"/>
8
- <line x1="0" y1="5" x2="0" y2="20"/>
9
- </g>
10
- <circle cx="0" cy="0" r="11"/>
11
- <line x1="-5" y1="-5" x2="5" y2="-5"/>
12
- <line x1="-4" y1="5" x2="4" y2="5"/>
13
- </svg>
@@ -1,8 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: unsupported (fallback glyph for source types that have no model mapping yet)
4
- terminals: depends on parser — usually 0 or 1
5
- -->
6
- <circle cx="0" cy="0" r="9" stroke-dasharray="3 2"/>
7
- <text x="0" y="3" font-size="10" font-family="ui-sans-serif, system-ui, sans-serif" fill="currentColor" stroke="none" text-anchor="middle">?</text>
8
- </svg>
@@ -1,13 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: variable-resistor (trimpot)
4
- terminals: a (SVG 0,-20), b (SVG 0,20)
5
- -->
6
- <g stroke-width="0.95">
7
- <line x1="0" y1="-20" x2="0" y2="-10"/>
8
- <line x1="0" y1="10" x2="0" y2="20"/>
9
- </g>
10
- <polyline points="0,-10 -5,-8 5,-4 -5,0 5,4 -5,8 0,10"/>
11
- <line x1="-11" y1="11" x2="11" y2="-11"/>
12
- <path d="M 11 -11 L 6 -8 L 8 -6 Z" fill="currentColor" stroke="none"/>
13
- </svg>
@@ -1,15 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="-25 -25 50 50" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
2
- <!--
3
- kind: voltage-source
4
- terminals: + (SVG 0,-20), - (SVG 0,20)
5
- + marker at top, − marker at bottom inside the circle.
6
- -->
7
- <g stroke-width="0.95">
8
- <line x1="0" y1="-20" x2="0" y2="-9"/>
9
- <line x1="0" y1="9" x2="0" y2="20"/>
10
- </g>
11
- <circle cx="0" cy="0" r="9"/>
12
- <line x1="-2" y1="-4" x2="2" y2="-4"/>
13
- <line x1="0" y1="-6" x2="0" y2="-2"/>
14
- <line x1="-2" y1="4" x2="2" y2="4"/>
15
- </svg>