schematic-symbols 0.0.65 → 0.0.66

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../drawing/defineSymbol.ts","../assets/generated/ac_voltmeter.json","../symbols/ac_voltmeter_horz.ts","../drawing/rotateSymbol.ts","../symbols/ac_voltmeter_vert.ts","../assets/generated/avalanche_diode.json","../symbols/avalanche_diode_horz.ts","../symbols/avalanche_diode_vert.ts","../assets/generated/boxresistor.json","../symbols/boxresistor_horz.ts","../symbols/boxresistor_vert.ts","../assets/generated/capacitor.json","../symbols/capacitor_horz.ts","../symbols/capacitor_vert.ts","../assets/generated/constant_current_diode.json","../symbols/constant_current_diode_horz.ts","../symbols/constant_current_diode_vert.ts","../assets/generated/crystal.json","../symbols/crystal_horz.ts","../symbols/crystal_vert.ts","../assets/generated/dc_ammeter.json","../symbols/dc_ammeter_horz.ts","../symbols/dc_ammeter_vert.ts","../assets/generated/dc_voltmeter.json","../symbols/dc_voltmeter_horz.ts","../symbols/dc_voltmeter_vert.ts","../assets/generated/diac.json","../symbols/diac_horz.ts","../symbols/diac_vert.ts","../assets/generated/diode.json","../symbols/diode_horz.ts","../symbols/diode_vert.ts","../assets/generated/fuse.json","../symbols/fuse_horz.ts","../symbols/fuse_vert.ts","../assets/generated/gunn_diode.json","../symbols/gunn_diode_horz.ts","../symbols/gunn_diode_vert.ts","../assets/generated/igbt_transistor.json","../symbols/igbt_transistor_horz.ts","../symbols/igbt_transistor_vert.ts","../assets/generated/laser_diode.json","../symbols/laser_diode_horz.ts","../symbols/laser_diode_vert.ts","../assets/generated/led.json","../symbols/led_horz.ts","../symbols/led_vert.ts","../assets/generated/mosfet_depletion_normally_on.json","../symbols/mosfet_depletion_normally_on_horz.ts","../symbols/mosfet_depletion_normally_on_vert.ts","../assets/generated/njfet_transistor.json","../symbols/njfet_transistor_horz.ts","../symbols/njfet_transistor_vert.ts","../assets/generated/p_channel_d_mosfet_transistor.json","../symbols/p_channel_d_mosfet_transistor_horz.ts","../symbols/p_channel_d_mosfet_transistor_vert.ts","../assets/generated/photodiode.json","../symbols/photodiode_horz.ts","../symbols/photodiode_vert.ts","../assets/generated/pjfet_transistor.json","../symbols/pjfet_transistor_horz.ts","../symbols/pjfet_transistor_vert.ts","../assets/generated/potentiometer.json","../symbols/potentiometer_horz.ts","../symbols/potentiometer_vert.ts","../assets/generated/potentiometer2.json","../symbols/potentiometer2_horz.ts","../symbols/potentiometer2_vert.ts","../assets/generated/power_factor_meter.json","../symbols/power_factor_meter_horz.ts","../symbols/power_factor_meter_vert.ts","../assets/generated/push_button_normally_closed_momentary.json","../symbols/push_button_normally_closed_momentary_horz.ts","../symbols/push_button_normally_closed_momentary_vert.ts","../assets/generated/push_button_normally_open_momentary.json","../symbols/push_button_normally_open_momentary_horz.ts","../symbols/push_button_normally_open_momentary_vert.ts","../assets/generated/resonator.json","../symbols/resonator_horz.ts","../symbols/resonator_vert.ts","../assets/generated/schottky_diode.json","../symbols/schottky_diode_horz.ts","../symbols/schottky_diode_vert.ts","../assets/generated/silicon_controlled_rectifier.json","../symbols/silicon_controlled_rectifier_horz.ts","../symbols/silicon_controlled_rectifier_vert.ts","../assets/generated/step_recovery_diode.json","../symbols/step_recovery_diode_horz.ts","../symbols/step_recovery_diode_vert.ts","../assets/generated/triac.json","../symbols/triac_horz.ts","../symbols/triac_vert.ts","../assets/generated/tunnel_diode.json","../symbols/tunnel_diode_horz.ts","../symbols/tunnel_diode_vert.ts","../assets/generated/unijunction_transistor.json","../symbols/unijunction_transistor_horz.ts","../symbols/unijunction_transistor_vert.ts","../assets/generated/var_meter.json","../symbols/var_meter_horz.ts","../symbols/var_meter_vert.ts","../assets/generated/varactor_diode.json","../symbols/varactor_diode_horz.ts","../symbols/varactor_diode_vert.ts","../assets/generated/varistor.json","../symbols/varistor_horz.ts","../symbols/varistor_vert.ts","../assets/generated/volt_meter.json","../symbols/volt_meter_horz.ts","../symbols/volt_meter_vert.ts","../assets/generated/zener_diode.json","../symbols/zener_diode_horz.ts","../symbols/zener_diode_vert.ts","../generated/symbols-index.ts","../drawing/mapColor.ts","../drawing/pathToSvgD.ts","../drawing/getSvg.ts","../drawing/resizeSymbol.ts","../index.ts"],"sourcesContent":["import type { SchSymbol } from \"./types\"\n\nexport function defineSymbol(symbol: SchSymbol): SchSymbol {\n return symbol\n}\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5307178,\n \"y\": 0\n },\n {\n \"x\": -0.3042887999999997,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2899773000000003,\n \"y\": 0\n },\n {\n \"x\": 0.5307178000000001,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-5-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09442299999999992,\n \"y\": -0.1322587999999998\n },\n {\n \"x\": -0.004364400000000712,\n \"y\": 0.05922830000000001\n },\n {\n \"x\": -0.1110211000000012,\n \"y\": -0.1322587999999998\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path17\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.0061693999999994364,\n \"y\": 0.1322588\n },\n {\n \"x\": 0.06546170000000107,\n \"y\": 0.10639120000000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path18\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.06546170000000107,\n \"y\": 0.10639120000000002\n },\n {\n \"x\": 0.13709280000000135,\n \"y\": 0.1322588\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path19\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.14943149999999927,\n \"y\": 0.1322588\n },\n {\n \"x\": -0.07780039999999877,\n \"y\": 0.10639120000000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path20\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.0778004000000001,\n \"y\": 0.10639120000000002\n },\n {\n \"x\": -0.006169299999999822,\n \"y\": 0.1322588\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17652089999999898,\n \"y\": -0.3959705999999994\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.009849199999999891,\n \"y\": 0.3983547000000005\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5446330999999993,\n \"y\": 0\n },\n \"right1\": {\n \"x\": 0.5381638000000004,\n \"y\": 0\n }\n },\n \"bounds\": {\n \"minX\": -0.5307178,\n \"maxX\": 0.5307178000000001,\n \"minY\": -0.1322587999999998,\n \"maxY\": 0.1322588,\n \"width\": 1.0614356000000003,\n \"height\": 1,\n \"centerX\": 5.551115123125783e-17,\n \"centerY\": 1.1102230246251565e-16\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0,\n \"y\": 0,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/ac_voltmeter.json\"\n\nconst { paths, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n {\n type: \"text\",\n text: \"{REF}\",\n x: 0,\n y: -0.3594553499999995,\n anchor: \"middle_bottom\",\n },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: 0,\n y: 0.35,\n anchor: \"middle_top\",\n },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotate, applyToPoint } from \"transformation-matrix\"\nimport type {\n SchSymbol,\n Primitive,\n Point,\n Port,\n NinePointAnchor,\n} from \"./types\"\n\nconst rotateAnchor = (anchor: NinePointAnchor): NinePointAnchor => {\n switch (anchor) {\n case \"middle_top\":\n return \"middle_right\"\n case \"middle_bottom\":\n return \"middle_left\"\n }\n return anchor\n}\n\nexport const rotateSymbol = (\n symbol: SchSymbol,\n overrides?: Partial<SchSymbol>,\n): SchSymbol => {\n const transform = rotate(Math.PI / 2, symbol.center.x, symbol.center.y)\n\n const { primitives, center, size, ports } = symbol\n\n const rotatedPrimitives = primitives.map((primitive): Primitive => {\n primitive = { ...primitive }\n switch (primitive.type) {\n case \"path\":\n return {\n ...primitive,\n points: primitive.points.map(\n (point) => applyToPoint(transform, point) as Point,\n ),\n }\n case \"text\":\n const rotatedPoint = applyToPoint(transform, {\n x: primitive.x,\n y: primitive.y,\n }) as Point\n\n primitive.anchor = rotateAnchor(primitive.anchor)\n\n return {\n ...primitive,\n x: rotatedPoint.x,\n y: rotatedPoint.y,\n }\n case \"circle\":\n const rotatedCenter = applyToPoint(transform, {\n x: primitive.x,\n y: primitive.y,\n }) as Point\n return {\n ...primitive,\n x: rotatedCenter.x,\n y: rotatedCenter.y,\n }\n case \"box\":\n const rotatedCorner = applyToPoint(transform, {\n x: primitive.x,\n y: primitive.y,\n }) as Point\n return {\n ...primitive,\n x: rotatedCorner.x,\n y: rotatedCorner.y,\n width: primitive.height,\n height: primitive.width,\n }\n }\n })\n\n const rotatedPorts = ports.map(\n (port): Port => ({\n ...port,\n ...(applyToPoint(transform, port) as Point),\n }),\n )\n\n return {\n primitives: rotatedPrimitives,\n center,\n ports: rotatedPorts,\n // TODO recompute size using overrides\n size: {\n width: size.height,\n height: size.width,\n },\n ...overrides,\n }\n}\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport dc_voltmeter_horz from \"./ac_voltmeter_horz\"\nimport { Primitive } from \"drawing/types\"\n\nconst {\n 2: letter,\n 3: path1,\n 4: path2,\n 5: path3,\n 6: path4,\n ...rest\n} = dc_voltmeter_horz.primitives\n\nfunction isPrimitive(value: any): value is Primitive {\n return typeof value === \"object\"\n}\n\nconst rotatedSymbol = rotateSymbol({\n ...dc_voltmeter_horz,\n primitives: Object.values(rest).filter(isPrimitive),\n})\n\nexport default {\n ...rotatedSymbol,\n primitives: [...rotatedSymbol.primitives, letter, path1, path2, path3, path4],\n}\n","{\n \"paths\": {\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1413337499999996,\n \"y\": -0.00033784999999975085\n },\n {\n \"x\": -0.12324954999999993,\n \"y\": 0.1319538500000006\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999993,\n \"y\": -0.1326295500000001\n },\n {\n \"x\": 0.1413337499999996,\n \"y\": -0.00033784999999975085\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999993,\n \"y\": 0.13195384999999926\n },\n {\n \"x\": -0.12324954999999993,\n \"y\": -0.1326295500000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1413337499999996,\n \"y\": -0.1326295500000001\n },\n {\n \"x\": 0.1413337499999996,\n \"y\": 0.13195384999999926\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12545425,\n \"y\": -0.00033784999999975085\n },\n {\n \"x\": -0.52012455,\n \"y\": -0.00033784999999975085\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5201245499999998,\n \"y\": -0.00025265000000018745\n },\n {\n \"x\": 0.14641644999999937,\n \"y\": -0.00025265000000018745\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1401360499999995,\n \"y\": -0.13311245000000027\n },\n {\n \"x\": 0.07443344999999923,\n \"y\": -0.15673055000000047\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-8-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.20757744999999939,\n \"y\": 0.15673055000000025\n },\n {\n \"x\": 0.1418748499999991,\n \"y\": 0.13311245000000005\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.0082802500000001,\n \"y\": -0.2301468499999999\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0033669500000002017,\n \"y\": 0.31754375\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5224022500000005,\n \"y\": -0.0012222500000007575\n },\n \"right1\": {\n \"x\": 0.5158919499999994,\n \"y\": -0.00019764999999982713\n }\n },\n \"bounds\": {\n \"minX\": -0.52012455,\n \"maxX\": 0.5201245499999998,\n \"minY\": -0.15673055000000047,\n \"maxY\": 0.15673055000000025,\n \"width\": 1.0402490999999998,\n \"height\": 1,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": -1.1102230246251565e-16\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/avalanche_diode.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport avalanche_diode_horz from \"./avalanche_diode_horz\"\n\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(avalanche_diode_horz)\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_left\"\nval.anchor = \"middle_right\"\n\nexport default rotated\n","{\n \"paths\": {\n \"path1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5291666499999996,\n \"y\": 0\n },\n {\n \"x\": -0.2645833500000001,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2645832500000007,\n \"y\": 0\n },\n {\n \"x\": 0.5291666500000001,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -1.4999999997655777e-7,\n \"y\": -0.13229169999999968\n },\n {\n \"x\": 0.26458314999999955,\n \"y\": -0.13229169999999968\n },\n {\n \"x\": 0.26458314999999955,\n \"y\": 0.13229169999999968\n },\n {\n \"x\": -0.2645835500000011,\n \"y\": 0.13229169999999968\n },\n {\n \"x\": -0.2645835500000011,\n \"y\": -0.13229169999999968\n },\n {\n \"x\": -1.5000000175291461e-7,\n \"y\": -0.13229169999999968\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.018740649999999803,\n \"y\": -0.20383659999999892\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.01777865000000034,\n \"y\": 0.2961594000000023\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5511065500000007,\n \"y\": 0.0003562000000023602\n },\n \"right1\": {\n \"x\": 0.5164748499999998,\n \"y\": 0.0009027000000010332\n }\n },\n \"bounds\": {\n \"minX\": -0.5291666499999996,\n \"maxX\": 0.5291666500000001,\n \"minY\": -0.13229169999999968,\n \"maxY\": 0.13229169999999968,\n \"width\": 1.0583332999999997,\n \"height\": 1,\n \"centerX\": 2.220446049250313e-16,\n \"centerY\": 0\n },\n \"circles\": {}\n}","import svgJson from \"assets/generated/boxresistor.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] },\n { ...refblocks.right1, labels: [\"2\"] },\n ],\n size: { width: bounds.width, height: bounds.height }, //{ width: 1, height: 0.24 },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport boxresistor_horz from \"./boxresistor_horz\"\n\nexport default rotateSymbol(boxresistor_horz)\n","{\n \"paths\": {\n \"path27\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5291666500000001,\n \"y\": 0\n },\n {\n \"x\": 0.07937504999999989,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path28\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.07937494999999961,\n \"y\": 0\n },\n {\n \"x\": -0.5291666500000001,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07937504999999989,\n \"y\": -0.26458330000000174\n },\n {\n \"x\": 0.07937504999999989,\n \"y\": 0.2645832999999982\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path30\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.07937495000000006,\n \"y\": -0.26458330000000174\n },\n {\n \"x\": -0.07937494999999961,\n \"y\": 0.2645832999999982\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0,\n \"y\": -0.36\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0,\n \"y\": 0.36\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5449804500000004,\n \"y\": 0.0009026999999974805\n },\n \"right1\": {\n \"x\": 0.5574381499999999,\n \"y\": 0.00035619999999880747\n }\n },\n \"bounds\": {\n \"minX\": -0.5291666500000001,\n \"maxX\": 0.5291666500000001,\n \"minY\": -0.26458330000000174,\n \"maxY\": 0.2645832999999982,\n \"width\": 1.0583333000000001,\n \"height\": 0.5291665999999999,\n \"centerX\": 0,\n \"centerY\": -1.7763568394002505e-15\n }\n}","import svgJson from \"assets/generated/capacitor.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\n\nconst { paths, bounds, refblocks, texts } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] },\n { ...refblocks.right1, labels: [\"2\"] },\n ],\n size: { width: bounds.width, height: bounds.height }, //{ width: 1, height: 0.24 },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport capacitor_horz from \"./capacitor_horz\"\n\nexport default rotateSymbol(capacitor_horz)\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5307178,\n \"y\": 0\n },\n {\n \"x\": -0.3042887999999997,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2899773000000003,\n \"y\": 0\n },\n {\n \"x\": 0.5307178000000001,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2899773000000003,\n \"y\": -0.2633966000000001\n },\n {\n \"x\": 0.2899773000000003,\n \"y\": 0.2633966000000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17652089999999898,\n \"y\": -0.36197569999999946\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.009849199999999891,\n \"y\": 0.43234960000000044\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5446330999999993,\n \"y\": 0.000852800000000542\n },\n \"right1\": {\n \"x\": 0.5381638000000004,\n \"y\": -0.00014359999999924433\n }\n },\n \"bounds\": {\n \"minX\": -0.5307178,\n \"maxX\": 0.5307178000000001,\n \"minY\": -0.2633966000000001,\n \"maxY\": 0.2633966000000001,\n \"width\": 1.0614356000000003,\n \"height\": 1,\n \"centerX\": 5.551115123125783e-17,\n \"centerY\": 0\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.006997299999999651,\n \"y\": -0.007128299999999532,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/constant_current_diode.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_left\", x: -0.15, y: -0.4 },\n { ...texts.bottom1, anchor: \"middle_left\", x: -0.15 },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport constant_current_diode_horz from \"./constant_current_diode_horz\"\n\nconst rotatedSymbol = rotateSymbol(constant_current_diode_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")!\n\nconst val = texts.find((t) => t.text === \"{VAL}\")!\n\nval.x = -0.35\nval.y = 0\nval.anchor = \"middle_right\"\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.y = 0\nref.x = 0.35\nref.anchor = \"middle_left\"\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path27\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5229378000000002,\n \"y\": -0.012283099999995883\n },\n {\n \"x\": 0.13246630000000037,\n \"y\": -0.012283099999995883\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path28\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.14263049999999966,\n \"y\": -0.012283099999995883\n },\n {\n \"x\": -0.5353954999999999,\n \"y\": -0.012283099999995883\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12606289999999998,\n \"y\": -0.2768663999999976\n },\n {\n \"x\": 0.12606290000000042,\n \"y\": 0.2523002000000023\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07263109999999973,\n \"y\": -0.27614569999999716\n },\n {\n \"x\": 0.07263110000000017,\n \"y\": 0.253020900000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path30\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13852050000000027,\n \"y\": -0.2768663999999976\n },\n {\n \"x\": -0.13852049999999982,\n \"y\": 0.2523002000000023\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.08244070000000026,\n \"y\": -0.27777869999999893\n },\n {\n \"x\": -0.08244069999999981,\n \"y\": 0.2513879000000028\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-2-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07253150000000019,\n \"y\": -0.27761959999999597\n },\n {\n \"x\": -0.08185069999999994,\n \"y\": -0.27761959999999597\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-2-7-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.0721257000000004,\n \"y\": 0.255806800000002\n },\n {\n \"x\": -0.08225649999999973,\n \"y\": 0.255806800000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.012864500000000056,\n \"y\": -0.4150086999999978\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.003850500000000423,\n \"y\": 0.4250087000000011\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5512093000000002,\n \"y\": -0.011380399999998403\n },\n \"right1\": {\n \"x\": 0.5512093,\n \"y\": -0.011926899999997076\n }\n },\n \"bounds\": {\n \"minX\": -0.5793677410000002,\n \"maxX\": 0.579367741,\n \"minY\": -0.5150086999999978,\n \"maxY\": 0.4250087000000011,\n \"width\": 1.1587354820000002,\n \"height\": 1,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": -0.04499999999999832\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/crystal.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n // { ...texts.top1, anchor: \"middle_left\" },\n // { ...texts.bottom1, anchor: \"middle_left\" },\n {\n type: \"text\",\n text: \"{REF}\",\n x: -0.012864500000000056,\n y: -0.4150086999999978,\n anchor: \"middle_bottom\",\n },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: -0.003850500000000423,\n y: 0.4250087000000011,\n anchor: \"middle_top\",\n },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport crystal_horz from \"./crystal_horz\"\n\nconst rotatedSymbol = rotateSymbol(crystal_horz)\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")\nconst ref = texts.find((t) => t.text === \"{REF}\")!\nconst val = texts.find((t) => t.text === \"{VAL}\")!\nval.x = -0.4\nref.x = 0.35\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5307178,\n \"y\": 0\n },\n {\n \"x\": -0.3042887999999997,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2899773000000003,\n \"y\": 0\n },\n {\n \"x\": 0.5307178000000001,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12447409999999959,\n \"y\": 0.0852510999999998\n },\n {\n \"x\": 0.11626639999999999,\n \"y\": 0.0852510999999998\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17652089999999898,\n \"y\": -0.4472267999999995\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.009849199999999891,\n \"y\": 0.3470985000000004\n },\n \"left1\": {\n \"type\": \"text\",\n \"text\": \"A\",\n \"x\": 0,\n \"y\": -0.1\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5446330999999993,\n \"y\": 0\n },\n \"right1\": {\n \"x\": 0.5381638000000004,\n \"y\": 0\n }\n },\n \"bounds\": {\n \"minX\": -0.5307178,\n \"maxX\": 0.5307178000000001,\n \"minY\": -0.08525110000000002,\n \"maxY\": 0.0852510999999998,\n \"width\": 1.0614356000000003,\n \"height\": 1,\n \"centerX\": 5.551115123125783e-17,\n \"centerY\": -1.1102230246251565e-16\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0,\n \"y\": 0,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/dc_ammeter.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n {\n type: \"text\",\n text: \"{REF}\",\n x: 0,\n y: -0.3594553499999995,\n anchor: \"middle_bottom\",\n },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: 0,\n y: 0.35,\n anchor: \"middle_top\",\n },\n { ...texts.left1, anchor: \"center\", fontSize: 0.3 },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport dc_ammeter_horz from \"./dc_ammeter_horz\"\nimport { PathPrimitive, Primitive, TextPrimitive } from \"drawing/types\"\n\nfunction isPathPrimitive(value: any): value is PathPrimitive {\n return (\n typeof value === \"object\" &&\n value !== null &&\n value.type === \"path\" &&\n Array.isArray(value.points) &&\n typeof value.color === \"string\"\n )\n}\n\nfunction isTextPrimitive(value: any): value is TextPrimitive {\n return (\n typeof value === \"object\" &&\n value !== null &&\n value.type === \"text\" &&\n typeof value.text === \"string\" &&\n typeof value.x === \"number\" &&\n typeof value.y === \"number\" &&\n typeof value.anchor === \"string\"\n )\n}\n\nconst { 6: letter, 2: underline, ...rest } = dc_ammeter_horz.primitives\n\nif (isPathPrimitive(underline)) {\n underline.points.map((p) => {\n p.y += 0.05\n })\n}\n\nif (isTextPrimitive(letter)) {\n letter.y += 0.025\n}\n\nfunction isPrimitive(value: any): value is Primitive {\n return typeof value === \"object\"\n}\n\nconst rotatedSymbol = rotateSymbol({\n ...dc_ammeter_horz,\n primitives: Object.values(rest).filter(isPrimitive),\n})\n\nexport default {\n ...rotatedSymbol,\n primitives: [...rotatedSymbol.primitives, letter, underline],\n}\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5307178,\n \"y\": 0\n },\n {\n \"x\": -0.3042887999999997,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2899773000000003,\n \"y\": 0\n },\n {\n \"x\": 0.5307178000000001,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-5-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09442299999999992,\n \"y\": -0.13438304999999984\n },\n {\n \"x\": -0.004364400000000712,\n \"y\": 0.05710404999999996\n },\n {\n \"x\": -0.1110211000000012,\n \"y\": -0.13438304999999984\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12447409999999959,\n \"y\": 0.13438304999999984\n },\n {\n \"x\": 0.11626639999999999,\n \"y\": 0.13438304999999984\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17652089999999898,\n \"y\": -0.39809484999999944\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.009849199999999891,\n \"y\": 0.39623045000000046\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5446330999999993,\n \"y\": 0\n },\n \"right1\": {\n \"x\": 0.5381638000000004,\n \"y\": 0\n }\n },\n \"bounds\": {\n \"minX\": -0.5307178,\n \"maxX\": 0.5307178000000001,\n \"minY\": -0.13438304999999984,\n \"maxY\": 0.13438304999999984,\n \"width\": 1.0614356000000003,\n \"height\": 1,\n \"centerX\": 0,\n \"centerY\": 0\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0,\n \"y\": 0,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/dc_voltmeter.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n {\n type: \"text\",\n text: \"{REF}\",\n x: 0,\n y: -0.3594553499999995,\n anchor: \"middle_bottom\",\n },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: 0,\n y: 0.35,\n anchor: \"middle_top\",\n },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport dc_voltmeter_horz from \"./dc_voltmeter_horz\"\nimport { Primitive } from \"drawing/types\"\n\nconst { 2: letter, 3: underline, ...rest } = dc_voltmeter_horz.primitives\n\nfunction isPrimitive(value: any): value is Primitive {\n return typeof value === \"object\"\n}\n\nconst rotatedSymbol = rotateSymbol({\n ...dc_voltmeter_horz,\n primitives: Object.values(rest).filter(isPrimitive),\n})\n\nexport default {\n ...rotatedSymbol,\n primitives: [...rotatedSymbol.primitives, letter, underline],\n}\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5211797499999996,\n \"y\": 0.014620850000000019\n },\n {\n \"x\": -0.11239775000000019,\n \"y\": 0.014620850000000019\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09960874999999936,\n \"y\": 0.014620850000000019\n },\n {\n \"x\": 0.5211797499999995,\n \"y\": 0.014620850000000019\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.09694955000000016,\n \"y\": 0.20257224999999934\n },\n {\n \"x\": -0.09660955000000016,\n \"y\": -0.20197465000000037\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.08168064999999913,\n \"y\": 0.20139974999999954\n },\n {\n \"x\": 0.08202064999999914,\n \"y\": -0.20314715000000017\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.08666725000000008,\n \"y\": 0.0004314499999999999\n },\n {\n \"x\": -0.08766725000000042,\n \"y\": 0.20314715000000017\n },\n {\n \"x\": 0.08302554999999989,\n \"y\": 0.10741255000000005\n },\n {\n \"x\": -0.0847714500000003,\n \"y\": -0.00011124999999978513\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path11-0-9-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07310254999999932,\n \"y\": -0.20028855000000045\n },\n {\n \"x\": 0.07410254999999988,\n \"y\": 0.002427049999999431\n },\n {\n \"x\": -0.09659025000000065,\n \"y\": -0.09330755000000068\n },\n {\n \"x\": 0.07120674999999954,\n \"y\": -0.2008312500000009\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0,\n \"y\": -0.46047024999999944\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0,\n \"y\": 0.4732020500000005\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5449081499999999,\n \"y\": 0.015473850000000011\n },\n \"right1\": {\n \"x\": 0.5378887499999996,\n \"y\": 0.014477450000000447\n }\n },\n \"bounds\": {\n \"minX\": -0.5211797499999996,\n \"maxX\": 0.5211797499999995,\n \"minY\": -0.20314715000000017,\n \"maxY\": 0.20314715000000017,\n \"width\": 1.042359499999999,\n \"height\": 1,\n \"centerX\": -5.551115123125783e-17,\n \"centerY\": 0\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.0072723500000002606,\n \"y\": 0.007492750000000159,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}\n","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/diac.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport diac_horz from \"./diac_horz\"\nimport { text } from \"drawing/text\"\n\nconst rotatedSymbol = rotateSymbol(diac_horz)\n\nconst texts = rotatedSymbol.primitives.filter(\n (primitive) => primitive.type === \"text\",\n)\n\nconst ref = texts.find((text) => text.text === \"{REF}\")!\nconst val = texts.find((text) => text.text === \"{VAL}\")!\n\nref.y = 0\nval.y = 0\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1413337499999998,\n \"y\": 0\n },\n {\n \"x\": -0.12324954999999971,\n \"y\": 0.13229169999999968\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999971,\n \"y\": -0.13229170000000323\n },\n {\n \"x\": 0.1413337499999998,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999971,\n \"y\": 0.13229169999999613\n },\n {\n \"x\": -0.12324954999999971,\n \"y\": -0.13229170000000323\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1413337499999998,\n \"y\": -0.13229170000000323\n },\n {\n \"x\": 0.1413337499999998,\n \"y\": 0.13229169999999613\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12545424999999977,\n \"y\": 0\n },\n {\n \"x\": -0.5201245499999998,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5201245499999998,\n \"y\": 0.00008519999999734296\n },\n {\n \"x\": 0.1464164499999998,\n \"y\": 0.00008519999999734296\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.008280249999999878,\n \"y\": -0.22980899999999949\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0033669500000002017,\n \"y\": 0.22788159999999976\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5224022500000003,\n \"y\": -0.0008844000000003405\n },\n \"right1\": {\n \"x\": 0.5158919499999999,\n \"y\": 0.00014019999999703714\n }\n },\n \"bounds\": {\n \"minX\": -0.5201245499999998,\n \"maxX\": 0.5201245499999998,\n \"minY\": -0.13229170000000323,\n \"maxY\": 0.13229169999999968,\n \"width\": 1.0402490999999996,\n \"height\": 0.2645834000000029,\n \"centerX\": 0,\n \"centerY\": -1.7763568394002505e-15\n }\n}","import svgJson from \"assets/generated/diode.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport diode_horz from \"./diode_horz\"\n\nexport default rotateSymbol(diode_horz)\n","{\n \"paths\": {\n \"path10\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.529167000000001,\n \"y\": 0\n },\n {\n \"x\": 0.5291669999999993,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path14\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.000001999999998503199,\n \"y\": -0.13229169999999968\n },\n {\n \"x\": 0.2645849999999985,\n \"y\": -0.13229169999999968\n },\n {\n \"x\": 0.2645849999999985,\n \"y\": 0.13229169999999968\n },\n {\n \"x\": -0.26458200000000076,\n \"y\": 0.13229169999999968\n },\n {\n \"x\": -0.26458200000000076,\n \"y\": -0.13229169999999968\n },\n {\n \"x\": 0.000001999999998503199,\n \"y\": -0.13229169999999968\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.00912720000000089,\n \"y\": -0.1995035999999999\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.17251720000000148,\n \"y\": 0.27233090000000004\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5354181000000011,\n \"y\": -0.0030468999999992974\n },\n \"right1\": {\n \"x\": 0.5336915999999992,\n \"y\": 0.0011575000000014768\n }\n },\n \"bounds\": {\n \"minX\": -0.529167000000001,\n \"maxX\": 0.5291669999999993,\n \"minY\": -0.13229169999999968,\n \"maxY\": 0.13229169999999968,\n \"width\": 1.0583340000000003,\n \"height\": 0.26458339999999936,\n \"centerX\": -8.881784197001252e-16,\n \"centerY\": 0\n }\n}","import svgJson from \"assets/generated/fuse.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.top1, anchor: \"middle_bottom\" },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: 0,\n y: 0.2,\n anchor: \"middle_top\",\n },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport fuse_horz from \"./fuse_horz\"\n\nexport default rotateSymbol(fuse_horz)\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.49895505000000084,\n \"y\": -0.036744850000000495\n },\n {\n \"x\": -0.177441850000001,\n \"y\": -0.036744850000000495\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.18704774999999918,\n \"y\": -0.044614150000000574\n },\n {\n \"x\": 0.5063384499999999,\n \"y\": -0.044614150000000574\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3067105499999998,\n \"y\": -0.19992595000000035\n },\n {\n \"x\": -0.3084575500000002,\n \"y\": 0.10413894999999984\n },\n {\n \"x\": -0.01040014999999972,\n \"y\": -0.03945905000000027\n },\n {\n \"x\": -0.3034011499999991,\n \"y\": -0.20073985000000039\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path11-0-9-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3324594500000002,\n \"y\": -0.20076375000000035\n },\n {\n \"x\": 0.33420945000000013,\n \"y\": 0.10330114999999984\n },\n {\n \"x\": 0.03615254999999973,\n \"y\": -0.04029685000000027\n },\n {\n \"x\": 0.32915344999999974,\n \"y\": -0.20157765000000039\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.11729224999999999,\n \"y\": -0.37773544999999986\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.030109249999999532,\n \"y\": 0.38773544999999987\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5177904499999998,\n \"y\": -0.03589204999999995\n },\n \"right1\": {\n \"x\": 0.5177904499999997,\n \"y\": -0.04475774999999982\n }\n },\n \"bounds\": {\n \"minX\": -0.5459488909999998,\n \"maxX\": 0.5459488909999997,\n \"minY\": -0.47773544999999984,\n \"maxY\": 0.38773544999999987,\n \"width\": 1.0918977819999993,\n \"height\": 1,\n \"centerX\": -5.551115123125783e-17,\n \"centerY\": -0.044999999999999984\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/gunn_diode.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_left\" },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: -0.11,\n y: 0.38773544999999987,\n },\n // { ...texts.bottom1, anchor: \"middle_left\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport gunn_diode_horz from \"./gunn_diode_horz\"\n\nconst rotatedSymbol = rotateSymbol(gunn_diode_horz)\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")\nconst ref = texts.find((t) => t.text === \"{REF}\")!\nconst val = texts.find((t) => t.text === \"{VAL}\")!\nref.x = 0.25\nref.y = -0.045\nval.x = -0.55\nval.y = 0\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.33466555000000053,\n \"y\": -0.0037939000000000167\n },\n {\n \"x\": 0.04390385000000019,\n \"y\": -0.0011709000000001968\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12457955000000065,\n \"y\": -0.19306540000000028\n },\n {\n \"x\": 0.123649550000001,\n \"y\": 0.1750840999999994\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.06045334999999952,\n \"y\": 0.1174366\n },\n {\n \"x\": 0.06045334999999952,\n \"y\": -0.14714680000000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.33417885,\n \"y\": 0.2434666000000001\n },\n {\n \"x\": 0.33357884999999987,\n \"y\": 0.5397975000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3346655500000004,\n \"y\": -0.5397975000000003\n },\n {\n \"x\": 0.33406555000000027,\n \"y\": -0.2706031000000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path15\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2236118499999995,\n \"y\": 0.21260169999999978\n },\n {\n \"x\": 0.32845994999999917,\n \"y\": 0.22765899999999983\n },\n {\n \"x\": 0.2828999499999987,\n \"y\": 0.13876569999999977\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path17\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12747495000000053,\n \"y\": 0.08265219999999984\n },\n {\n \"x\": 0.2829977500000005,\n \"y\": 0.19494979999999984\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1246791499999993,\n \"y\": -0.11535130000000038\n },\n {\n \"x\": 0.3341235499999988,\n \"y\": -0.2634207000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.10113134999999929,\n \"y\": -0.3683925999999993\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.08975225000000009,\n \"y\": 0.4174267000000007\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.3348183499999997,\n \"y\": -0.5593924999999992\n },\n \"bottom1\": {\n \"x\": 0.3327607500000005,\n \"y\": 0.5538097000000006\n },\n \"left1\": {\n \"x\": -0.34858084999999983,\n \"y\": -0.0029410999999994747\n }\n },\n \"bounds\": {\n \"minX\": -0.33466555000000053,\n \"maxX\": 0.3346655500000004,\n \"minY\": -0.5397975000000003,\n \"maxY\": 0.5397975000000004,\n \"width\": 1,\n \"height\": 1.0795950000000007,\n \"centerX\": -5.551115123125783e-17,\n \"centerY\": 5.551115123125783e-17\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0.18905494999999983,\n \"y\": -0.010922199999999549,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/igbt_transistor.json\"\nimport { TextPrimitive } from \"drawing/types\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n {\n type: \"text\",\n text: \"{REF}\",\n x: 0,\n y: -0.4,\n anchor: \"middle_right\",\n } as TextPrimitive,\n {\n type: \"text\",\n text: \"{VAL}\",\n x: 0,\n y: 0.4,\n anchor: \"middle_right\",\n } as TextPrimitive,\n ] as any,\n ports: [\n { ...refblocks.top1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.bottom1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n { ...refblocks.left1, labels: [\"3\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX + 0.06, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport igbt_transistor_horz from \"./igbt_transistor_horz\"\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(igbt_transistor_horz)\n\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_left\"\nval.anchor = \"middle_right\"\n\nref.x = 0.45\nref.y += 0.065\nval.y += 0.065\n\nexport default rotated\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5307178000000008,\n \"y\": 0.2023617000000002\n },\n {\n \"x\": -0.15214840000000018,\n \"y\": 0.20498470000000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1289840999999996,\n \"y\": 0.19130049999999987\n },\n {\n \"x\": -0.13559890000000085,\n \"y\": 0.32359219999999955\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13559890000000085,\n \"y\": 0.059008800000000194\n },\n {\n \"x\": 0.1289840999999996,\n \"y\": 0.19130049999999987\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13559890000000085,\n \"y\": 0.3235922000000002\n },\n {\n \"x\": -0.13559890000000085,\n \"y\": 0.059008800000000194\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1289840999999996,\n \"y\": 0.059008800000000194\n },\n {\n \"x\": 0.1289840999999996,\n \"y\": 0.3235922000000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13259069999999995,\n \"y\": 0.1918692999999998\n },\n {\n \"x\": 0.5307178000000008,\n \"y\": 0.20236169999999953\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25-0-9-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.03268000000000071,\n \"y\": -0.25134120000000015\n },\n {\n \"x\": -0.05649420000000016,\n \"y\": -0.3235922000000002\n },\n {\n \"x\": -0.08048579999999972,\n \"y\": -0.2514182000000005\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78-6-5-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.05685430000000058,\n \"y\": -0.13143119999999997\n },\n {\n \"x\": -0.056826700000000674,\n \"y\": -0.14405819999999991\n },\n {\n \"x\": -0.056536700000000994,\n \"y\": -0.2719202000000003\n },\n {\n \"x\": -0.056346700000000416,\n \"y\": -0.2728202000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25-0-9-8-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.06541730000000001,\n \"y\": -0.25134120000000015\n },\n {\n \"x\": 0.04160310000000034,\n \"y\": -0.3235922000000002\n },\n {\n \"x\": 0.017611500000001,\n \"y\": -0.2514182000000005\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78-6-5-5-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.04124299999999992,\n \"y\": -0.13143119999999997\n },\n {\n \"x\": 0.041270600000000046,\n \"y\": -0.14405819999999991\n },\n {\n \"x\": 0.041560599999999726,\n \"y\": -0.2719202000000003\n },\n {\n \"x\": 0.041750600000000304,\n \"y\": -0.2728202000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.028013799999999422,\n \"y\": 0.08349260000000025\n },\n {\n \"x\": 0.028013799999999422,\n \"y\": 0.30697360000000073\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.18325689999999928,\n \"y\": -0.23713399999999885\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.00984920000000078,\n \"y\": 0.6347113000000009\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5446331000000002,\n \"y\": 0.20321450000000074\n },\n \"right1\": {\n \"x\": 0.5381637999999993,\n \"y\": 0.20221810000000118\n }\n },\n \"bounds\": {\n \"minX\": -0.5307178000000008,\n \"maxX\": 0.5307178000000008,\n \"minY\": -0.3235922000000002,\n \"maxY\": 0.3235922000000002,\n \"width\": 1.0614356000000016,\n \"height\": 1,\n \"centerX\": 0,\n \"centerY\": 0\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.006997300000000539,\n \"y\": 0.1952334000000009,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/laser_diode.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_left\" },\n { ...texts.bottom1, anchor: \"middle_bottom\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport laser_diode_horz from \"./laser_diode_horz\"\n\nconst rotatedSymbol = rotateSymbol(laser_diode_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")\n\nconst ref = texts.find((t) => t.text === \"{VAL}\")!\n\nref.x = -0.52\nref.anchor = \"middle_right\"\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path45\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13537969999999966,\n \"y\": 0.09743664999999524\n },\n {\n \"x\": -0.1292036000000003,\n \"y\": 0.22972834999999847\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path1-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12715889999999996,\n \"y\": 0.09766044999999579\n },\n {\n \"x\": 0.5260786,\n \"y\": 0.09766044999999579\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path46\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1292036000000003,\n \"y\": -0.03485505000000444\n },\n {\n \"x\": 0.13537969999999966,\n \"y\": 0.09743664999999524\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path47\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1292036000000003,\n \"y\": 0.22972834999999847\n },\n {\n \"x\": -0.1292036000000003,\n \"y\": -0.03485505000000444\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path48\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13537969999999966,\n \"y\": -0.03485505000000444\n },\n {\n \"x\": 0.13537969999999966,\n \"y\": 0.22972834999999847\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path49\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13124740000000035,\n \"y\": 0.09743664999999524\n },\n {\n \"x\": -0.5260786000000004,\n \"y\": 0.09743664999999524\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.15622170000000057,\n \"y\": -0.19171255000000187\n },\n {\n \"x\": -0.25356400000000034,\n \"y\": -0.20859175000000363\n },\n {\n \"x\": -0.2192612000000005,\n \"y\": -0.11582895000000448\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.08048230000000034,\n \"y\": -0.07216775000000197\n },\n {\n \"x\": -0.09250580000000008,\n \"y\": -0.0811007500000045\n },\n {\n \"x\": -0.21426230000000057,\n \"y\": -0.17155655000000536\n },\n {\n \"x\": -0.21489230000000026,\n \"y\": -0.17250655000000492\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.021244599999999725,\n \"y\": -0.21284915000000026\n },\n {\n \"x\": -0.07609770000000049,\n \"y\": -0.22972835000000202\n },\n {\n \"x\": -0.04179490000000019,\n \"y\": -0.13696555000000288\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09698399999999996,\n \"y\": -0.09330435000000037\n },\n {\n \"x\": 0.08496049999999977,\n \"y\": -0.10223735000000289\n },\n {\n \"x\": -0.03679600000000027,\n \"y\": -0.19269315000000375\n },\n {\n \"x\": -0.0374260000000004,\n \"y\": -0.19364315000000332\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.130039500000000423,\n \"y\": 0.3072088499999944\n },\n \"right1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.15,\n \"y\": -0.1\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5366871000000006,\n \"y\": 0.09817314999999738\n },\n \"right1\": {\n \"x\": 0.5357314999999994,\n \"y\": 0.09862664999999993\n }\n },\n \"bounds\": {\n \"minX\": -0.5260786000000004,\n \"maxX\": 0.5260786,\n \"minY\": -0.22972835000000202,\n \"maxY\": 0.22972834999999847,\n \"width\": 1.0521572000000003,\n \"height\": 0.4594567000000005,\n \"centerX\": -2.220446049250313e-16,\n \"centerY\": -1.7763568394002505e-15\n }\n}","import svgJson from \"assets/generated/led.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.bottom1, anchor: \"middle_right\" },\n { ...texts.right1, anchor: \"middle_left\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\", \"anode\", \"pos\"] },\n { ...refblocks.right1, labels: [\"2\", \"cathode\", \"neg\"] },\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY + 0.1 },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport led_horz from \"./led_horz\"\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(led_horz)\n\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_left\"\nval.anchor = \"middle_right\"\n\nref.x += 0.1\nref.y += 0.017\nval.y = ref.y\nval.x = -0.3\n\nexport default rotated\n","{\n \"paths\": {\n \"path208\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.39687494999999995,\n \"y\": -0.13228999999999935\n },\n {\n \"x\": 0.5291666500000005,\n \"y\": 0.13229300000000066\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path209\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.26458325000000027,\n \"y\": 0.13229300000000066\n },\n {\n \"x\": 0.39687494999999995,\n \"y\": -0.13228999999999935\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path210\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5291666500000005,\n \"y\": 0.13229300000000066\n },\n {\n \"x\": 0.26458325000000027,\n \"y\": 0.13229300000000066\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path211\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.26458325000000027,\n \"y\": -0.13228999999999935\n },\n {\n \"x\": 0.5291666500000005,\n \"y\": -0.13228999999999935\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path212\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13229165000000087,\n \"y\": 0.39687499999999964\n },\n {\n \"x\": 0.39687494999999995,\n \"y\": 0.39687499999999964\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path213\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.39687494999999995,\n \"y\": -0.3968740000000004\n },\n {\n \"x\": 0.13229165000000087,\n \"y\": -0.3968740000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path214\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13229165000000087,\n \"y\": -0.529166\n },\n {\n \"x\": 0.13229165000000087,\n \"y\": -0.1852090000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path215\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13229165000000087,\n \"y\": 0.529166\n },\n {\n \"x\": 0.13229165000000087,\n \"y\": -9.999999992515995e-7\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path216\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.39687494999999995,\n \"y\": 0.39687563000000026\n },\n {\n \"x\": 0.39687494999999995,\n \"y\": -0.3968746999999997\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path217\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13229164999999998,\n \"y\": -0.2645850000000003\n },\n {\n \"x\": -0.13229164999999998,\n \"y\": 0.26458099999999973\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path218\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.21166664999999885,\n \"y\": 0.264581999999999\n },\n {\n \"x\": -0.21166664999999885,\n \"y\": -0.26458399999999926\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path219\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5291666499999996,\n \"y\": 0.26458099999999973\n },\n {\n \"x\": -0.21166664999999885,\n \"y\": 0.264583\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path220\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13229164999999998,\n \"y\": 0.18520600000000087\n },\n {\n \"x\": 0.13229175000000026,\n \"y\": 0.18520600000000087\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path221\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13229164999999998,\n \"y\": -0.18520999999999965\n },\n {\n \"x\": 0.13229175000000026,\n \"y\": -0.18520999999999965\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path222\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.05291665000000023,\n \"y\": -9.999999992515995e-7\n },\n {\n \"x\": 0.13229165000000087,\n \"y\": -9.999999992515995e-7\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"right1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.5827374500000007,\n \"y\": -0.20929270999999972\n },\n \"right2\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.58412285,\n \"y\": -0.021192649999999702\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.13275345000000005,\n \"y\": -0.5440228900000008\n },\n \"bottom1\": {\n \"x\": 0.13239525000000096,\n \"y\": 0.54252477\n },\n \"left1\": {\n \"x\": -0.5308188500000002,\n \"y\": 0.26564980000000027\n }\n },\n \"bounds\": {\n \"minX\": -0.5291666499999996,\n \"maxX\": 0.5291666500000005,\n \"minY\": -0.529166,\n \"maxY\": 0.529166,\n \"width\": 1.0583333000000001,\n \"height\": 1.058332,\n \"centerX\": 4.440892098500626e-16,\n \"centerY\": 0\n }\n}","import svgJson from \"assets/generated/mosfet_depletion_normally_on.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.right1, anchor: \"middle_left\" },\n { ...texts.right2, anchor: \"middle_left\" },\n ] as any,\n ports: [\n { ...refblocks.top1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.bottom1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n { ...refblocks.left1, labels: [\"3\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width + 0.4, height: bounds.height },\n center: { x: bounds.centerX + 0.2, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport mosfet_depletion_normally_on_horz from \"./mosfet_depletion_normally_on_horz\"\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(mosfet_depletion_normally_on_horz)\n\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_top\"\nval.anchor = \"middle_top\"\n\nref.x = val.x\n\nval.y += 0.15\n\nexport default rotated\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.38509374449999945,\n \"y\": 0.00367374999999992\n },\n {\n \"x\": 0.05876225550000025,\n \"y\": 0.00629674999999974\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07415065550000066,\n \"y\": -0.18559775000000034\n },\n {\n \"x\": 0.07322065550000101,\n \"y\": 0.18255174999999935\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.28423665550000043,\n \"y\": -0.53233025\n },\n {\n \"x\": 0.2836366555000003,\n \"y\": -0.10600584999999985\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2912404555000001,\n \"y\": 0.5298821500000002\n },\n {\n \"x\": 0.29184045550000004,\n \"y\": 0.10355795000000012\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07425025549999931,\n \"y\": -0.10788365000000044\n },\n {\n \"x\": 0.29146205549999915,\n \"y\": -0.10659565000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07425025549999931,\n \"y\": 0.10232114999999986\n },\n {\n \"x\": 0.29146205549999915,\n \"y\": 0.10360915000000026\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path15\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.0829488445000004,\n \"y\": -0.06153284999999986\n },\n {\n \"x\": -0.0829488445000004,\n \"y\": 0.06535114999999969\n },\n {\n \"x\": 0.005945155500000077,\n \"y\": 0.0026521499999998532\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.15156024449999927,\n \"y\": -0.36092494999999936\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.0393233555000001,\n \"y\": 0.42489435000000064\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.2843894554999997,\n \"y\": -0.5519248499999992\n },\n \"bottom1\": {\n \"x\": 0.29108805550000105,\n \"y\": 0.5519248499999994\n },\n \"left1\": {\n \"x\": -0.3990097444999998,\n \"y\": 0.004526550000000462\n }\n },\n \"bounds\": {\n \"minX\": -0.4271681854999998,\n \"maxX\": 0.42716818549999985,\n \"minY\": -0.5800832909999992,\n \"maxY\": 0.5800832909999993,\n \"width\": 1,\n \"height\": 1.1601665819999987,\n \"centerX\": 2.7755575615628914e-17,\n \"centerY\": 5.551115123125783e-17\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0.13862605549999985,\n \"y\": -0.003454549999999612,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/njfet_transistor.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_right\", x: 0 },\n { ...texts.bottom1, anchor: \"middle_right\", x: 0 },\n ] as any,\n ports: [\n { ...refblocks.top1, labels: [\"1\", \"drain\"] }, // TODO add more \"standard\" labels\n { ...refblocks.bottom1, labels: [\"2\", \"source\"] }, // TODO add more \"standard\" labels\n { ...refblocks.left1, labels: [\"3\", \"gate\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport njfet_transistor_horz from \"./njfet_transistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(njfet_transistor_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")!\n\nconst val = texts.find((t) => t.text === \"{VAL}\")!\n\nval.x = -0.35\nval.y = 0\nval.anchor = \"middle_right\"\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.y = 0\nref.x = 0.35\nref.anchor = \"middle_left\"\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.39274354450000026,\n \"y\": 0.10329954999999957\n },\n {\n \"x\": 0.05111245549999932,\n \"y\": 0.1059225499999994\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09373835550000087,\n \"y\": -0.18559775000000034\n },\n {\n \"x\": 0.09280835550000122,\n \"y\": 0.18255174999999935\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.30382435550000064,\n \"y\": -0.53233025\n },\n {\n \"x\": 0.3032243555000005,\n \"y\": -0.10600584999999985\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3108281555000003,\n \"y\": 0.5323308500000001\n },\n {\n \"x\": 0.31142815550000025,\n \"y\": 0.005876249999999805\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09383795549999951,\n \"y\": -0.10788365000000044\n },\n {\n \"x\": 0.31104975549999936,\n \"y\": -0.10659565000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09383795549999951,\n \"y\": 0.10232114999999986\n },\n {\n \"x\": 0.31104975549999936,\n \"y\": 0.10360915000000026\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path15\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.20244405549999955,\n \"y\": -0.03061555000000049\n },\n {\n \"x\": 0.20244405549999955,\n \"y\": 0.04077654999999947\n },\n {\n \"x\": 0.2741990554999998,\n \"y\": 0.0054987499999992195\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path2-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09383795549999951,\n \"y\": 0.004018049999999551\n },\n {\n \"x\": 0.31104975549999936,\n \"y\": 0.005306049999999729\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.05171245550000081,\n \"y\": -0.16715385000000005\n },\n {\n \"x\": 0.05111245550000065,\n \"y\": 0.10592255000000006\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.13197254449999907,\n \"y\": -0.36092494999999936\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.05891105550000031,\n \"y\": 0.42489435000000064\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.30397715549999993,\n \"y\": -0.5519248499999992\n },\n \"bottom1\": {\n \"x\": 0.31067575550000126,\n \"y\": 0.5519248499999994\n },\n \"left1\": {\n \"x\": -0.41859744450000025,\n \"y\": 0.10250625000000024\n }\n },\n \"bounds\": {\n \"minX\": -0.4467558855000002,\n \"maxX\": 0.44675588550000006,\n \"minY\": -0.5800832909999992,\n \"maxY\": 0.5800832909999993,\n \"width\": 1,\n \"height\": 1.1601665819999987,\n \"centerX\": -8.326672684688674e-17,\n \"centerY\": 5.551115123125783e-17\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0.15821375550000005,\n \"y\": -0.003454549999999612,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/p_channel_d_mosfet_transistor.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_right\", x: 0 },\n { ...texts.bottom1, anchor: \"middle_right\", x: 0 },\n ] as any,\n ports: [\n { ...refblocks.top1, labels: [\"1\", \"drain\"] }, // TODO add more \"standard\" labels\n { ...refblocks.bottom1, labels: [\"2\", \"source\"] }, // TODO add more \"standard\" labels\n { ...refblocks.left1, labels: [\"3\", \"gate\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport p_channel_d_mosfet_transistor_horz from \"./p_channel_d_mosfet_transistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(p_channel_d_mosfet_transistor_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")!\n\nconst val = texts.find((t) => t.text === \"{VAL}\")!\n\nval.x = -0.35\nval.y = 0\nval.anchor = \"middle_right\"\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.y = 0\nref.x = 0.35\nref.anchor = \"middle_left\"\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5307178000000009,\n \"y\": 0.15879225000000008\n },\n {\n \"x\": -0.15214840000000018,\n \"y\": 0.1614152499999999\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12898409999999938,\n \"y\": 0.14773104999999975\n },\n {\n \"x\": -0.13559890000000085,\n \"y\": 0.28002274999999943\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13559890000000085,\n \"y\": 0.015439350000000074\n },\n {\n \"x\": 0.12898409999999938,\n \"y\": 0.14773104999999975\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13559890000000085,\n \"y\": 0.2800227500000001\n },\n {\n \"x\": -0.13559890000000085,\n \"y\": 0.015439350000000074\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12898409999999938,\n \"y\": 0.015439350000000074\n },\n {\n \"x\": 0.12898409999999938,\n \"y\": 0.2800227500000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13259069999999995,\n \"y\": 0.14829984999999968\n },\n {\n \"x\": 0.5307178000000006,\n \"y\": 0.1587922499999994\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.19516320000000031,\n \"y\": -0.22938755000000044\n },\n {\n \"x\": 0.15939019999999982,\n \"y\": -0.13729605000000022\n },\n {\n \"x\": 0.2571001999999991,\n \"y\": -0.1526013500000003\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.32731219999999994,\n \"y\": -0.2800227500000003\n },\n {\n \"x\": 0.3161811999999997,\n \"y\": -0.2700010500000003\n },\n {\n \"x\": 0.20345820000000003,\n \"y\": -0.1685088500000005\n },\n {\n \"x\": 0.2024082000000007,\n \"y\": -0.16810885000000053\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3425051999999993,\n \"y\": -0.20294964999999987\n },\n {\n \"x\": 0.306732199999999,\n \"y\": -0.11085814999999966\n },\n {\n \"x\": 0.4044417999999992,\n \"y\": -0.12616344999999973\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78-6-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.4746538,\n \"y\": -0.25358484999999975\n },\n {\n \"x\": 0.4635227999999998,\n \"y\": -0.24356314999999973\n },\n {\n \"x\": 0.3507997999999999,\n \"y\": -0.14207094999999992\n },\n {\n \"x\": 0.34974980000000055,\n \"y\": -0.14167095000000018\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17652089999999987,\n \"y\": -0.20318344999999938\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.00984920000000078,\n \"y\": 0.5911418500000005\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5446331000000002,\n \"y\": 0.15964505000000062\n },\n \"right1\": {\n \"x\": 0.5381637999999995,\n \"y\": 0.15864865000000083\n }\n },\n \"bounds\": {\n \"minX\": -0.5307178000000009,\n \"maxX\": 0.5307178000000006,\n \"minY\": -0.2800227500000003,\n \"maxY\": 0.2800227500000001,\n \"width\": 1.0614356000000016,\n \"height\": 1,\n \"centerX\": -1.6653345369377348e-16,\n \"centerY\": -1.1102230246251565e-16\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.006997300000000539,\n \"y\": 0.15166395000000055,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/photodiode.json\"\nimport { TextPrimitive } from \"drawing/types\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n {\n type: \"text\",\n text: \"{REF}\",\n x: -0.15,\n y: -0.20318344999999938,\n anchor: \"middle_right\",\n } as TextPrimitive,\n {\n type: \"text\",\n text: \"{VAL}\",\n x: -0.00984920000000078,\n y: 0.5,\n anchor: \"middle_top\",\n } as TextPrimitive,\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport photodiode_horz from \"./photodiode_horz\"\n\nconst rotatedSymbol = rotateSymbol(photodiode_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.y = 0\nref.anchor = \"middle_left\"\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.38509374449999945,\n \"y\": 0.00367374999999992\n },\n {\n \"x\": 0.05876225550000025,\n \"y\": 0.00629674999999974\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07415065550000066,\n \"y\": -0.18559775000000034\n },\n {\n \"x\": 0.07322065550000101,\n \"y\": 0.18255174999999935\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.28423665550000043,\n \"y\": -0.53233025\n },\n {\n \"x\": 0.2836366555000003,\n \"y\": -0.10600584999999985\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2912404555000001,\n \"y\": 0.5298821500000002\n },\n {\n \"x\": 0.29184045550000004,\n \"y\": 0.10355795000000012\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07425025549999931,\n \"y\": -0.10788365000000044\n },\n {\n \"x\": 0.29146205549999915,\n \"y\": -0.10659565000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07425025549999931,\n \"y\": 0.10232114999999986\n },\n {\n \"x\": 0.29146205549999915,\n \"y\": 0.10360915000000026\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path15\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.005945155500000077,\n \"y\": 0.06535114999999969\n },\n {\n \"x\": 0.005945155500000077,\n \"y\": -0.06153284999999986\n },\n {\n \"x\": -0.0829488445000004,\n \"y\": 0.001166149999999977\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.15156024449999927,\n \"y\": -0.36092494999999936\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.0393233555000001,\n \"y\": 0.42489435000000064\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.2843894554999997,\n \"y\": -0.5519248499999992\n },\n \"bottom1\": {\n \"x\": 0.29108805550000105,\n \"y\": 0.5519248499999994\n },\n \"left1\": {\n \"x\": -0.3990097444999998,\n \"y\": 0.004526550000000462\n }\n },\n \"bounds\": {\n \"minX\": -0.4271681854999998,\n \"maxX\": 0.42716818549999985,\n \"minY\": -0.5800832909999992,\n \"maxY\": 0.5800832909999993,\n \"width\": 1,\n \"height\": 1.1601665819999987,\n \"centerX\": 2.7755575615628914e-17,\n \"centerY\": 5.551115123125783e-17\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0.13862605549999985,\n \"y\": -0.003454549999999612,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/pjfet_transistor.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_right\", x: 0 },\n { ...texts.bottom1, anchor: \"middle_right\" },\n ] as any,\n ports: [\n { ...refblocks.top1, labels: [\"1\", \"drain\"] }, // TODO add more \"standard\" labels\n { ...refblocks.bottom1, labels: [\"2\", \"source\"] }, // TODO add more \"standard\" labels\n { ...refblocks.left1, labels: [\"3\", \"gate\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport pjfet_transistor_horz from \"./pjfet_transistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(pjfet_transistor_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")!\n\nconst val = texts.find((t) => t.text === \"{VAL}\")!\n\nval.x = -0.35\nval.y = 0\nval.anchor = \"middle_right\"\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.y = 0\nref.x = 0.35\nref.anchor = \"middle_left\"\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5291669499999998,\n \"y\": 0.14345965000000027\n },\n {\n \"x\": -0.2645836500000003,\n \"y\": 0.14345965000000027\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.26458334999999944,\n \"y\": 0.14345965000000027\n },\n {\n \"x\": 0.5291669499999998,\n \"y\": 0.14345965000000027\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path13\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.0000012499999997306332,\n \"y\": 0.01116785000000009\n },\n {\n \"x\": 0.26458424999999997,\n \"y\": 0.01116785000000009\n },\n {\n \"x\": 0.26458424999999997,\n \"y\": 0.2757512500000001\n },\n {\n \"x\": -0.26458274999999953,\n \"y\": 0.2757512500000001\n },\n {\n \"x\": -0.26458274999999953,\n \"y\": 0.01116785000000009\n },\n {\n \"x\": 0.0000012500000010629009,\n \"y\": 0.01116785000000009\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path15\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.06517084999999967,\n \"y\": -0.10588935\n },\n {\n \"x\": -0.06529785000000032,\n \"y\": -0.10588935\n },\n {\n \"x\": -0.00006345000000052003,\n \"y\": 0.00700125000000007\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path17\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.00025875000000041837,\n \"y\": -0.2757512500000001\n },\n {\n \"x\": 0.00025875000000041837,\n \"y\": -0.060545250000000106\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.007583050000000924,\n \"y\": 0.4315381500000006\n },\n \"right1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.12478014999999942,\n \"y\": -0.09260654999999884\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5449899500000002,\n \"y\": 0.1443124500000008\n },\n \"right1\": {\n \"x\": 0.5378069499999996,\n \"y\": 0.14331605000000103\n }\n },\n \"bounds\": {\n \"minX\": -0.5291669499999998,\n \"maxX\": 0.5291669499999998,\n \"minY\": -0.2757512500000001,\n \"maxY\": 0.2757512500000001,\n \"width\": 1.0583338999999996,\n \"height\": 0.5515025000000002,\n \"centerX\": 0,\n \"centerY\": 0\n }\n}","import svgJson from \"assets/generated/potentiometer.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.bottom1, y: 0.35, anchor: \"middle_top\" },\n { ...texts.right1, anchor: \"middle_left\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width + 0.05, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport potentiometer_horz from \"./potentiometer_horz\"\n\nconst rotated = rotateSymbol(potentiometer_horz)\n\nexport default rotated\n","{\n \"paths\": {\n \"path18\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5291669499999998,\n \"y\": 0.0008545000000008685\n },\n {\n \"x\": -0.26458365000000006,\n \"y\": 0.0008545000000008685\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path19\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.26458334999999966,\n \"y\": 0.0008545000000008685\n },\n {\n \"x\": 0.5291669499999996,\n \"y\": 0.0008545000000008685\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path20\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.0000012499999995085886,\n \"y\": -0.1314371999999988\n },\n {\n \"x\": 0.26458424999999997,\n \"y\": -0.1314371999999988\n },\n {\n \"x\": 0.26458424999999997,\n \"y\": 0.13314619999999877\n },\n {\n \"x\": -0.26458274999999976,\n \"y\": 0.13314619999999877\n },\n {\n \"x\": -0.26458274999999976,\n \"y\": -0.1314371999999988\n },\n {\n \"x\": 0.0000012500000012849455,\n \"y\": -0.1314371999999988\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path23\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.28137284999999945,\n \"y\": 0.2822274\n },\n {\n \"x\": 0.17906194999999903,\n \"y\": 0.25486950000000164\n },\n {\n \"x\": 0.2540149499999984,\n \"y\": 0.1799165000000027\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path24\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.29134274999999965,\n \"y\": 0.2921307000000013\n },\n {\n \"x\": 0.2577490499999997,\n \"y\": 0.16634940000000142\n },\n {\n \"x\": 0.16536614999999966,\n \"y\": 0.25853690000000284\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path26\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.29551765000000074,\n \"y\": -0.2921307000000013\n },\n {\n \"x\": 0.23295514999999956,\n \"y\": 0.2328032000000011\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.02811516999999933,\n \"y\": -0.2509376800000009\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0,\n \"y\": 0.25857531999999985\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5316179500000004,\n \"y\": 0.0013439000000019519\n },\n \"right1\": {\n \"x\": 0.5377649500000006,\n \"y\": 0.001956599999999753\n }\n },\n \"bounds\": {\n \"minX\": -0.5291669499999998,\n \"maxX\": 0.5291669499999996,\n \"minY\": -0.2921307000000013,\n \"maxY\": 0.2921307000000013,\n \"width\": 1.0583338999999994,\n \"height\": 0.5842614000000026,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": 0\n }\n}","import svgJson from \"assets/generated/potentiometer2.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.bottom1, anchor: \"middle_right\" },\n { ...texts.top1, anchor: \"middle_left\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport potentiometer2_horz from \"./potentiometer2_horz\"\n\nexport default rotateSymbol(potentiometer2_horz)\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5307178,\n \"y\": 0\n },\n {\n \"x\": -0.3042887999999997,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2899773000000003,\n \"y\": 0\n },\n {\n \"x\": 0.5307178000000001,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.16538809999999904,\n \"y\": -0.36705149999999964\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0066096999999991635,\n \"y\": 0.42330070000000064\n },\n \"left1\": {\n \"type\": \"text\",\n \"text\": \"COS φ\",\n \"x\": -0.14859499999999937,\n \"y\": 0.014279000000000375\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5446330999999993,\n \"y\": 0.000852800000000542\n },\n \"right1\": {\n \"x\": 0.5381638000000004,\n \"y\": -0.00014359999999924433\n }\n },\n \"bounds\": {\n \"minX\": -0.5307178,\n \"maxX\": 0.5307178000000001,\n \"minY\": 0,\n \"maxY\": 0,\n \"width\": 1.0614356000000003,\n \"height\": 1,\n \"centerX\": 5.551115123125783e-17,\n \"centerY\": 0\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.006997299999999651,\n \"y\": -0.007128299999999532,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/power_factor_meter.json\"\nimport { ninePointAnchorToSvgAnchor } from \"drawing/ninePointAnchorToSvgAnchor\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n // { ...texts.top1, anchor: \"middle_left\" },\n {\n type: \"text\",\n text: \"{REF}\",\n x: -0.15,\n y: -0.42330070000000064,\n anchor: \"middle_left\",\n },\n // { ...texts.bottom1, anchor: \"middle_left\" },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: -0.15,\n y: 0.42330070000000064,\n anchor: \"middle_left\",\n },\n // { ...texts.left1, anchor: \"middle_left\" },\n {\n type: \"text\",\n text: \"COS φ\",\n x: -0.14,\n y: 0.014279000000000375,\n anchor: \"middle-left\",\n },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport power_factor_meter_horz from \"./power_factor_meter_horz\"\nimport { text } from \"drawing/text\"\n\nconst rotatedSymbol = rotateSymbol(power_factor_meter_horz)\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")\nconst ref = texts.find((t) => t.text === \"{REF}\")!\nconst val = texts.find((t) => t.text === \"{VAL}\")!\nconst text_cos = texts.find((t) => t.text === \"COS φ\")!\nref.x = 0.35\nref.y = 0\nval.x = -0.6\nval.y = 0\ntext_cos.x = -0.1\ntext_cos.y = 0\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path12-1-8-6-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.00978914999999958,\n \"y\": -0.06036500000000089\n },\n {\n \"x\": 0.00978914999999958,\n \"y\": 0.05484799999999801\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.4877753500000006,\n \"y\": 0.036569000000000074\n },\n {\n \"x\": -0.17346905000000135,\n \"y\": 0.036569000000000074\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1755235500000003,\n \"y\": 0.060364999999999114\n },\n {\n \"x\": 0.19505664999999972,\n \"y\": 0.060364999999999114\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.19513044999999973,\n \"y\": 0.0361799999999981\n },\n {\n \"x\": 0.4877753499999997,\n \"y\": 0.0361799999999981\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0,\n \"y\": -0.24084600000000123\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0,\n \"y\": 0.2741959999999981\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.4721668500000007,\n \"y\": 0.03654200000000074\n },\n \"right1\": {\n \"x\": 0.47143025000000005,\n \"y\": 0.036566999999999794\n }\n },\n \"bounds\": {\n \"minX\": -0.4877753500000006,\n \"maxX\": 0.4877753499999997,\n \"minY\": -0.06036500000000089,\n \"maxY\": 0.060364999999999114,\n \"width\": 0.9755507000000003,\n \"height\": 0.12073,\n \"centerX\": -4.440892098500626e-16,\n \"centerY\": -8.881784197001252e-16\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/push_button_normally_closed_momentary.json\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport push_button_normally_closed_momentary_horz from \"./push_button_normally_closed_momentary_horz\"\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(push_button_normally_closed_momentary_horz)\n\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_left\"\nval.anchor = \"middle_right\"\n\nref.x = ref.x - 0.03\nref.y = ref.y\n\nval.x = val.x\nval.y = 0\n\nexport default rotated\n","{\n \"paths\": {\n \"path12-1-8-6-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.005593950000001513,\n \"y\": -0.1021504999999987\n },\n {\n \"x\": 0.005593950000001513,\n \"y\": 0.014242499999999936\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.4877753499999997,\n \"y\": 0.10215050000000225\n },\n {\n \"x\": -0.17346904999999957,\n \"y\": 0.10215050000000225\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.16045524999999916,\n \"y\": 0.019816500000001014\n },\n {\n \"x\": 0.17160265000000052,\n \"y\": 0.019816500000001014\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.19513045000000062,\n \"y\": 0.10176150000000028\n },\n {\n \"x\": 0.4877753500000006,\n \"y\": 0.10176150000000028\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0,\n \"y\": -0.17395249999999862\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0,\n \"y\": 0.2752844999999997\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.4721668499999989,\n \"y\": 0.10212350000000114\n },\n \"right1\": {\n \"x\": 0.47143025000000094,\n \"y\": 0.1021485000000002\n }\n },\n \"bounds\": {\n \"minX\": -0.4877753499999997,\n \"maxX\": 0.4877753500000006,\n \"minY\": -0.1021504999999987,\n \"maxY\": 0.10215050000000225,\n \"width\": 0.9755507000000003,\n \"height\": 0.20430100000000095,\n \"centerX\": 4.440892098500626e-16,\n \"centerY\": 1.7763568394002505e-15\n }\n}\n","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/push_button_normally_open_momentary.json\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport push_button_normally_open_momentary_horz from \"./push_button_normally_open_momentary_horz\"\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(push_button_normally_open_momentary_horz)\n\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_left\"\nval.anchor = \"middle_right\"\n\nref.x = ref.x + 0.1\nref.y = ref.y\n\nval.x = val.x\nval.y = 0\n\nexport default rotated\n","{\n \"paths\": {\n \"path27\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.7635944500000007,\n \"y\": 0.28495445000000075\n },\n {\n \"x\": 0.3138028500000005,\n \"y\": 0.28495445000000075\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path28\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.301017949999999,\n \"y\": 0.02024775000000112\n },\n {\n \"x\": -0.7508096499999994,\n \"y\": 0.02024775000000112\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path30\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3010179499999994,\n \"y\": -0.34304865000000007\n },\n {\n \"x\": -0.301017949999999,\n \"y\": 0.2848310499999993\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path27-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.7729788499999999,\n \"y\": -0.34624514999999967\n },\n {\n \"x\": 0.32318725000000015,\n \"y\": -0.34624514999999967\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.07279374999999932,\n \"y\": 0.28481924999999997\n },\n {\n \"x\": -0.2983350499999995,\n \"y\": 0.28481924999999997\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.33114835000000076,\n \"y\": 0.284840449999999\n },\n {\n \"x\": 0.10560705000000059,\n \"y\": 0.284840449999999\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.055820049999999455,\n \"y\": 0.17265845000000013\n },\n {\n \"x\": -0.055820049999999455,\n \"y\": 0.39819974999999985\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09396265000000081,\n \"y\": 0.17268285000000105\n },\n {\n \"x\": 0.09396265000000081,\n \"y\": 0.3982241500000008\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.07296184999999955,\n \"y\": -0.3463701499999985\n },\n {\n \"x\": -0.2985031499999997,\n \"y\": -0.3463701499999985\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.33098025000000053,\n \"y\": -0.3463489500000012\n },\n {\n \"x\": 0.10543895000000036,\n \"y\": -0.3463489500000012\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.05598814999999968,\n \"y\": -0.4585309500000001\n },\n {\n \"x\": -0.05598814999999968,\n \"y\": -0.2329896499999986\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6-6-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09379455000000014,\n \"y\": -0.45850655000000096\n },\n {\n \"x\": 0.09379455000000014,\n \"y\": -0.23296525000000123\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-92\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3315317500000008,\n \"y\": -0.12063885000000063\n },\n {\n \"x\": 0.33153175000000035,\n \"y\": -0.34618015000000035\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-28\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3315105500000004,\n \"y\": 0.28330324999999945\n },\n {\n \"x\": 0.3315105500000004,\n \"y\": 0.05776194999999973\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.44369255000000063,\n \"y\": -0.1036651500000012\n },\n {\n \"x\": 0.21815125000000046,\n \"y\": -0.1036651500000012\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6-6-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.4436681500000006,\n \"y\": 0.04611754999999995\n },\n {\n \"x\": 0.21812685000000043,\n \"y\": 0.04611754999999995\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6-9-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.44235445000000073,\n \"y\": -0.06667004999999904\n },\n {\n \"x\": 0.21681315000000057,\n \"y\": -0.06667004999999904\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6-9-2-4\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.4429695500000004,\n \"y\": 0.007559849999998036\n },\n {\n \"x\": 0.4430214500000007,\n \"y\": -0.06634914999999886\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6-9-2-4-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.21634305000000031,\n \"y\": 0.008546850000001882\n },\n {\n \"x\": 0.21639495000000064,\n \"y\": -0.06536215000000212\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6-9-2-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.4429537500000005,\n \"y\": 0.009130850000000024\n },\n {\n \"x\": 0.21741245000000076,\n \"y\": 0.009130850000000024\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.01596175000000022,\n \"y\": -0.5308501500000009\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.013116750000000454,\n \"y\": 0.5408501499999989\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.7666234499999998,\n \"y\": 0.0211504499999986\n },\n \"right1\": {\n \"x\": 0.7666234500000004,\n \"y\": -0.344347250000002\n },\n \"right2\": {\n \"x\": 0.7572390499999999,\n \"y\": 0.2868523500000002\n }\n },\n \"bounds\": {\n \"minX\": -0.7947818909999997,\n \"maxX\": 0.7947818910000004,\n \"minY\": -0.6308501500000009,\n \"maxY\": 0.5408501499999989,\n \"width\": 1.5895637820000001,\n \"height\": 1.1717003,\n \"centerX\": 3.3306690738754696e-16,\n \"centerY\": -0.045000000000000984\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/resonator.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n // { ...texts.top1, anchor: \"middle_left\" },\n // { ...texts.bottom1, anchor: \"middle_left\" },\n {\n type: \"text\",\n text: \"{REF}\",\n x: 0.01596175000000022,\n y: -0.5308501500000009,\n anchor: \"middle_bottom\",\n },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: 0.013116750000000454,\n y: 0.5408501499999989,\n anchor: \"middle_top\",\n },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right2, labels: [\"3\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport resonator_horz from \"./resonator_horz\"\n\nexport default rotateSymbol(resonator_horz)\n","{\n \"paths\": {\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.14133375000000115,\n \"y\": 0.0006371999999998934\n },\n {\n \"x\": -0.12324954999999838,\n \"y\": 0.13292890000000046\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999971,\n \"y\": -0.13165450000000045\n },\n {\n \"x\": 0.1413337499999998,\n \"y\": 0.0006371999999998934\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999971,\n \"y\": 0.13292890000000046\n },\n {\n \"x\": -0.12324954999999971,\n \"y\": -0.1316544999999989\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.14027445000000127,\n \"y\": -0.13377310000000042\n },\n {\n \"x\": 0.14133345000000053,\n \"y\": 0.1329288999999989\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12545424999999977,\n \"y\": 0.0006371999999998934\n },\n {\n \"x\": -0.5201245499999998,\n \"y\": 0.0006371999999998934\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5201245499999998,\n \"y\": 0.0007223999999994568\n },\n {\n \"x\": 0.1464164499999996,\n \"y\": 0.0007223999999994568\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.20429785000000056,\n \"y\": -0.13505779999999978\n },\n {\n \"x\": 0.14015525000000095,\n \"y\": -0.1339758000000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-7-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.20608895000000027,\n \"y\": -0.08549420000000074\n },\n {\n \"x\": 0.2047149500000005,\n \"y\": -0.13482980000000122\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-7-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.0765343500000002,\n \"y\": 0.1349070999999995\n },\n {\n \"x\": 0.13988425000000015,\n \"y\": 0.1346870999999994\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-7-9-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.0743883500000011,\n \"y\": 0.0857221999999993\n },\n {\n \"x\": 0.07576235000000087,\n \"y\": 0.1350578\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.00828064999999878,\n \"y\": -0.2291716000000008\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.003367349999999103,\n \"y\": 0.31851899999999933\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5224026499999993,\n \"y\": -0.0002470999999999446\n },\n \"right1\": {\n \"x\": 0.5158915500000005,\n \"y\": 0.0007775999999992678\n }\n },\n \"bounds\": {\n \"minX\": -0.5201245499999998,\n \"maxX\": 0.5201245499999998,\n \"minY\": -0.13505779999999978,\n \"maxY\": 0.1350578,\n \"width\": 1.0402490999999996,\n \"height\": 1,\n \"centerX\": 0,\n \"centerY\": 1.1102230246251565e-16\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/schottky_diode.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport schottky_diode_horz from \"./schottky_diode_horz\"\n\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(schottky_diode_horz)\n\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_left\"\nval.anchor = \"middle_right\"\n\nexport default rotated\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.49895505000000084,\n \"y\": -0.036744850000000495\n },\n {\n \"x\": -0.177441850000001,\n \"y\": -0.036744850000000495\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.18704774999999918,\n \"y\": -0.044614150000000574\n },\n {\n \"x\": 0.5063384499999999,\n \"y\": -0.044614150000000574\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.18219425000000045,\n \"y\": 0.15700134999999915\n },\n {\n \"x\": 0.1810882500000004,\n \"y\": -0.246215650000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.18646324999999986,\n \"y\": 0.00021334999999966797\n },\n {\n \"x\": 0.34602244999999954,\n \"y\": 0.14039324999999936\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-2-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3463884499999992,\n \"y\": 0.14577354999999947\n },\n {\n \"x\": 0.3447284499999994,\n \"y\": 0.3393437499999994\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.17016305000000087,\n \"y\": -0.2656752500000006\n },\n {\n \"x\": -0.17223005000000047,\n \"y\": 0.1570086499999992\n },\n {\n \"x\": 0.180362149999999,\n \"y\": -0.042608550000000855\n },\n {\n \"x\": -0.16624855000000038,\n \"y\": -0.26680665000000126\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.22312565000000006,\n \"y\": -0.37773544999999986\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.030109249999999532,\n \"y\": 0.38773544999999987\n }\n },\n \"refblocks\": {\n \"bottom1\": {\n \"x\": 0.3445824499999999,\n \"y\": 0.35453845000000017\n },\n \"left1\": {\n \"x\": -0.5177904499999998,\n \"y\": -0.03589204999999995\n },\n \"right1\": {\n \"x\": 0.5177904499999997,\n \"y\": -0.04475774999999982\n }\n },\n \"bounds\": {\n \"minX\": -0.5459488909999998,\n \"maxX\": 0.5459488909999997,\n \"minY\": -0.47773544999999984,\n \"maxY\": 0.38773544999999987,\n \"width\": 1.0918977819999993,\n \"height\": 1,\n \"centerX\": -5.551115123125783e-17,\n \"centerY\": -0.044999999999999984\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/silicon_controlled_rectifier.json\"\nimport { TextPrimitive } from \"drawing/types\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_left\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n { ...refblocks.bottom1, labels: [\"3\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport silicon_controlled_rectifier_horz from \"./silicon_controlled_rectifier_horz\"\n\nconst rotatedSymbol = rotateSymbol(silicon_controlled_rectifier_horz)\n\nconst texts = rotatedSymbol.primitives.filter(\n (primitive) => primitive.type === \"text\",\n)\n\nconst ref = texts.find((text) => text.text === \"{REF}\")!\n\nref.y = 0\nref.anchor = \"middle_left\"\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.14458890000000002,\n \"y\": -0.03903629999999936\n },\n {\n \"x\": -0.1199943999999995,\n \"y\": 0.09325540000000032\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1199943999999995,\n \"y\": -0.1713280000000026\n },\n {\n \"x\": 0.14458890000000002,\n \"y\": -0.03903629999999936\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1199943999999995,\n \"y\": 0.09325539999999677\n },\n {\n \"x\": -0.1199943999999995,\n \"y\": -0.1713280000000026\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.14458890000000002,\n \"y\": -0.1713280000000026\n },\n {\n \"x\": 0.14458890000000002,\n \"y\": 0.09325539999999677\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12219909999999956,\n \"y\": -0.03903629999999936\n },\n {\n \"x\": -0.5168693999999996,\n \"y\": -0.03903629999999936\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5233797,\n \"y\": -0.038951100000002015\n },\n {\n \"x\": 0.14967160000000002,\n \"y\": -0.038951100000002015\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.19156529999999972,\n \"y\": 0.09340209999999871\n },\n {\n \"x\": 0.14591529999999908,\n \"y\": 0.0937620999999993\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-5-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.19233440000000046,\n \"y\": 0.1405493999999976\n },\n {\n \"x\": 0.19197439999999988,\n \"y\": 0.09489939999999919\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.0050250999999996715,\n \"y\": -0.26884529999999884\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.00011179999999999524,\n \"y\": 0.2788453000000004\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5191471000000001,\n \"y\": -0.0399206999999997\n },\n \"right1\": {\n \"x\": 0.5191471000000001,\n \"y\": -0.03889610000000232\n }\n },\n \"bounds\": {\n \"minX\": -0.5473055410000001,\n \"maxX\": 0.5473055410000001,\n \"minY\": -0.3688452999999988,\n \"maxY\": 0.2788453000000004,\n \"width\": 1.0946110820000001,\n \"height\": 1,\n \"centerX\": 0,\n \"centerY\": -0.04499999999999921\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/step_recovery_diode.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n // { ...texts.top1, anchor: \"middle_left\" },\n // { ...texts.bottom1, anchor: \"middle_left\" },\n {\n type: \"text\",\n text: \"{REF}\",\n x: -0.0050250999999996715,\n y: -0.26884529999999884,\n anchor: \"middle_bottom\",\n },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: -0.00011179999999999524,\n y: 0.2788453000000004,\n anchor: \"middle_top\",\n },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport step_recovery_diode_horz from \"./step_recovery_diode_horz\"\n\nexport default rotateSymbol(step_recovery_diode_horz)\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5211797499999996,\n \"y\": -0.06283009999999978\n },\n {\n \"x\": -0.11239775000000019,\n \"y\": -0.06283009999999978\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09960874999999936,\n \"y\": -0.06283009999999978\n },\n {\n \"x\": 0.5211797499999995,\n \"y\": -0.06283009999999978\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.09694955000000016,\n \"y\": 0.12512129999999955\n },\n {\n \"x\": -0.09660955000000016,\n \"y\": -0.27942560000000016\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.08168064999999913,\n \"y\": 0.12394879999999975\n },\n {\n \"x\": 0.08202064999999914,\n \"y\": -0.28059809999999996\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.08666725000000008,\n \"y\": -0.0770194999999998\n },\n {\n \"x\": -0.08766725000000042,\n \"y\": 0.12569620000000037\n },\n {\n \"x\": 0.08302554999999989,\n \"y\": 0.029961600000000255\n },\n {\n \"x\": -0.0847714500000003,\n \"y\": -0.07756219999999958\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path11-0-9-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07310254999999932,\n \"y\": -0.27773950000000025\n },\n {\n \"x\": 0.07410254999999988,\n \"y\": -0.07502390000000037\n },\n {\n \"x\": -0.09659025000000065,\n \"y\": -0.17075850000000048\n },\n {\n \"x\": 0.07120674999999954,\n \"y\": -0.2782822000000007\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path12-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.08650115000000014,\n \"y\": 0.03856369999999987\n },\n {\n \"x\": 0.26729024999999984,\n \"y\": 0.15002969999999993\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-2-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2694016499999996,\n \"y\": 0.15483390000000008\n },\n {\n \"x\": 0.2677306499999994,\n \"y\": 0.28059809999999996\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.1767959499999996,\n \"y\": -0.47792119999999923\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0337326499999997,\n \"y\": 0.3957511000000007\n }\n },\n \"refblocks\": {\n \"bottom1\": {\n \"x\": 0.2687293500000003,\n \"y\": 0.2877112000000006\n },\n \"left1\": {\n \"x\": -0.5449081499999999,\n \"y\": -0.061977099999999785\n },\n \"right1\": {\n \"x\": 0.5378887499999996,\n \"y\": -0.06297349999999935\n }\n },\n \"bounds\": {\n \"minX\": -0.5211797499999996,\n \"maxX\": 0.5211797499999995,\n \"minY\": -0.28059809999999996,\n \"maxY\": 0.28059809999999996,\n \"width\": 1.042359499999999,\n \"height\": 1,\n \"centerX\": -5.551115123125783e-17,\n \"centerY\": 0\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.0072723500000002606,\n \"y\": -0.06995819999999964,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/triac.json\"\nimport { TextPrimitive } from \"drawing/types\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_left\" } as TextPrimitive,\n { ...texts.bottom1, anchor: \"middle_top\" } as TextPrimitive,\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n { ...refblocks.bottom1, labels: [\"3\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport triac_horz from \"./triac_horz\"\n\nconst rotatedSymbol = rotateSymbol(triac_horz)\n\nconst texts = rotatedSymbol.primitives.filter(\n (primitive) => primitive.type === \"text\",\n)\n\nconst ref = texts.find((text) => text.text === \"{REF}\")!\nconst val = texts.find((text) => text.text === \"{VAL}\")!\n\nref.y = 0\nval.y = 0\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1413337499999996,\n \"y\": -0.00041674999999941065\n },\n {\n \"x\": -0.12324954999999993,\n \"y\": 0.13187495000000093\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999993,\n \"y\": -0.13270844999999976\n },\n {\n \"x\": 0.1413337499999996,\n \"y\": -0.00041674999999941065\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999993,\n \"y\": 0.1318749499999996\n },\n {\n \"x\": -0.12324954999999993,\n \"y\": -0.13270844999999976\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1413337499999996,\n \"y\": -0.13270844999999976\n },\n {\n \"x\": 0.1413337499999996,\n \"y\": 0.1318749499999996\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12545425,\n \"y\": -0.00041674999999941065\n },\n {\n \"x\": -0.52012455,\n \"y\": -0.00041674999999941065\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5201245499999998,\n \"y\": -0.00033154999999984724\n },\n {\n \"x\": 0.14641644999999937,\n \"y\": -0.00033154999999984724\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1401360499999995,\n \"y\": -0.13319134999999993\n },\n {\n \"x\": 0.07403164999999912,\n \"y\": -0.13270134999999916\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-8-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.14135174999999967,\n \"y\": 0.13270134999999939\n },\n {\n \"x\": 0.07524734999999927,\n \"y\": 0.13319134999999993\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.0082802500000001,\n \"y\": -0.23022574999999956\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0033669500000002017,\n \"y\": 0.31746485000000035\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5224022500000005,\n \"y\": -0.0013011500000004173\n },\n \"right1\": {\n \"x\": 0.5158919499999994,\n \"y\": -0.00027654999999948693\n }\n },\n \"bounds\": {\n \"minX\": -0.52012455,\n \"maxX\": 0.5201245499999998,\n \"minY\": -0.13319134999999993,\n \"maxY\": 0.13319134999999993,\n \"width\": 1.0402490999999998,\n \"height\": 1,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": 0\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/tunnel_diode.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport tunnel_diode_horz from \"./tunnel_diode_horz\"\n\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(tunnel_diode_horz)\n\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_left\"\nval.anchor = \"middle_right\"\n\nexport default rotated\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.28028125000000026,\n \"y\": -0.18363744999999976\n },\n {\n \"x\": 0.026079749999999402,\n \"y\": 0.01407124999999998\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.28028125000000004,\n \"y\": -0.10352595000000009\n },\n {\n \"x\": 0.27922824999999984,\n \"y\": -0.35434414999999997\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.27938104999999913,\n \"y\": 0.10352595000000031\n },\n {\n \"x\": 0.27832804999999894,\n \"y\": 0.35434414999999997\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.03390104999999988,\n \"y\": 0.20084214999999972\n },\n {\n \"x\": 0.034241049999999884,\n \"y\": -0.20370475\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2793946500000004,\n \"y\": -0.0988287499999998\n },\n {\n \"x\": 0.035857850000000635,\n \"y\": -0.09831875000000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.06526925000000006,\n \"y\": -0.10971855000000019\n },\n {\n \"x\": -0.12276784999999979,\n \"y\": -0.017362650000000368\n },\n {\n \"x\": -0.011061549999999531,\n \"y\": -0.010478650000000256\n },\n {\n \"x\": -0.06417395000000004,\n \"y\": -0.10940415000000026\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path11-0-3-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2794681499999996,\n \"y\": 0.10493455000000007\n },\n {\n \"x\": 0.035931349999999806,\n \"y\": 0.10064755000000014\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.1482464500000007,\n \"y\": -0.36744674999999916\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.044801550000000386,\n \"y\": 0.44524095000000097\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.27890874490352635,\n \"y\": -0.37379973645924736\n },\n \"bottom1\": {\n \"x\": 0.27800811130820335,\n \"y\": 0.37379961987673127\n },\n \"left1\": {\n \"x\": -0.2933948500000001,\n \"y\": -0.1934820499999994\n }\n },\n \"bounds\": {\n \"minX\": -0.28028125000000026,\n \"maxX\": 0.28028125000000004,\n \"minY\": -0.35434414999999997,\n \"maxY\": 0.35434414999999997,\n \"width\": 1,\n \"height\": 1,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": 0\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0.12734104999999962,\n \"y\": 0.014895050000000465,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/unijunction_transistor.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_left\" },\n { ...texts.bottom1, anchor: \"middle_right\" },\n ] as any,\n ports: [\n { ...refblocks.top1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.bottom1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n { ...refblocks.left1, labels: [\"3\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport unijunction_transistor_horz from \"./unijunction_transistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(unijunction_transistor_horz)\n\nconst texts = rotatedSymbol.primitives.filter(\n (primitive) => primitive.type === \"text\",\n)\n\nconst ref = texts.find((text) => text.text === \"{REF}\")!\n\nref.y = 0.1\n\nconst val = texts.find((text) => text.text === \"{VAL}\")!\n\nval.y = 0.1\nval.x = -0.4\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5307178,\n \"y\": 0\n },\n {\n \"x\": -0.3042887999999997,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2899773000000003,\n \"y\": 0\n },\n {\n \"x\": 0.5307178000000001,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17652089999999898,\n \"y\": -0.36197569999999946\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.009849199999999891,\n \"y\": 0.43234960000000044\n },\n \"left1\": {\n \"type\": \"text\",\n \"text\": \"Var\",\n \"x\": -0.19436529999999896,\n \"y\": 0.07249430000000023\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5446330999999993,\n \"y\": 0.000852800000000542\n },\n \"right1\": {\n \"x\": 0.5381638000000004,\n \"y\": -0.00014359999999924433\n }\n },\n \"bounds\": {\n \"minX\": -0.5307178,\n \"maxX\": 0.5307178000000001,\n \"minY\": 0,\n \"maxY\": 0,\n \"width\": 1.0614356000000003,\n \"height\": 1,\n \"centerX\": 5.551115123125783e-17,\n \"centerY\": 0\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.006997299999999651,\n \"y\": -0.007128299999999532,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/var_meter.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n {\n ...texts.top1,\n x: 0,\n y: -0.3594553499999995,\n anchor: \"middle_bottom\",\n },\n {\n ...texts.bottom1,\n x: 0,\n y: 0.35,\n anchor: \"middle_top\",\n },\n { ...texts.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: \"center\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport var_meter_horz from \"./var_meter_horz\"\n\nexport default rotateSymbol(var_meter_horz)\n","{\n \"paths\": {\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.08035965000000034,\n \"y\": -0.0017977999999994054\n },\n {\n \"x\": -0.18422364999999918,\n \"y\": 0.13049390000000116\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.18422365000000052,\n \"y\": -0.13408949999999975\n },\n {\n \"x\": 0.080359649999999,\n \"y\": -0.0017977999999994054\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.18422365000000052,\n \"y\": 0.13049390000000116\n },\n {\n \"x\": -0.18422365000000052,\n \"y\": -0.1340894999999982\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09188504999999969,\n \"y\": -0.1326124999999998\n },\n {\n \"x\": 0.09294404999999917,\n \"y\": 0.13408949999999953\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1984993499999994,\n \"y\": -0.0017977999999994054\n },\n {\n \"x\": -0.5222461500000002,\n \"y\": -0.0017977999999994054\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5222461500000002,\n \"y\": -0.001712599999999842\n },\n {\n \"x\": 0.20220525000000067,\n \"y\": -0.001712599999999842\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.18242454999999969,\n \"y\": -0.13264619999999994\n },\n {\n \"x\": 0.18348354999999894,\n \"y\": 0.1340557999999994\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.008090549999999253,\n \"y\": -0.2316066000000001\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0031772499999995762,\n \"y\": 0.31608400000000003\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5222125499999998,\n \"y\": -0.0026820999999992434\n },\n \"right1\": {\n \"x\": 0.5160816500000001,\n \"y\": -0.001657400000000031\n }\n },\n \"bounds\": {\n \"minX\": -0.5222461500000002,\n \"maxX\": 0.5222461500000002,\n \"minY\": -0.13408949999999975,\n \"maxY\": 0.13408949999999953,\n \"width\": 1.0444923000000004,\n \"height\": 1,\n \"centerX\": 0,\n \"centerY\": -1.1102230246251565e-16\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/varactor_diode.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport varactor_diode_horz from \"./varactor_diode_horz\"\n\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(varactor_diode_horz)\n\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_left\"\nval.anchor = \"middle_right\"\n\nexport default rotated\n","{\n \"paths\": {\n \"path5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5291668,\n \"y\": 0\n },\n {\n \"x\": -0.2645835000000005,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2645835000000005,\n \"y\": 0\n },\n {\n \"x\": 0.5291668,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2645835000000005,\n \"y\": 0.23812500000000192\n },\n {\n \"x\": -0.2645834999999992,\n \"y\": -0.23812500000000014\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3704165000000006,\n \"y\": 0.23812500000000192\n },\n {\n \"x\": 0.2645835000000005,\n \"y\": 0.23812500000000192\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.000001400000000817414,\n \"y\": -0.13229179999999907\n },\n {\n \"x\": 0.2645844000000013,\n \"y\": -0.13229179999999907\n },\n {\n \"x\": 0.2645844000000013,\n \"y\": 0.13229160000000206\n },\n {\n \"x\": -0.26458259999999845,\n \"y\": 0.13229160000000206\n },\n {\n \"x\": -0.26458259999999845,\n \"y\": -0.13229179999999907\n },\n {\n \"x\": 0.0000014000000021496817,\n \"y\": -0.13229179999999907\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0,\n \"y\": -0.2470063999999983\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0,\n \"y\": 0.256324600000001\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5438152999999999,\n \"y\": 0.0016897000000017925\n },\n \"right1\": {\n \"x\": 0.5346478000000006,\n \"y\": -0.0006806999999984242\n }\n },\n \"bounds\": {\n \"minX\": -0.5291668,\n \"maxX\": 0.5291668,\n \"minY\": -0.23812500000000014,\n \"maxY\": 0.23812500000000192,\n \"width\": 1.0583336,\n \"height\": 0.47625000000000206,\n \"centerX\": 0,\n \"centerY\": 8.881784197001252e-16\n }\n}","import svgJson from \"assets/generated/varistor.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.top1, anchor: \"middle_left\" },\n { ...texts.bottom1, anchor: \"middle_right\" },\n ] as any,\n ports: [\n {\n ...refblocks.left1,\n labels: [\"1\", \"-\"],\n },\n {\n ...refblocks.right1,\n labels: [\"2\", \"+\"],\n },\n ],\n size: { width: bounds.width, height: bounds.height }, //{ width: 1, height: 0.24 },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport varistor_horz from \"./varistor_horz\"\n\nexport default rotateSymbol(varistor_horz, {})\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5307178,\n \"y\": 0.002520349999999949\n },\n {\n \"x\": -0.3042887999999997,\n \"y\": 0.002520349999999949\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-5-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09442299999999992,\n \"y\": -0.0957435499999999\n },\n {\n \"x\": -0.004364400000000712,\n \"y\": 0.0957435499999999\n },\n {\n \"x\": -0.1110211000000012,\n \"y\": -0.0957435499999999\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2899773000000003,\n \"y\": 0.002520349999999949\n },\n {\n \"x\": 0.5307178000000001,\n \"y\": 0.002520349999999949\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17652089999999898,\n \"y\": -0.3594553499999995\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.009849199999999891,\n \"y\": 0.4348699500000004\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5446330999999993,\n \"y\": 0.003373150000000491\n },\n \"right1\": {\n \"x\": 0.5381638000000004,\n \"y\": 0.0023767500000007047\n }\n },\n \"bounds\": {\n \"minX\": -0.5307178,\n \"maxX\": 0.5307178000000001,\n \"minY\": -0.0957435499999999,\n \"maxY\": 0.0957435499999999,\n \"width\": 1.0614356000000003,\n \"height\": 1,\n \"centerX\": 5.551115123125783e-17,\n \"centerY\": 0\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.006997299999999651,\n \"y\": -0.004607949999999583,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/volt_meter.json\"\n\nconst { paths, texts, bounds, circles, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n {\n type: \"text\",\n text: \"{REF}\",\n x: 0,\n y: -0.3594553499999995,\n anchor: \"middle_bottom\",\n },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: 0,\n y: 0.35,\n anchor: \"middle_top\",\n },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport volt_meter_horz from \"./volt_meter_horz\"\n\nexport default rotateSymbol(volt_meter_horz)\n","{\n \"paths\": {\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1413337499999996,\n \"y\": 0.00024145000000008743\n },\n {\n \"x\": -0.12324954999999993,\n \"y\": 0.13253315000000043\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999993,\n \"y\": -0.13205025000000026\n },\n {\n \"x\": 0.1413337499999996,\n \"y\": 0.00024145000000008743\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999993,\n \"y\": 0.1325331499999991\n },\n {\n \"x\": -0.12324954999999993,\n \"y\": -0.13205025000000026\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1413337499999996,\n \"y\": -0.13205025000000026\n },\n {\n \"x\": 0.1413337499999996,\n \"y\": 0.1325331499999991\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12545425,\n \"y\": 0.00024145000000008743\n },\n {\n \"x\": -0.52012455,\n \"y\": 0.00024145000000008743\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5201245499999998,\n \"y\": 0.00032664999999965083\n },\n {\n \"x\": 0.14641644999999937,\n \"y\": 0.00032664999999965083\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1401360499999995,\n \"y\": -0.13253315000000043\n },\n {\n \"x\": 0.07403164999999912,\n \"y\": -0.13204314999999966\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.0082802500000001,\n \"y\": -0.22956755000000006\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0033669500000002017,\n \"y\": 0.31812304999999985\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5224022500000005,\n \"y\": -0.0006429500000009192\n },\n \"right1\": {\n \"x\": 0.5158919499999994,\n \"y\": 0.00038165000000001115\n }\n },\n \"bounds\": {\n \"minX\": -0.52012455,\n \"maxX\": 0.5201245499999998,\n \"minY\": -0.13253315000000043,\n \"maxY\": 0.13253315000000043,\n \"width\": 1.0402490999999998,\n \"height\": 1,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": 0\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/zener_diode.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport zener_diode_horz from \"./zener_diode_horz\"\n\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(zener_diode_horz)\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_left\"\nval.anchor = \"middle_right\"\n\nexport default rotated\n","import _ac_voltmeter_horz from \"./../symbols/ac_voltmeter_horz\"\nimport _ac_voltmeter_vert from \"./../symbols/ac_voltmeter_vert\"\nimport _avalanche_diode_horz from \"./../symbols/avalanche_diode_horz\"\nimport _avalanche_diode_vert from \"./../symbols/avalanche_diode_vert\"\nimport _boxresistor_horz from \"./../symbols/boxresistor_horz\"\nimport _boxresistor_vert from \"./../symbols/boxresistor_vert\"\nimport _capacitor_horz from \"./../symbols/capacitor_horz\"\nimport _capacitor_vert from \"./../symbols/capacitor_vert\"\nimport _constant_current_diode_horz from \"./../symbols/constant_current_diode_horz\"\nimport _constant_current_diode_vert from \"./../symbols/constant_current_diode_vert\"\nimport _crystal_horz from \"./../symbols/crystal_horz\"\nimport _crystal_vert from \"./../symbols/crystal_vert\"\nimport _dc_ammeter_horz from \"./../symbols/dc_ammeter_horz\"\nimport _dc_ammeter_vert from \"./../symbols/dc_ammeter_vert\"\nimport _dc_voltmeter_horz from \"./../symbols/dc_voltmeter_horz\"\nimport _dc_voltmeter_vert from \"./../symbols/dc_voltmeter_vert\"\nimport _diac_horz from \"./../symbols/diac_horz\"\nimport _diac_vert from \"./../symbols/diac_vert\"\nimport _diode_horz from \"./../symbols/diode_horz\"\nimport _diode_vert from \"./../symbols/diode_vert\"\nimport _fuse_horz from \"./../symbols/fuse_horz\"\nimport _fuse_vert from \"./../symbols/fuse_vert\"\nimport _gunn_diode_horz from \"./../symbols/gunn_diode_horz\"\nimport _gunn_diode_vert from \"./../symbols/gunn_diode_vert\"\nimport _igbt_transistor_horz from \"./../symbols/igbt_transistor_horz\"\nimport _igbt_transistor_vert from \"./../symbols/igbt_transistor_vert\"\nimport _laser_diode_horz from \"./../symbols/laser_diode_horz\"\nimport _laser_diode_vert from \"./../symbols/laser_diode_vert\"\nimport _led_horz from \"./../symbols/led_horz\"\nimport _led_vert from \"./../symbols/led_vert\"\nimport _mosfet_depletion_normally_on_horz from \"./../symbols/mosfet_depletion_normally_on_horz\"\nimport _mosfet_depletion_normally_on_vert from \"./../symbols/mosfet_depletion_normally_on_vert\"\nimport _njfet_transistor_horz from \"./../symbols/njfet_transistor_horz\"\nimport _njfet_transistor_vert from \"./../symbols/njfet_transistor_vert\"\nimport _p_channel_d_mosfet_transistor_horz from \"./../symbols/p_channel_d_mosfet_transistor_horz\"\nimport _p_channel_d_mosfet_transistor_vert from \"./../symbols/p_channel_d_mosfet_transistor_vert\"\nimport _photodiode_horz from \"./../symbols/photodiode_horz\"\nimport _photodiode_vert from \"./../symbols/photodiode_vert\"\nimport _pjfet_transistor_horz from \"./../symbols/pjfet_transistor_horz\"\nimport _pjfet_transistor_vert from \"./../symbols/pjfet_transistor_vert\"\nimport _potentiometer_horz from \"./../symbols/potentiometer_horz\"\nimport _potentiometer_vert from \"./../symbols/potentiometer_vert\"\nimport _potentiometer2_horz from \"./../symbols/potentiometer2_horz\"\nimport _potentiometer2_vert from \"./../symbols/potentiometer2_vert\"\nimport _power_factor_meter_horz from \"./../symbols/power_factor_meter_horz\"\nimport _power_factor_meter_vert from \"./../symbols/power_factor_meter_vert\"\nimport _push_button_normally_closed_momentary_horz from \"./../symbols/push_button_normally_closed_momentary_horz\"\nimport _push_button_normally_closed_momentary_vert from \"./../symbols/push_button_normally_closed_momentary_vert\"\nimport _push_button_normally_open_momentary_horz from \"./../symbols/push_button_normally_open_momentary_horz\"\nimport _push_button_normally_open_momentary_vert from \"./../symbols/push_button_normally_open_momentary_vert\"\nimport _resonator_horz from \"./../symbols/resonator_horz\"\nimport _resonator_vert from \"./../symbols/resonator_vert\"\nimport _schottky_diode_horz from \"./../symbols/schottky_diode_horz\"\nimport _schottky_diode_vert from \"./../symbols/schottky_diode_vert\"\nimport _silicon_controlled_rectifier_horz from \"./../symbols/silicon_controlled_rectifier_horz\"\nimport _silicon_controlled_rectifier_vert from \"./../symbols/silicon_controlled_rectifier_vert\"\nimport _step_recovery_diode_horz from \"./../symbols/step_recovery_diode_horz\"\nimport _step_recovery_diode_vert from \"./../symbols/step_recovery_diode_vert\"\nimport _triac_horz from \"./../symbols/triac_horz\"\nimport _triac_vert from \"./../symbols/triac_vert\"\nimport _tunnel_diode_horz from \"./../symbols/tunnel_diode_horz\"\nimport _tunnel_diode_vert from \"./../symbols/tunnel_diode_vert\"\nimport _unijunction_transistor_horz from \"./../symbols/unijunction_transistor_horz\"\nimport _unijunction_transistor_vert from \"./../symbols/unijunction_transistor_vert\"\nimport _var_meter_horz from \"./../symbols/var_meter_horz\"\nimport _var_meter_vert from \"./../symbols/var_meter_vert\"\nimport _varactor_diode_horz from \"./../symbols/varactor_diode_horz\"\nimport _varactor_diode_vert from \"./../symbols/varactor_diode_vert\"\nimport _varistor_horz from \"./../symbols/varistor_horz\"\nimport _varistor_vert from \"./../symbols/varistor_vert\"\nimport _volt_meter_horz from \"./../symbols/volt_meter_horz\"\nimport _volt_meter_vert from \"./../symbols/volt_meter_vert\"\nimport _zener_diode_horz from \"./../symbols/zener_diode_horz\"\nimport _zener_diode_vert from \"./../symbols/zener_diode_vert\"\n\nexport default {\n \"ac_voltmeter_horz\": _ac_voltmeter_horz,\n \"ac_voltmeter_vert\": _ac_voltmeter_vert,\n \"avalanche_diode_horz\": _avalanche_diode_horz,\n \"avalanche_diode_vert\": _avalanche_diode_vert,\n \"boxresistor_horz\": _boxresistor_horz,\n \"boxresistor_vert\": _boxresistor_vert,\n \"capacitor_horz\": _capacitor_horz,\n \"capacitor_vert\": _capacitor_vert,\n \"constant_current_diode_horz\": _constant_current_diode_horz,\n \"constant_current_diode_vert\": _constant_current_diode_vert,\n \"crystal_horz\": _crystal_horz,\n \"crystal_vert\": _crystal_vert,\n \"dc_ammeter_horz\": _dc_ammeter_horz,\n \"dc_ammeter_vert\": _dc_ammeter_vert,\n \"dc_voltmeter_horz\": _dc_voltmeter_horz,\n \"dc_voltmeter_vert\": _dc_voltmeter_vert,\n \"diac_horz\": _diac_horz,\n \"diac_vert\": _diac_vert,\n \"diode_horz\": _diode_horz,\n \"diode_vert\": _diode_vert,\n \"fuse_horz\": _fuse_horz,\n \"fuse_vert\": _fuse_vert,\n \"gunn_diode_horz\": _gunn_diode_horz,\n \"gunn_diode_vert\": _gunn_diode_vert,\n \"igbt_transistor_horz\": _igbt_transistor_horz,\n \"igbt_transistor_vert\": _igbt_transistor_vert,\n \"laser_diode_horz\": _laser_diode_horz,\n \"laser_diode_vert\": _laser_diode_vert,\n \"led_horz\": _led_horz,\n \"led_vert\": _led_vert,\n \"mosfet_depletion_normally_on_horz\": _mosfet_depletion_normally_on_horz,\n \"mosfet_depletion_normally_on_vert\": _mosfet_depletion_normally_on_vert,\n \"njfet_transistor_horz\": _njfet_transistor_horz,\n \"njfet_transistor_vert\": _njfet_transistor_vert,\n \"p_channel_d_mosfet_transistor_horz\": _p_channel_d_mosfet_transistor_horz,\n \"p_channel_d_mosfet_transistor_vert\": _p_channel_d_mosfet_transistor_vert,\n \"photodiode_horz\": _photodiode_horz,\n \"photodiode_vert\": _photodiode_vert,\n \"pjfet_transistor_horz\": _pjfet_transistor_horz,\n \"pjfet_transistor_vert\": _pjfet_transistor_vert,\n \"potentiometer_horz\": _potentiometer_horz,\n \"potentiometer_vert\": _potentiometer_vert,\n \"potentiometer2_horz\": _potentiometer2_horz,\n \"potentiometer2_vert\": _potentiometer2_vert,\n \"power_factor_meter_horz\": _power_factor_meter_horz,\n \"power_factor_meter_vert\": _power_factor_meter_vert,\n \"push_button_normally_closed_momentary_horz\": _push_button_normally_closed_momentary_horz,\n \"push_button_normally_closed_momentary_vert\": _push_button_normally_closed_momentary_vert,\n \"push_button_normally_open_momentary_horz\": _push_button_normally_open_momentary_horz,\n \"push_button_normally_open_momentary_vert\": _push_button_normally_open_momentary_vert,\n \"resonator_horz\": _resonator_horz,\n \"resonator_vert\": _resonator_vert,\n \"schottky_diode_horz\": _schottky_diode_horz,\n \"schottky_diode_vert\": _schottky_diode_vert,\n \"silicon_controlled_rectifier_horz\": _silicon_controlled_rectifier_horz,\n \"silicon_controlled_rectifier_vert\": _silicon_controlled_rectifier_vert,\n \"step_recovery_diode_horz\": _step_recovery_diode_horz,\n \"step_recovery_diode_vert\": _step_recovery_diode_vert,\n \"triac_horz\": _triac_horz,\n \"triac_vert\": _triac_vert,\n \"tunnel_diode_horz\": _tunnel_diode_horz,\n \"tunnel_diode_vert\": _tunnel_diode_vert,\n \"unijunction_transistor_horz\": _unijunction_transistor_horz,\n \"unijunction_transistor_vert\": _unijunction_transistor_vert,\n \"var_meter_horz\": _var_meter_horz,\n \"var_meter_vert\": _var_meter_vert,\n \"varactor_diode_horz\": _varactor_diode_horz,\n \"varactor_diode_vert\": _varactor_diode_vert,\n \"varistor_horz\": _varistor_horz,\n \"varistor_vert\": _varistor_vert,\n \"volt_meter_horz\": _volt_meter_horz,\n \"volt_meter_vert\": _volt_meter_vert,\n \"zener_diode_horz\": _zener_diode_horz,\n \"zener_diode_vert\": _zener_diode_vert\n}","export const mapColor = (color: string) => {\n switch (color) {\n case \"primary\":\n return \"black\"\n case \"secondary\":\n return \"gray\"\n default:\n return color\n }\n}\n","import type { Point } from \"drawing\"\n\nexport function pathToSvgD(points: Point[], closed: boolean = false): string {\n const pathCommands = points\n .map((point, index) => `${index === 0 ? \"M\" : \"L\"}${point.x},${point.y}`)\n .join(\" \")\n\n return closed ? `${pathCommands} Z` : pathCommands\n}\n","import { mapColor } from \"./mapColor\"\nimport { pathToSvgD } from \"./pathToSvgD\"\nimport type { Point, Port, SchSymbol, TextPrimitive } from \"./types\"\n\nfunction createDiamondElement(center: Point, size = 0.05): string {\n const { x, y } = center\n const halfSize = size / 2\n return `<path d=\"M ${x} ${y - halfSize} L ${x + halfSize} ${y} L ${x} ${\n y + halfSize\n } L ${x - halfSize} ${y} Z\" fill=\"green\" />`\n}\n\nfunction createTextElement(primitive: TextPrimitive): {\n text: string\n anchor: string\n} {\n const { x, y, text, fontSize = 0.1, anchor } = primitive\n let textAnchor: string\n const dx = 0\n let dy = 0\n\n const capHeight = fontSize * 0.75\n\n switch (anchor) {\n case \"top_left\":\n textAnchor = \"start\"\n dy = fontSize\n break\n case \"top_right\":\n textAnchor = \"end\"\n dy = fontSize\n break\n case \"bottom_left\":\n textAnchor = \"start\"\n break\n case \"bottom_right\":\n textAnchor = \"end\"\n break\n case \"center\":\n textAnchor = \"middle\"\n dy = fontSize / 2\n break\n case \"middle_top\":\n textAnchor = \"middle\"\n dy = capHeight\n break\n case \"middle_bottom\":\n textAnchor = \"middle\"\n break\n case \"middle_left\":\n textAnchor = \"start\"\n dy = capHeight / 2\n break\n case \"middle_right\":\n textAnchor = \"end\"\n dy = capHeight / 2\n break\n }\n\n return {\n text: `<text x=\"${x}\" y=\"${y}\" dx=\"${dx}\" dy=\"${dy}\" text-anchor=\"${textAnchor}\" style=\"font: ${\n fontSize ?? 0.1\n }px monospace; fill: ${mapColor(\"primary\")}\">${text}</text>`,\n anchor: `<rect x=\"${x - 0.025 / 2}\" y=\"${\n y - 0.025 / 2\n }\" width=\"0.025\" height=\"0.025\" fill=\"blue\" />`,\n }\n}\n\nfunction createPortElement(port: Port): string {\n const { x, y, labels } = port\n const rectSize = 0.05\n const labelFontSize = 0.08\n const label = labels[0] || \"\"\n\n return `\n <rect x=\"${x - rectSize / 2}\" y=\"${\n y - rectSize / 2\n }\" width=\"${rectSize}\" height=\"${rectSize}\" fill=\"red\" />\n <text x=\"${x - labelFontSize / 2}\" y=\"${\n y + rectSize + labelFontSize / 2\n }\" text-anchor=\"middle\" style=\"font: ${labelFontSize}px monospace; fill: #833;\">${label}</text>\n `\n}\n\nexport function getInnerSvg(\n symbol: SchSymbol,\n options: { width?: number; height?: number; debug?: boolean } = {},\n): string {\n const { debug = false } = options\n const { primitives, size, ports } = symbol\n const svgElements = primitives.map((primitive) => {\n switch (primitive.type) {\n case \"path\":\n return `<path d=\"${pathToSvgD(\n primitive.points,\n primitive.closed,\n )}\" fill=\"${\n primitive.fill ? mapColor(primitive.color) : \"none\"\n }\" stroke=\"${mapColor(\n primitive.color,\n )}\" stroke-width=\"0.02\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />`\n case \"text\":\n const textElements = createTextElement(primitive)\n return textElements.text + (debug ? textElements.anchor : \"\")\n case \"circle\":\n return `<circle cx=\"${primitive.x}\" cy=\"${primitive.y}\" r=\"${\n primitive.radius\n }\" fill=\"${primitive.fill ? mapColor(primitive.color) : \"none\"}\" ${\n !primitive.fill\n ? `stroke=\"${mapColor(primitive.color)}\" stroke-width=\"0.02\"`\n : \"\"\n } />`\n case \"box\":\n return `<rect x=\"${primitive.x}\" y=\"${primitive.y}\" width=\"${\n primitive.width\n }\" height=\"${primitive.height}\" fill=\"${mapColor(\"primary\")}\" />`\n default:\n return \"\"\n }\n })\n\n const portElements = ports.map(createPortElement).join(\"\\n \")\n\n const centerDiamond = createDiamondElement(symbol.center)\n\n return [svgElements.join(\"\\n \"), portElements, centerDiamond].join(\"\\n\")\n}\n\nexport function getSvg(\n symbol: SchSymbol,\n options: { width?: number; height?: number; debug?: boolean } = {},\n): string {\n const { size } = symbol\n const innerSvg = getInnerSvg(symbol, options)\n\n // Use the center and the size to calculate the viewBox\n const bufferMultiple = 1.2\n const w = size.width * bufferMultiple\n const h = size.height * bufferMultiple\n const viewBox = {\n x: symbol.center.x - w / 2,\n y: symbol.center.y - h / 2,\n width: w,\n height: h,\n }\n\n if (options.width && !options.height) {\n options.height = options.width! * (viewBox.height / viewBox.width)\n } else if (!options.width && options.height) {\n options.width = options.height! * (viewBox.width / viewBox.height)\n } else if (!options.width && !options.height) {\n options.width = viewBox.width\n options.height = viewBox.height\n }\n\n return `<svg width=\"${options.width}\" height=\"${options.height}\" viewBox=\"${viewBox.x} ${viewBox.y} ${viewBox.width} ${viewBox.height}\" xmlns=\"http://www.w3.org/2000/svg\">${innerSvg}</svg>`\n}\n","import type { SchSymbol } from \"./types\"\n\nexport function resizeSymbol(\n symbol: SchSymbol,\n newSize: { width?: number; height?: number },\n): SchSymbol {\n const { width: oldWidth, height: oldHeight } = symbol.size\n let scaleX = 1,\n scaleY = 1\n\n if (newSize.width && newSize.height) {\n scaleX = newSize.width / oldWidth\n scaleY = newSize.height / oldHeight\n } else if (newSize.width) {\n scaleX = scaleY = newSize.width / oldWidth\n } else if (newSize.height) {\n scaleX = scaleY = newSize.height / oldHeight\n }\n\n const resizedPrimitives = symbol.primitives.map((primitive) => {\n switch (primitive.type) {\n case \"path\":\n return {\n ...primitive,\n points: primitive.points.map((p) => ({\n x: p.x * scaleX,\n y: p.y * scaleY,\n })),\n }\n case \"text\":\n case \"circle\":\n return {\n ...primitive,\n x: primitive.x * scaleX,\n y: primitive.y * scaleY,\n }\n case \"box\":\n return {\n ...primitive,\n x: primitive.x * scaleX,\n y: primitive.y * scaleY,\n width: primitive.width * scaleX,\n height: primitive.height * scaleY,\n }\n default:\n return primitive\n }\n })\n\n return {\n ...symbol,\n primitives: resizedPrimitives,\n center: {\n x: symbol.center.x * scaleX,\n y: symbol.center.y * scaleY,\n },\n ports: symbol.ports.map((port) => ({\n ...port,\n x: port.x * scaleX,\n y: port.y * scaleY,\n })),\n size: {\n width: oldWidth * scaleX,\n height: oldHeight * scaleY,\n },\n }\n}\n","import symbols from \"./generated/symbols-index\"\n\nexport type {\n SchSymbol,\n BoxPrimitive,\n CirclePrimitive,\n PathPrimitive,\n TextPrimitive,\n} from \"./drawing/types\"\nimport { getSvg, getInnerSvg, resizeSymbol } from \"./drawing\"\n\nimport { BaseSymbolName } from \"./generated/base-symbol-names\"\n\n/**\n * Utility for easier autocomplete:\n *\n * ```ts\n * BASE_SYMBOLS.boxresistor // \"boxresistor\"\n * ```\n */\nexport const BASE_SYMBOLS: Record<BaseSymbolName, BaseSymbolName> =\n Object.fromEntries(Object.keys(symbols).map((k) => [k, k])) as any\n\nexport { symbols, getSvg, getInnerSvg, resizeSymbol, BaseSymbolName }\n"],"mappings":";AAEO,SAAS,aAAa,QAA8B;AACzD,SAAO;AACT;;;ACJA;AAAA,EACE,OAAS;AAAA,IACP,QAAU;AAAA,MACR,MAAQ;AAAA,MACR,QAAU;AAAA,QACR;AAAA,UACE,GAAK;AAAA,UACL,GAAK;AAAA,QACP;AAAA,QACA;AAAA,UACE,GAAK;AAAA,UACL,GAAK;AAAA,QACP;AAAA,MACF;AAAA,MACA,OAAS;AAAA,MACT,MAAQ;AAAA,IACV;AAAA,IACA,QAAU;AAAA,MACR,MAAQ;AAAA,MACR,QAAU;AAAA,QACR;AAAA,UACE,GAAK;AAAA,UACL,GAAK;AAAA,QACP;AAAA,QACA;AAAA,UACE,GAAK;AAAA,UACL,GAAK;AAAA,QACP;AAAA,MACF;AAAA,MACA,OAAS;AAAA,MACT,MAAQ;AAAA,IACV;AAAA,IACA,cAAc;AAAA,MACZ,MAAQ;AAAA,MACR,QAAU;AAAA,QACR;AAAA,UACE,GAAK;AAAA,UACL,GAAK;AAAA,QACP;AAAA,QACA;AAAA,UACE,GAAK;AAAA,UACL,GAAK;AAAA,QACP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A,MACF,KAAK;AAAA,MACL,KAAK;AACH,eAAO;AAAA,UACL,GAAG;AAAA,UACH,GAAG,UAAU,IAAI;AAAA,UACjB,GAAG,UAAU,IAAI;AAAA,QACnB;AAAA,MACF,KAAK;AACH,eAAO;AAAA,UACL,GAAG;AAAA,UACH,GAAG,UAAU,IAAI;AAAA,UACjB,GAAG,UAAU,IAAI;AAAA,UACjB,OAAO,UAAU,QAAQ;AAAA,UACzB,QAAQ,UAAU,SAAS;AAAA,QAC7B;AAAA,MACF;AACE,eAAO;AAAA,IACX;AAAA,EACF,CAAC;AAED,SAAO;AAAA,IACL,GAAG;AAAA,IACH,YAAY;AAAA,IACZ,QAAQ;AAAA,MACN,GAAG,OAAO,OAAO,IAAI;AAAA,MACrB,GAAG,OAAO,OAAO,IAAI;AAAA,IACvB;AAAA,IACA,OAAO,OAAO,MAAM,IAAI,CAAC,UAAU;AAAA,MACjC,GAAG;AAAA,MACH,GAAG,KAAK,IAAI;AAAA,MACZ,GAAG,KAAK,IAAI;AAAA,IACd,EAAE;AAAA,IACF,MAAM;AAAA,MACJ,OAAO,WAAW;AAAA,MAClB,QAAQ,YAAY;AAAA,IACtB;AAAA,EACF;AACF;;;AC9CO,IAAM,eACX,OAAO,YAAY,OAAO,KAAK,qBAAO,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;","names":["paths","bounds","refblocks","circles","paths","texts","bounds","refblocks","paths","bounds","refblocks","texts","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","val","ref","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","val","paths","texts","bounds","refblocks","circles","letter","rest","isPrimitive","rotatedSymbol","paths","texts","bounds","refblocks","circles","letter","underline","rest","isPrimitive","rotatedSymbol","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","val","paths","texts","bounds","refblocks","paths","texts","bounds","refblocks","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","val","paths","texts","bounds","refblocks","circles","rotated","ref","val","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","paths","texts","bounds","refblocks","rotated","ref","val","paths","texts","bounds","refblocks","rotated","ref","val","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","val","ref","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","val","ref","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","val","ref","paths","texts","bounds","refblocks","rotated","paths","texts","bounds","refblocks","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","val","paths","texts","bounds","refblocks","rotated","ref","val","paths","texts","bounds","refblocks","rotated","ref","val","paths","texts","bounds","refblocks","circles","paths","texts","bounds","refblocks","circles","rotated","ref","val","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","paths","texts","bounds","refblocks","circles","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","val","paths","texts","bounds","refblocks","circles","rotated","ref","val","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","val","paths","texts","bounds","refblocks","circles","paths","texts","bounds","refblocks","circles","rotated","ref","val","paths","texts","bounds","refblocks","paths","texts","bounds","circles","refblocks","paths","texts","bounds","refblocks","circles","rotated","ref","val"]}
1
+ {"version":3,"sources":["../drawing/defineSymbol.ts","../assets/generated/ac_voltmeter.json","../symbols/ac_voltmeter_horz.ts","../drawing/rotateSymbol.ts","../symbols/ac_voltmeter_vert.ts","../assets/generated/avalanche_diode.json","../symbols/avalanche_diode_horz.ts","../symbols/avalanche_diode_vert.ts","../assets/generated/boxresistor.json","../symbols/boxresistor_horz.ts","../symbols/boxresistor_vert.ts","../assets/generated/capacitor.json","../symbols/capacitor_horz.ts","../symbols/capacitor_vert.ts","../assets/generated/constant_current_diode.json","../symbols/constant_current_diode_horz.ts","../symbols/constant_current_diode_vert.ts","../assets/generated/crystal.json","../symbols/crystal_horz.ts","../symbols/crystal_vert.ts","../assets/generated/dc_ammeter.json","../symbols/dc_ammeter_horz.ts","../symbols/dc_ammeter_vert.ts","../assets/generated/dc_voltmeter.json","../symbols/dc_voltmeter_horz.ts","../symbols/dc_voltmeter_vert.ts","../assets/generated/diac.json","../symbols/diac_horz.ts","../symbols/diac_vert.ts","../assets/generated/diode.json","../symbols/diode_horz.ts","../symbols/diode_vert.ts","../assets/generated/fuse.json","../symbols/fuse_horz.ts","../symbols/fuse_vert.ts","../assets/generated/gunn_diode.json","../symbols/gunn_diode_horz.ts","../symbols/gunn_diode_vert.ts","../assets/generated/igbt_transistor.json","../symbols/igbt_transistor_horz.ts","../symbols/igbt_transistor_vert.ts","../assets/generated/laser_diode.json","../symbols/laser_diode_horz.ts","../symbols/laser_diode_vert.ts","../assets/generated/led.json","../symbols/led_horz.ts","../symbols/led_vert.ts","../assets/generated/mosfet_depletion_normally_on.json","../symbols/mosfet_depletion_normally_on_horz.ts","../symbols/mosfet_depletion_normally_on_vert.ts","../assets/generated/n_channel_d_mosfet_transistor.json","../symbols/n_channel_d_mosfet_transistor_horz.ts","../symbols/n_channel_d_mosfet_transistor_vert.ts","../assets/generated/njfet_transistor.json","../symbols/njfet_transistor_horz.ts","../symbols/njfet_transistor_vert.ts","../assets/generated/p_channel_d_mosfet_transistor.json","../symbols/p_channel_d_mosfet_transistor_horz.ts","../symbols/p_channel_d_mosfet_transistor_vert.ts","../assets/generated/photodiode.json","../symbols/photodiode_horz.ts","../symbols/photodiode_vert.ts","../assets/generated/pjfet_transistor.json","../symbols/pjfet_transistor_horz.ts","../symbols/pjfet_transistor_vert.ts","../assets/generated/potentiometer.json","../symbols/potentiometer_horz.ts","../symbols/potentiometer_vert.ts","../assets/generated/potentiometer2.json","../symbols/potentiometer2_horz.ts","../symbols/potentiometer2_vert.ts","../assets/generated/power_factor_meter.json","../symbols/power_factor_meter_horz.ts","../symbols/power_factor_meter_vert.ts","../assets/generated/push_button_normally_closed_momentary.json","../symbols/push_button_normally_closed_momentary_horz.ts","../symbols/push_button_normally_closed_momentary_vert.ts","../assets/generated/push_button_normally_open_momentary.json","../symbols/push_button_normally_open_momentary_horz.ts","../symbols/push_button_normally_open_momentary_vert.ts","../assets/generated/resonator.json","../symbols/resonator_horz.ts","../symbols/resonator_vert.ts","../assets/generated/schottky_diode.json","../symbols/schottky_diode_horz.ts","../symbols/schottky_diode_vert.ts","../assets/generated/silicon_controlled_rectifier.json","../symbols/silicon_controlled_rectifier_horz.ts","../symbols/silicon_controlled_rectifier_vert.ts","../assets/generated/step_recovery_diode.json","../symbols/step_recovery_diode_horz.ts","../symbols/step_recovery_diode_vert.ts","../assets/generated/triac.json","../symbols/triac_horz.ts","../symbols/triac_vert.ts","../assets/generated/tunnel_diode.json","../symbols/tunnel_diode_horz.ts","../symbols/tunnel_diode_vert.ts","../assets/generated/unijunction_transistor.json","../symbols/unijunction_transistor_horz.ts","../symbols/unijunction_transistor_vert.ts","../assets/generated/var_meter.json","../symbols/var_meter_horz.ts","../symbols/var_meter_vert.ts","../assets/generated/varactor_diode.json","../symbols/varactor_diode_horz.ts","../symbols/varactor_diode_vert.ts","../assets/generated/varistor.json","../symbols/varistor_horz.ts","../symbols/varistor_vert.ts","../assets/generated/volt_meter.json","../symbols/volt_meter_horz.ts","../symbols/volt_meter_vert.ts","../assets/generated/zener_diode.json","../symbols/zener_diode_horz.ts","../symbols/zener_diode_vert.ts","../generated/symbols-index.ts","../drawing/mapColor.ts","../drawing/pathToSvgD.ts","../drawing/getSvg.ts","../drawing/resizeSymbol.ts","../index.ts"],"sourcesContent":["import type { SchSymbol } from \"./types\"\n\nexport function defineSymbol(symbol: SchSymbol): SchSymbol {\n return symbol\n}\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5307178,\n \"y\": 0\n },\n {\n \"x\": -0.3042887999999997,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2899773000000003,\n \"y\": 0\n },\n {\n \"x\": 0.5307178000000001,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-5-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09442299999999992,\n \"y\": -0.1322587999999998\n },\n {\n \"x\": -0.004364400000000712,\n \"y\": 0.05922830000000001\n },\n {\n \"x\": -0.1110211000000012,\n \"y\": -0.1322587999999998\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path17\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.0061693999999994364,\n \"y\": 0.1322588\n },\n {\n \"x\": 0.06546170000000107,\n \"y\": 0.10639120000000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path18\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.06546170000000107,\n \"y\": 0.10639120000000002\n },\n {\n \"x\": 0.13709280000000135,\n \"y\": 0.1322588\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path19\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.14943149999999927,\n \"y\": 0.1322588\n },\n {\n \"x\": -0.07780039999999877,\n \"y\": 0.10639120000000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path20\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.0778004000000001,\n \"y\": 0.10639120000000002\n },\n {\n \"x\": -0.006169299999999822,\n \"y\": 0.1322588\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17652089999999898,\n \"y\": -0.3959705999999994\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.009849199999999891,\n \"y\": 0.3983547000000005\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5446330999999993,\n \"y\": 0\n },\n \"right1\": {\n \"x\": 0.5381638000000004,\n \"y\": 0\n }\n },\n \"bounds\": {\n \"minX\": -0.5307178,\n \"maxX\": 0.5307178000000001,\n \"minY\": -0.1322587999999998,\n \"maxY\": 0.1322588,\n \"width\": 1.0614356000000003,\n \"height\": 1,\n \"centerX\": 5.551115123125783e-17,\n \"centerY\": 1.1102230246251565e-16\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0,\n \"y\": 0,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/ac_voltmeter.json\"\n\nconst { paths, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n {\n type: \"text\",\n text: \"{REF}\",\n x: 0,\n y: -0.3594553499999995,\n anchor: \"middle_bottom\",\n },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: 0,\n y: 0.35,\n anchor: \"middle_top\",\n },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotate, applyToPoint } from \"transformation-matrix\"\nimport type {\n SchSymbol,\n Primitive,\n Point,\n Port,\n NinePointAnchor,\n} from \"./types\"\n\nconst rotateAnchor = (anchor: NinePointAnchor): NinePointAnchor => {\n switch (anchor) {\n case \"middle_top\":\n return \"middle_right\"\n case \"middle_bottom\":\n return \"middle_left\"\n }\n return anchor\n}\n\nexport const rotateSymbol = (\n symbol: SchSymbol,\n overrides?: Partial<SchSymbol>,\n): SchSymbol => {\n const transform = rotate(Math.PI / 2, symbol.center.x, symbol.center.y)\n\n const { primitives, center, size, ports } = symbol\n\n const rotatedPrimitives = primitives.map((primitive): Primitive => {\n primitive = { ...primitive }\n switch (primitive.type) {\n case \"path\":\n return {\n ...primitive,\n points: primitive.points.map(\n (point) => applyToPoint(transform, point) as Point,\n ),\n }\n case \"text\":\n const rotatedPoint = applyToPoint(transform, {\n x: primitive.x,\n y: primitive.y,\n }) as Point\n\n primitive.anchor = rotateAnchor(primitive.anchor)\n\n return {\n ...primitive,\n x: rotatedPoint.x,\n y: rotatedPoint.y,\n }\n case \"circle\":\n const rotatedCenter = applyToPoint(transform, {\n x: primitive.x,\n y: primitive.y,\n }) as Point\n return {\n ...primitive,\n x: rotatedCenter.x,\n y: rotatedCenter.y,\n }\n case \"box\":\n const rotatedCorner = applyToPoint(transform, {\n x: primitive.x,\n y: primitive.y,\n }) as Point\n return {\n ...primitive,\n x: rotatedCorner.x,\n y: rotatedCorner.y,\n width: primitive.height,\n height: primitive.width,\n }\n }\n })\n\n const rotatedPorts = ports.map(\n (port): Port => ({\n ...port,\n ...(applyToPoint(transform, port) as Point),\n }),\n )\n\n return {\n primitives: rotatedPrimitives,\n center,\n ports: rotatedPorts,\n // TODO recompute size using overrides\n size: {\n width: size.height,\n height: size.width,\n },\n ...overrides,\n }\n}\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport dc_voltmeter_horz from \"./ac_voltmeter_horz\"\nimport { Primitive } from \"drawing/types\"\n\nconst {\n 2: letter,\n 3: path1,\n 4: path2,\n 5: path3,\n 6: path4,\n ...rest\n} = dc_voltmeter_horz.primitives\n\nfunction isPrimitive(value: any): value is Primitive {\n return typeof value === \"object\"\n}\n\nconst rotatedSymbol = rotateSymbol({\n ...dc_voltmeter_horz,\n primitives: Object.values(rest).filter(isPrimitive),\n})\n\nexport default {\n ...rotatedSymbol,\n primitives: [...rotatedSymbol.primitives, letter, path1, path2, path3, path4],\n}\n","{\n \"paths\": {\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1413337499999996,\n \"y\": -0.00033784999999975085\n },\n {\n \"x\": -0.12324954999999993,\n \"y\": 0.1319538500000006\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999993,\n \"y\": -0.1326295500000001\n },\n {\n \"x\": 0.1413337499999996,\n \"y\": -0.00033784999999975085\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999993,\n \"y\": 0.13195384999999926\n },\n {\n \"x\": -0.12324954999999993,\n \"y\": -0.1326295500000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1413337499999996,\n \"y\": -0.1326295500000001\n },\n {\n \"x\": 0.1413337499999996,\n \"y\": 0.13195384999999926\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12545425,\n \"y\": -0.00033784999999975085\n },\n {\n \"x\": -0.52012455,\n \"y\": -0.00033784999999975085\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5201245499999998,\n \"y\": -0.00025265000000018745\n },\n {\n \"x\": 0.14641644999999937,\n \"y\": -0.00025265000000018745\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1401360499999995,\n \"y\": -0.13311245000000027\n },\n {\n \"x\": 0.07443344999999923,\n \"y\": -0.15673055000000047\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-8-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.20757744999999939,\n \"y\": 0.15673055000000025\n },\n {\n \"x\": 0.1418748499999991,\n \"y\": 0.13311245000000005\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.0082802500000001,\n \"y\": -0.2301468499999999\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0033669500000002017,\n \"y\": 0.31754375\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5224022500000005,\n \"y\": -0.0012222500000007575\n },\n \"right1\": {\n \"x\": 0.5158919499999994,\n \"y\": -0.00019764999999982713\n }\n },\n \"bounds\": {\n \"minX\": -0.52012455,\n \"maxX\": 0.5201245499999998,\n \"minY\": -0.15673055000000047,\n \"maxY\": 0.15673055000000025,\n \"width\": 1.0402490999999998,\n \"height\": 1,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": -1.1102230246251565e-16\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/avalanche_diode.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport avalanche_diode_horz from \"./avalanche_diode_horz\"\n\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(avalanche_diode_horz)\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_left\"\nval.anchor = \"middle_right\"\n\nexport default rotated\n","{\n \"paths\": {\n \"path1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5291666499999996,\n \"y\": 0\n },\n {\n \"x\": -0.2645833500000001,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2645832500000007,\n \"y\": 0\n },\n {\n \"x\": 0.5291666500000001,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -1.4999999997655777e-7,\n \"y\": -0.13229169999999968\n },\n {\n \"x\": 0.26458314999999955,\n \"y\": -0.13229169999999968\n },\n {\n \"x\": 0.26458314999999955,\n \"y\": 0.13229169999999968\n },\n {\n \"x\": -0.2645835500000011,\n \"y\": 0.13229169999999968\n },\n {\n \"x\": -0.2645835500000011,\n \"y\": -0.13229169999999968\n },\n {\n \"x\": -1.5000000175291461e-7,\n \"y\": -0.13229169999999968\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.018740649999999803,\n \"y\": -0.20383659999999892\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.01777865000000034,\n \"y\": 0.2961594000000023\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5511065500000007,\n \"y\": 0.0003562000000023602\n },\n \"right1\": {\n \"x\": 0.5164748499999998,\n \"y\": 0.0009027000000010332\n }\n },\n \"bounds\": {\n \"minX\": -0.5291666499999996,\n \"maxX\": 0.5291666500000001,\n \"minY\": -0.13229169999999968,\n \"maxY\": 0.13229169999999968,\n \"width\": 1.0583332999999997,\n \"height\": 1,\n \"centerX\": 2.220446049250313e-16,\n \"centerY\": 0\n },\n \"circles\": {}\n}","import svgJson from \"assets/generated/boxresistor.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] },\n { ...refblocks.right1, labels: [\"2\"] },\n ],\n size: { width: bounds.width, height: bounds.height }, //{ width: 1, height: 0.24 },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport boxresistor_horz from \"./boxresistor_horz\"\n\nexport default rotateSymbol(boxresistor_horz)\n","{\n \"paths\": {\n \"path27\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5291666500000001,\n \"y\": 0\n },\n {\n \"x\": 0.07937504999999989,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path28\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.07937494999999961,\n \"y\": 0\n },\n {\n \"x\": -0.5291666500000001,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07937504999999989,\n \"y\": -0.26458330000000174\n },\n {\n \"x\": 0.07937504999999989,\n \"y\": 0.2645832999999982\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path30\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.07937495000000006,\n \"y\": -0.26458330000000174\n },\n {\n \"x\": -0.07937494999999961,\n \"y\": 0.2645832999999982\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0,\n \"y\": -0.36\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0,\n \"y\": 0.36\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5449804500000004,\n \"y\": 0.0009026999999974805\n },\n \"right1\": {\n \"x\": 0.5574381499999999,\n \"y\": 0.00035619999999880747\n }\n },\n \"bounds\": {\n \"minX\": -0.5291666500000001,\n \"maxX\": 0.5291666500000001,\n \"minY\": -0.26458330000000174,\n \"maxY\": 0.2645832999999982,\n \"width\": 1.0583333000000001,\n \"height\": 0.5291665999999999,\n \"centerX\": 0,\n \"centerY\": -1.7763568394002505e-15\n }\n}","import svgJson from \"assets/generated/capacitor.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\n\nconst { paths, bounds, refblocks, texts } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] },\n { ...refblocks.right1, labels: [\"2\"] },\n ],\n size: { width: bounds.width, height: bounds.height }, //{ width: 1, height: 0.24 },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport capacitor_horz from \"./capacitor_horz\"\n\nexport default rotateSymbol(capacitor_horz)\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5307178,\n \"y\": 0\n },\n {\n \"x\": -0.3042887999999997,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2899773000000003,\n \"y\": 0\n },\n {\n \"x\": 0.5307178000000001,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2899773000000003,\n \"y\": -0.2633966000000001\n },\n {\n \"x\": 0.2899773000000003,\n \"y\": 0.2633966000000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17652089999999898,\n \"y\": -0.36197569999999946\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.009849199999999891,\n \"y\": 0.43234960000000044\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5446330999999993,\n \"y\": 0.000852800000000542\n },\n \"right1\": {\n \"x\": 0.5381638000000004,\n \"y\": -0.00014359999999924433\n }\n },\n \"bounds\": {\n \"minX\": -0.5307178,\n \"maxX\": 0.5307178000000001,\n \"minY\": -0.2633966000000001,\n \"maxY\": 0.2633966000000001,\n \"width\": 1.0614356000000003,\n \"height\": 1,\n \"centerX\": 5.551115123125783e-17,\n \"centerY\": 0\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.006997299999999651,\n \"y\": -0.007128299999999532,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/constant_current_diode.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_left\", x: -0.15, y: -0.4 },\n { ...texts.bottom1, anchor: \"middle_left\", x: -0.15 },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport constant_current_diode_horz from \"./constant_current_diode_horz\"\n\nconst rotatedSymbol = rotateSymbol(constant_current_diode_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")!\n\nconst val = texts.find((t) => t.text === \"{VAL}\")!\n\nval.x = -0.35\nval.y = 0\nval.anchor = \"middle_right\"\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.y = 0\nref.x = 0.35\nref.anchor = \"middle_left\"\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path27\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5229378000000002,\n \"y\": -0.012283099999995883\n },\n {\n \"x\": 0.13246630000000037,\n \"y\": -0.012283099999995883\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path28\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.14263049999999966,\n \"y\": -0.012283099999995883\n },\n {\n \"x\": -0.5353954999999999,\n \"y\": -0.012283099999995883\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12606289999999998,\n \"y\": -0.2768663999999976\n },\n {\n \"x\": 0.12606290000000042,\n \"y\": 0.2523002000000023\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07263109999999973,\n \"y\": -0.27614569999999716\n },\n {\n \"x\": 0.07263110000000017,\n \"y\": 0.253020900000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path30\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13852050000000027,\n \"y\": -0.2768663999999976\n },\n {\n \"x\": -0.13852049999999982,\n \"y\": 0.2523002000000023\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.08244070000000026,\n \"y\": -0.27777869999999893\n },\n {\n \"x\": -0.08244069999999981,\n \"y\": 0.2513879000000028\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-2-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07253150000000019,\n \"y\": -0.27761959999999597\n },\n {\n \"x\": -0.08185069999999994,\n \"y\": -0.27761959999999597\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-2-7-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.0721257000000004,\n \"y\": 0.255806800000002\n },\n {\n \"x\": -0.08225649999999973,\n \"y\": 0.255806800000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.012864500000000056,\n \"y\": -0.4150086999999978\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.003850500000000423,\n \"y\": 0.4250087000000011\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5512093000000002,\n \"y\": -0.011380399999998403\n },\n \"right1\": {\n \"x\": 0.5512093,\n \"y\": -0.011926899999997076\n }\n },\n \"bounds\": {\n \"minX\": -0.5793677410000002,\n \"maxX\": 0.579367741,\n \"minY\": -0.5150086999999978,\n \"maxY\": 0.4250087000000011,\n \"width\": 1.1587354820000002,\n \"height\": 1,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": -0.04499999999999832\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/crystal.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n // { ...texts.top1, anchor: \"middle_left\" },\n // { ...texts.bottom1, anchor: \"middle_left\" },\n {\n type: \"text\",\n text: \"{REF}\",\n x: -0.012864500000000056,\n y: -0.4150086999999978,\n anchor: \"middle_bottom\",\n },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: -0.003850500000000423,\n y: 0.4250087000000011,\n anchor: \"middle_top\",\n },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport crystal_horz from \"./crystal_horz\"\n\nconst rotatedSymbol = rotateSymbol(crystal_horz)\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")\nconst ref = texts.find((t) => t.text === \"{REF}\")!\nconst val = texts.find((t) => t.text === \"{VAL}\")!\nval.x = -0.4\nref.x = 0.35\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5307178,\n \"y\": 0\n },\n {\n \"x\": -0.3042887999999997,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2899773000000003,\n \"y\": 0\n },\n {\n \"x\": 0.5307178000000001,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12447409999999959,\n \"y\": 0.0852510999999998\n },\n {\n \"x\": 0.11626639999999999,\n \"y\": 0.0852510999999998\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17652089999999898,\n \"y\": -0.4472267999999995\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.009849199999999891,\n \"y\": 0.3470985000000004\n },\n \"left1\": {\n \"type\": \"text\",\n \"text\": \"A\",\n \"x\": 0,\n \"y\": -0.1\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5446330999999993,\n \"y\": 0\n },\n \"right1\": {\n \"x\": 0.5381638000000004,\n \"y\": 0\n }\n },\n \"bounds\": {\n \"minX\": -0.5307178,\n \"maxX\": 0.5307178000000001,\n \"minY\": -0.08525110000000002,\n \"maxY\": 0.0852510999999998,\n \"width\": 1.0614356000000003,\n \"height\": 1,\n \"centerX\": 5.551115123125783e-17,\n \"centerY\": -1.1102230246251565e-16\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0,\n \"y\": 0,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/dc_ammeter.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n {\n type: \"text\",\n text: \"{REF}\",\n x: 0,\n y: -0.3594553499999995,\n anchor: \"middle_bottom\",\n },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: 0,\n y: 0.35,\n anchor: \"middle_top\",\n },\n { ...texts.left1, anchor: \"center\", fontSize: 0.3 },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport dc_ammeter_horz from \"./dc_ammeter_horz\"\nimport { PathPrimitive, Primitive, TextPrimitive } from \"drawing/types\"\n\nfunction isPathPrimitive(value: any): value is PathPrimitive {\n return (\n typeof value === \"object\" &&\n value !== null &&\n value.type === \"path\" &&\n Array.isArray(value.points) &&\n typeof value.color === \"string\"\n )\n}\n\nfunction isTextPrimitive(value: any): value is TextPrimitive {\n return (\n typeof value === \"object\" &&\n value !== null &&\n value.type === \"text\" &&\n typeof value.text === \"string\" &&\n typeof value.x === \"number\" &&\n typeof value.y === \"number\" &&\n typeof value.anchor === \"string\"\n )\n}\n\nconst { 6: letter, 2: underline, ...rest } = dc_ammeter_horz.primitives\n\nif (isPathPrimitive(underline)) {\n underline.points.map((p) => {\n p.y += 0.05\n })\n}\n\nif (isTextPrimitive(letter)) {\n letter.y += 0.025\n}\n\nfunction isPrimitive(value: any): value is Primitive {\n return typeof value === \"object\"\n}\n\nconst rotatedSymbol = rotateSymbol({\n ...dc_ammeter_horz,\n primitives: Object.values(rest).filter(isPrimitive),\n})\n\nexport default {\n ...rotatedSymbol,\n primitives: [...rotatedSymbol.primitives, letter, underline],\n}\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5307178,\n \"y\": 0\n },\n {\n \"x\": -0.3042887999999997,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2899773000000003,\n \"y\": 0\n },\n {\n \"x\": 0.5307178000000001,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-5-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09442299999999992,\n \"y\": -0.13438304999999984\n },\n {\n \"x\": -0.004364400000000712,\n \"y\": 0.05710404999999996\n },\n {\n \"x\": -0.1110211000000012,\n \"y\": -0.13438304999999984\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12447409999999959,\n \"y\": 0.13438304999999984\n },\n {\n \"x\": 0.11626639999999999,\n \"y\": 0.13438304999999984\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17652089999999898,\n \"y\": -0.39809484999999944\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.009849199999999891,\n \"y\": 0.39623045000000046\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5446330999999993,\n \"y\": 0\n },\n \"right1\": {\n \"x\": 0.5381638000000004,\n \"y\": 0\n }\n },\n \"bounds\": {\n \"minX\": -0.5307178,\n \"maxX\": 0.5307178000000001,\n \"minY\": -0.13438304999999984,\n \"maxY\": 0.13438304999999984,\n \"width\": 1.0614356000000003,\n \"height\": 1,\n \"centerX\": 0,\n \"centerY\": 0\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0,\n \"y\": 0,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/dc_voltmeter.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n {\n type: \"text\",\n text: \"{REF}\",\n x: 0,\n y: -0.3594553499999995,\n anchor: \"middle_bottom\",\n },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: 0,\n y: 0.35,\n anchor: \"middle_top\",\n },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport dc_voltmeter_horz from \"./dc_voltmeter_horz\"\nimport { Primitive } from \"drawing/types\"\n\nconst { 2: letter, 3: underline, ...rest } = dc_voltmeter_horz.primitives\n\nfunction isPrimitive(value: any): value is Primitive {\n return typeof value === \"object\"\n}\n\nconst rotatedSymbol = rotateSymbol({\n ...dc_voltmeter_horz,\n primitives: Object.values(rest).filter(isPrimitive),\n})\n\nexport default {\n ...rotatedSymbol,\n primitives: [...rotatedSymbol.primitives, letter, underline],\n}\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5211797499999996,\n \"y\": 0.014620850000000019\n },\n {\n \"x\": -0.11239775000000019,\n \"y\": 0.014620850000000019\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09960874999999936,\n \"y\": 0.014620850000000019\n },\n {\n \"x\": 0.5211797499999995,\n \"y\": 0.014620850000000019\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.09694955000000016,\n \"y\": 0.20257224999999934\n },\n {\n \"x\": -0.09660955000000016,\n \"y\": -0.20197465000000037\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.08168064999999913,\n \"y\": 0.20139974999999954\n },\n {\n \"x\": 0.08202064999999914,\n \"y\": -0.20314715000000017\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.08666725000000008,\n \"y\": 0.0004314499999999999\n },\n {\n \"x\": -0.08766725000000042,\n \"y\": 0.20314715000000017\n },\n {\n \"x\": 0.08302554999999989,\n \"y\": 0.10741255000000005\n },\n {\n \"x\": -0.0847714500000003,\n \"y\": -0.00011124999999978513\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path11-0-9-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07310254999999932,\n \"y\": -0.20028855000000045\n },\n {\n \"x\": 0.07410254999999988,\n \"y\": 0.002427049999999431\n },\n {\n \"x\": -0.09659025000000065,\n \"y\": -0.09330755000000068\n },\n {\n \"x\": 0.07120674999999954,\n \"y\": -0.2008312500000009\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0,\n \"y\": -0.46047024999999944\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0,\n \"y\": 0.4732020500000005\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5449081499999999,\n \"y\": 0.015473850000000011\n },\n \"right1\": {\n \"x\": 0.5378887499999996,\n \"y\": 0.014477450000000447\n }\n },\n \"bounds\": {\n \"minX\": -0.5211797499999996,\n \"maxX\": 0.5211797499999995,\n \"minY\": -0.20314715000000017,\n \"maxY\": 0.20314715000000017,\n \"width\": 1.042359499999999,\n \"height\": 1,\n \"centerX\": -5.551115123125783e-17,\n \"centerY\": 0\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.0072723500000002606,\n \"y\": 0.007492750000000159,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}\n","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/diac.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport diac_horz from \"./diac_horz\"\nimport { text } from \"drawing/text\"\n\nconst rotatedSymbol = rotateSymbol(diac_horz)\n\nconst texts = rotatedSymbol.primitives.filter(\n (primitive) => primitive.type === \"text\",\n)\n\nconst ref = texts.find((text) => text.text === \"{REF}\")!\nconst val = texts.find((text) => text.text === \"{VAL}\")!\n\nref.y = 0\nval.y = 0\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1413337499999998,\n \"y\": 0\n },\n {\n \"x\": -0.12324954999999971,\n \"y\": 0.13229169999999968\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999971,\n \"y\": -0.13229170000000323\n },\n {\n \"x\": 0.1413337499999998,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999971,\n \"y\": 0.13229169999999613\n },\n {\n \"x\": -0.12324954999999971,\n \"y\": -0.13229170000000323\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1413337499999998,\n \"y\": -0.13229170000000323\n },\n {\n \"x\": 0.1413337499999998,\n \"y\": 0.13229169999999613\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12545424999999977,\n \"y\": 0\n },\n {\n \"x\": -0.5201245499999998,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5201245499999998,\n \"y\": 0.00008519999999734296\n },\n {\n \"x\": 0.1464164499999998,\n \"y\": 0.00008519999999734296\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.008280249999999878,\n \"y\": -0.22980899999999949\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0033669500000002017,\n \"y\": 0.22788159999999976\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5224022500000003,\n \"y\": -0.0008844000000003405\n },\n \"right1\": {\n \"x\": 0.5158919499999999,\n \"y\": 0.00014019999999703714\n }\n },\n \"bounds\": {\n \"minX\": -0.5201245499999998,\n \"maxX\": 0.5201245499999998,\n \"minY\": -0.13229170000000323,\n \"maxY\": 0.13229169999999968,\n \"width\": 1.0402490999999996,\n \"height\": 0.2645834000000029,\n \"centerX\": 0,\n \"centerY\": -1.7763568394002505e-15\n }\n}","import svgJson from \"assets/generated/diode.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport diode_horz from \"./diode_horz\"\n\nexport default rotateSymbol(diode_horz)\n","{\n \"paths\": {\n \"path10\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.529167000000001,\n \"y\": 0\n },\n {\n \"x\": 0.5291669999999993,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path14\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.000001999999998503199,\n \"y\": -0.13229169999999968\n },\n {\n \"x\": 0.2645849999999985,\n \"y\": -0.13229169999999968\n },\n {\n \"x\": 0.2645849999999985,\n \"y\": 0.13229169999999968\n },\n {\n \"x\": -0.26458200000000076,\n \"y\": 0.13229169999999968\n },\n {\n \"x\": -0.26458200000000076,\n \"y\": -0.13229169999999968\n },\n {\n \"x\": 0.000001999999998503199,\n \"y\": -0.13229169999999968\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.00912720000000089,\n \"y\": -0.1995035999999999\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.17251720000000148,\n \"y\": 0.27233090000000004\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5354181000000011,\n \"y\": -0.0030468999999992974\n },\n \"right1\": {\n \"x\": 0.5336915999999992,\n \"y\": 0.0011575000000014768\n }\n },\n \"bounds\": {\n \"minX\": -0.529167000000001,\n \"maxX\": 0.5291669999999993,\n \"minY\": -0.13229169999999968,\n \"maxY\": 0.13229169999999968,\n \"width\": 1.0583340000000003,\n \"height\": 0.26458339999999936,\n \"centerX\": -8.881784197001252e-16,\n \"centerY\": 0\n }\n}","import svgJson from \"assets/generated/fuse.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.top1, anchor: \"middle_bottom\" },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: 0,\n y: 0.2,\n anchor: \"middle_top\",\n },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport fuse_horz from \"./fuse_horz\"\n\nexport default rotateSymbol(fuse_horz)\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.49895505000000084,\n \"y\": -0.036744850000000495\n },\n {\n \"x\": -0.177441850000001,\n \"y\": -0.036744850000000495\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.18704774999999918,\n \"y\": -0.044614150000000574\n },\n {\n \"x\": 0.5063384499999999,\n \"y\": -0.044614150000000574\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3067105499999998,\n \"y\": -0.19992595000000035\n },\n {\n \"x\": -0.3084575500000002,\n \"y\": 0.10413894999999984\n },\n {\n \"x\": -0.01040014999999972,\n \"y\": -0.03945905000000027\n },\n {\n \"x\": -0.3034011499999991,\n \"y\": -0.20073985000000039\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path11-0-9-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3324594500000002,\n \"y\": -0.20076375000000035\n },\n {\n \"x\": 0.33420945000000013,\n \"y\": 0.10330114999999984\n },\n {\n \"x\": 0.03615254999999973,\n \"y\": -0.04029685000000027\n },\n {\n \"x\": 0.32915344999999974,\n \"y\": -0.20157765000000039\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.11729224999999999,\n \"y\": -0.37773544999999986\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.030109249999999532,\n \"y\": 0.38773544999999987\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5177904499999998,\n \"y\": -0.03589204999999995\n },\n \"right1\": {\n \"x\": 0.5177904499999997,\n \"y\": -0.04475774999999982\n }\n },\n \"bounds\": {\n \"minX\": -0.5459488909999998,\n \"maxX\": 0.5459488909999997,\n \"minY\": -0.47773544999999984,\n \"maxY\": 0.38773544999999987,\n \"width\": 1.0918977819999993,\n \"height\": 1,\n \"centerX\": -5.551115123125783e-17,\n \"centerY\": -0.044999999999999984\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/gunn_diode.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_left\" },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: -0.11,\n y: 0.38773544999999987,\n },\n // { ...texts.bottom1, anchor: \"middle_left\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport gunn_diode_horz from \"./gunn_diode_horz\"\n\nconst rotatedSymbol = rotateSymbol(gunn_diode_horz)\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")\nconst ref = texts.find((t) => t.text === \"{REF}\")!\nconst val = texts.find((t) => t.text === \"{VAL}\")!\nref.x = 0.25\nref.y = -0.045\nval.x = -0.55\nval.y = 0\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.33466555000000053,\n \"y\": -0.0037939000000000167\n },\n {\n \"x\": 0.04390385000000019,\n \"y\": -0.0011709000000001968\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12457955000000065,\n \"y\": -0.19306540000000028\n },\n {\n \"x\": 0.123649550000001,\n \"y\": 0.1750840999999994\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.06045334999999952,\n \"y\": 0.1174366\n },\n {\n \"x\": 0.06045334999999952,\n \"y\": -0.14714680000000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.33417885,\n \"y\": 0.2434666000000001\n },\n {\n \"x\": 0.33357884999999987,\n \"y\": 0.5397975000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3346655500000004,\n \"y\": -0.5397975000000003\n },\n {\n \"x\": 0.33406555000000027,\n \"y\": -0.2706031000000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path15\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2236118499999995,\n \"y\": 0.21260169999999978\n },\n {\n \"x\": 0.32845994999999917,\n \"y\": 0.22765899999999983\n },\n {\n \"x\": 0.2828999499999987,\n \"y\": 0.13876569999999977\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path17\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12747495000000053,\n \"y\": 0.08265219999999984\n },\n {\n \"x\": 0.2829977500000005,\n \"y\": 0.19494979999999984\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1246791499999993,\n \"y\": -0.11535130000000038\n },\n {\n \"x\": 0.3341235499999988,\n \"y\": -0.2634207000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.10113134999999929,\n \"y\": -0.3683925999999993\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.08975225000000009,\n \"y\": 0.4174267000000007\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.3348183499999997,\n \"y\": -0.5593924999999992\n },\n \"bottom1\": {\n \"x\": 0.3327607500000005,\n \"y\": 0.5538097000000006\n },\n \"left1\": {\n \"x\": -0.34858084999999983,\n \"y\": -0.0029410999999994747\n }\n },\n \"bounds\": {\n \"minX\": -0.33466555000000053,\n \"maxX\": 0.3346655500000004,\n \"minY\": -0.5397975000000003,\n \"maxY\": 0.5397975000000004,\n \"width\": 1,\n \"height\": 1.0795950000000007,\n \"centerX\": -5.551115123125783e-17,\n \"centerY\": 5.551115123125783e-17\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0.18905494999999983,\n \"y\": -0.010922199999999549,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/igbt_transistor.json\"\nimport { TextPrimitive } from \"drawing/types\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n {\n type: \"text\",\n text: \"{REF}\",\n x: 0,\n y: -0.4,\n anchor: \"middle_right\",\n } as TextPrimitive,\n {\n type: \"text\",\n text: \"{VAL}\",\n x: 0,\n y: 0.4,\n anchor: \"middle_right\",\n } as TextPrimitive,\n ] as any,\n ports: [\n { ...refblocks.top1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.bottom1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n { ...refblocks.left1, labels: [\"3\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX + 0.06, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport igbt_transistor_horz from \"./igbt_transistor_horz\"\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(igbt_transistor_horz)\n\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_left\"\nval.anchor = \"middle_right\"\n\nref.x = 0.45\nref.y += 0.065\nval.y += 0.065\n\nexport default rotated\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5307178000000008,\n \"y\": 0.2023617000000002\n },\n {\n \"x\": -0.15214840000000018,\n \"y\": 0.20498470000000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1289840999999996,\n \"y\": 0.19130049999999987\n },\n {\n \"x\": -0.13559890000000085,\n \"y\": 0.32359219999999955\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13559890000000085,\n \"y\": 0.059008800000000194\n },\n {\n \"x\": 0.1289840999999996,\n \"y\": 0.19130049999999987\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13559890000000085,\n \"y\": 0.3235922000000002\n },\n {\n \"x\": -0.13559890000000085,\n \"y\": 0.059008800000000194\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1289840999999996,\n \"y\": 0.059008800000000194\n },\n {\n \"x\": 0.1289840999999996,\n \"y\": 0.3235922000000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13259069999999995,\n \"y\": 0.1918692999999998\n },\n {\n \"x\": 0.5307178000000008,\n \"y\": 0.20236169999999953\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25-0-9-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.03268000000000071,\n \"y\": -0.25134120000000015\n },\n {\n \"x\": -0.05649420000000016,\n \"y\": -0.3235922000000002\n },\n {\n \"x\": -0.08048579999999972,\n \"y\": -0.2514182000000005\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78-6-5-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.05685430000000058,\n \"y\": -0.13143119999999997\n },\n {\n \"x\": -0.056826700000000674,\n \"y\": -0.14405819999999991\n },\n {\n \"x\": -0.056536700000000994,\n \"y\": -0.2719202000000003\n },\n {\n \"x\": -0.056346700000000416,\n \"y\": -0.2728202000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25-0-9-8-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.06541730000000001,\n \"y\": -0.25134120000000015\n },\n {\n \"x\": 0.04160310000000034,\n \"y\": -0.3235922000000002\n },\n {\n \"x\": 0.017611500000001,\n \"y\": -0.2514182000000005\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78-6-5-5-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.04124299999999992,\n \"y\": -0.13143119999999997\n },\n {\n \"x\": 0.041270600000000046,\n \"y\": -0.14405819999999991\n },\n {\n \"x\": 0.041560599999999726,\n \"y\": -0.2719202000000003\n },\n {\n \"x\": 0.041750600000000304,\n \"y\": -0.2728202000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.028013799999999422,\n \"y\": 0.08349260000000025\n },\n {\n \"x\": 0.028013799999999422,\n \"y\": 0.30697360000000073\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.18325689999999928,\n \"y\": -0.23713399999999885\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.00984920000000078,\n \"y\": 0.6347113000000009\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5446331000000002,\n \"y\": 0.20321450000000074\n },\n \"right1\": {\n \"x\": 0.5381637999999993,\n \"y\": 0.20221810000000118\n }\n },\n \"bounds\": {\n \"minX\": -0.5307178000000008,\n \"maxX\": 0.5307178000000008,\n \"minY\": -0.3235922000000002,\n \"maxY\": 0.3235922000000002,\n \"width\": 1.0614356000000016,\n \"height\": 1,\n \"centerX\": 0,\n \"centerY\": 0\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.006997300000000539,\n \"y\": 0.1952334000000009,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/laser_diode.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_left\" },\n { ...texts.bottom1, anchor: \"middle_bottom\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport laser_diode_horz from \"./laser_diode_horz\"\n\nconst rotatedSymbol = rotateSymbol(laser_diode_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")\n\nconst ref = texts.find((t) => t.text === \"{VAL}\")!\n\nref.x = -0.52\nref.anchor = \"middle_right\"\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path45\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13537969999999966,\n \"y\": 0.09743664999999524\n },\n {\n \"x\": -0.1292036000000003,\n \"y\": 0.22972834999999847\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path1-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12715889999999996,\n \"y\": 0.09766044999999579\n },\n {\n \"x\": 0.5260786,\n \"y\": 0.09766044999999579\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path46\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1292036000000003,\n \"y\": -0.03485505000000444\n },\n {\n \"x\": 0.13537969999999966,\n \"y\": 0.09743664999999524\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path47\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1292036000000003,\n \"y\": 0.22972834999999847\n },\n {\n \"x\": -0.1292036000000003,\n \"y\": -0.03485505000000444\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path48\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13537969999999966,\n \"y\": -0.03485505000000444\n },\n {\n \"x\": 0.13537969999999966,\n \"y\": 0.22972834999999847\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path49\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13124740000000035,\n \"y\": 0.09743664999999524\n },\n {\n \"x\": -0.5260786000000004,\n \"y\": 0.09743664999999524\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.15622170000000057,\n \"y\": -0.19171255000000187\n },\n {\n \"x\": -0.25356400000000034,\n \"y\": -0.20859175000000363\n },\n {\n \"x\": -0.2192612000000005,\n \"y\": -0.11582895000000448\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.08048230000000034,\n \"y\": -0.07216775000000197\n },\n {\n \"x\": -0.09250580000000008,\n \"y\": -0.0811007500000045\n },\n {\n \"x\": -0.21426230000000057,\n \"y\": -0.17155655000000536\n },\n {\n \"x\": -0.21489230000000026,\n \"y\": -0.17250655000000492\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.021244599999999725,\n \"y\": -0.21284915000000026\n },\n {\n \"x\": -0.07609770000000049,\n \"y\": -0.22972835000000202\n },\n {\n \"x\": -0.04179490000000019,\n \"y\": -0.13696555000000288\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09698399999999996,\n \"y\": -0.09330435000000037\n },\n {\n \"x\": 0.08496049999999977,\n \"y\": -0.10223735000000289\n },\n {\n \"x\": -0.03679600000000027,\n \"y\": -0.19269315000000375\n },\n {\n \"x\": -0.0374260000000004,\n \"y\": -0.19364315000000332\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.130039500000000423,\n \"y\": 0.3072088499999944\n },\n \"right1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.15,\n \"y\": -0.1\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5366871000000006,\n \"y\": 0.09817314999999738\n },\n \"right1\": {\n \"x\": 0.5357314999999994,\n \"y\": 0.09862664999999993\n }\n },\n \"bounds\": {\n \"minX\": -0.5260786000000004,\n \"maxX\": 0.5260786,\n \"minY\": -0.22972835000000202,\n \"maxY\": 0.22972834999999847,\n \"width\": 1.0521572000000003,\n \"height\": 0.4594567000000005,\n \"centerX\": -2.220446049250313e-16,\n \"centerY\": -1.7763568394002505e-15\n }\n}","import svgJson from \"assets/generated/led.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.bottom1, anchor: \"middle_right\" },\n { ...texts.right1, anchor: \"middle_left\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\", \"anode\", \"pos\"] },\n { ...refblocks.right1, labels: [\"2\", \"cathode\", \"neg\"] },\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY + 0.1 },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport led_horz from \"./led_horz\"\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(led_horz)\n\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_left\"\nval.anchor = \"middle_right\"\n\nref.x += 0.1\nref.y += 0.017\nval.y = ref.y\nval.x = -0.3\n\nexport default rotated\n","{\n \"paths\": {\n \"path208\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.39687494999999995,\n \"y\": -0.13228999999999935\n },\n {\n \"x\": 0.5291666500000005,\n \"y\": 0.13229300000000066\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path209\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.26458325000000027,\n \"y\": 0.13229300000000066\n },\n {\n \"x\": 0.39687494999999995,\n \"y\": -0.13228999999999935\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path210\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5291666500000005,\n \"y\": 0.13229300000000066\n },\n {\n \"x\": 0.26458325000000027,\n \"y\": 0.13229300000000066\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path211\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.26458325000000027,\n \"y\": -0.13228999999999935\n },\n {\n \"x\": 0.5291666500000005,\n \"y\": -0.13228999999999935\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path212\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13229165000000087,\n \"y\": 0.39687499999999964\n },\n {\n \"x\": 0.39687494999999995,\n \"y\": 0.39687499999999964\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path213\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.39687494999999995,\n \"y\": -0.3968740000000004\n },\n {\n \"x\": 0.13229165000000087,\n \"y\": -0.3968740000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path214\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13229165000000087,\n \"y\": -0.529166\n },\n {\n \"x\": 0.13229165000000087,\n \"y\": -0.1852090000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path215\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13229165000000087,\n \"y\": 0.529166\n },\n {\n \"x\": 0.13229165000000087,\n \"y\": -9.999999992515995e-7\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path216\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.39687494999999995,\n \"y\": 0.39687563000000026\n },\n {\n \"x\": 0.39687494999999995,\n \"y\": -0.3968746999999997\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path217\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13229164999999998,\n \"y\": -0.2645850000000003\n },\n {\n \"x\": -0.13229164999999998,\n \"y\": 0.26458099999999973\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path218\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.21166664999999885,\n \"y\": 0.264581999999999\n },\n {\n \"x\": -0.21166664999999885,\n \"y\": -0.26458399999999926\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path219\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5291666499999996,\n \"y\": 0.26458099999999973\n },\n {\n \"x\": -0.21166664999999885,\n \"y\": 0.264583\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path220\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13229164999999998,\n \"y\": 0.18520600000000087\n },\n {\n \"x\": 0.13229175000000026,\n \"y\": 0.18520600000000087\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path221\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13229164999999998,\n \"y\": -0.18520999999999965\n },\n {\n \"x\": 0.13229175000000026,\n \"y\": -0.18520999999999965\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path222\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.05291665000000023,\n \"y\": -9.999999992515995e-7\n },\n {\n \"x\": 0.13229165000000087,\n \"y\": -9.999999992515995e-7\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"right1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.5827374500000007,\n \"y\": -0.20929270999999972\n },\n \"right2\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.58412285,\n \"y\": -0.021192649999999702\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.13275345000000005,\n \"y\": -0.5440228900000008\n },\n \"bottom1\": {\n \"x\": 0.13239525000000096,\n \"y\": 0.54252477\n },\n \"left1\": {\n \"x\": -0.5308188500000002,\n \"y\": 0.26564980000000027\n }\n },\n \"bounds\": {\n \"minX\": -0.5291666499999996,\n \"maxX\": 0.5291666500000005,\n \"minY\": -0.529166,\n \"maxY\": 0.529166,\n \"width\": 1.0583333000000001,\n \"height\": 1.058332,\n \"centerX\": 4.440892098500626e-16,\n \"centerY\": 0\n }\n}","import svgJson from \"assets/generated/mosfet_depletion_normally_on.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.right1, anchor: \"middle_left\" },\n { ...texts.right2, anchor: \"middle_left\" },\n ] as any,\n ports: [\n { ...refblocks.top1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.bottom1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n { ...refblocks.left1, labels: [\"3\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width + 0.4, height: bounds.height },\n center: { x: bounds.centerX + 0.2, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport mosfet_depletion_normally_on_horz from \"./mosfet_depletion_normally_on_horz\"\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(mosfet_depletion_normally_on_horz)\n\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_top\"\nval.anchor = \"middle_top\"\n\nref.x = val.x\n\nval.y += 0.15\n\nexport default rotated\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.39274354450000026,\n \"y\": 0.10329954999999957\n },\n {\n \"x\": 0.05111245549999932,\n \"y\": 0.1059225499999994\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09373835550000087,\n \"y\": -0.18559775000000034\n },\n {\n \"x\": 0.09280835550000122,\n \"y\": 0.18255174999999935\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.30382435550000064,\n \"y\": -0.53233025\n },\n {\n \"x\": 0.3032243555000005,\n \"y\": -0.10600584999999985\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3108281555000003,\n \"y\": 0.5323308500000001\n },\n {\n \"x\": 0.31142815550000025,\n \"y\": 0.005876249999999805\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09383795549999951,\n \"y\": -0.10788365000000044\n },\n {\n \"x\": 0.31104975549999936,\n \"y\": -0.10659565000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09383795549999951,\n \"y\": 0.10232114999999986\n },\n {\n \"x\": 0.31104975549999936,\n \"y\": 0.10360915000000026\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path15\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.27419885550000034,\n \"y\": 0.04077644999999963\n },\n {\n \"x\": 0.27419885550000034,\n \"y\": -0.030615650000000327\n },\n {\n \"x\": 0.2024438555000001,\n \"y\": 0.004662050000000084\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path2-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09383795549999951,\n \"y\": 0.004018049999999551\n },\n {\n \"x\": 0.31104975549999936,\n \"y\": 0.005306049999999729\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.05171245550000081,\n \"y\": -0.16715385000000005\n },\n {\n \"x\": 0.05111245550000065,\n \"y\": 0.10592255000000006\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.13197254449999907,\n \"y\": -0.36092494999999936\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.05891105550000031,\n \"y\": 0.42489435000000064\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.30397715549999993,\n \"y\": -0.5519248499999992\n },\n \"bottom1\": {\n \"x\": 0.31067575550000126,\n \"y\": 0.5519248499999994\n },\n \"left1\": {\n \"x\": -0.41859744450000025,\n \"y\": 0.10250625000000024\n }\n },\n \"bounds\": {\n \"minX\": -0.4467558855000002,\n \"maxX\": 0.44675588550000006,\n \"minY\": -0.5800832909999992,\n \"maxY\": 0.5800832909999993,\n \"width\": 1,\n \"height\": 1.1601665819999987,\n \"centerX\": -8.326672684688674e-17,\n \"centerY\": 5.551115123125783e-17\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0.15821375550000005,\n \"y\": -0.003454549999999612,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/n_channel_d_mosfet_transistor.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_right\", x: 0 },\n { ...texts.bottom1, anchor: \"middle_right\", x: 0 },\n ] as any,\n ports: [\n { ...refblocks.top1, labels: [\"1\", \"drain\"] }, // TODO add more \"standard\" labels\n { ...refblocks.bottom1, labels: [\"2\", \"source\"] }, // TODO add more \"standard\" labels\n { ...refblocks.left1, labels: [\"3\", \"gate\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport n_channel_d_mosfet_transistor_horz from \"./n_channel_d_mosfet_transistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(n_channel_d_mosfet_transistor_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")!\n\nconst val = texts.find((t) => t.text === \"{VAL}\")!\n\nval.x = -0.35\nval.y = 0\nval.anchor = \"middle_right\"\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.y = 0\nref.x = 0.35\nref.anchor = \"middle_left\"\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.38509374449999945,\n \"y\": 0.00367374999999992\n },\n {\n \"x\": 0.05876225550000025,\n \"y\": 0.00629674999999974\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07415065550000066,\n \"y\": -0.18559775000000034\n },\n {\n \"x\": 0.07322065550000101,\n \"y\": 0.18255174999999935\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.28423665550000043,\n \"y\": -0.53233025\n },\n {\n \"x\": 0.2836366555000003,\n \"y\": -0.10600584999999985\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2912404555000001,\n \"y\": 0.5298821500000002\n },\n {\n \"x\": 0.29184045550000004,\n \"y\": 0.10355795000000012\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07425025549999931,\n \"y\": -0.10788365000000044\n },\n {\n \"x\": 0.29146205549999915,\n \"y\": -0.10659565000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07425025549999931,\n \"y\": 0.10232114999999986\n },\n {\n \"x\": 0.29146205549999915,\n \"y\": 0.10360915000000026\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path15\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.0829488445000004,\n \"y\": -0.06153284999999986\n },\n {\n \"x\": -0.0829488445000004,\n \"y\": 0.06535114999999969\n },\n {\n \"x\": 0.005945155500000077,\n \"y\": 0.0026521499999998532\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.15156024449999927,\n \"y\": -0.36092494999999936\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.0393233555000001,\n \"y\": 0.42489435000000064\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.2843894554999997,\n \"y\": -0.5519248499999992\n },\n \"bottom1\": {\n \"x\": 0.29108805550000105,\n \"y\": 0.5519248499999994\n },\n \"left1\": {\n \"x\": -0.3990097444999998,\n \"y\": 0.004526550000000462\n }\n },\n \"bounds\": {\n \"minX\": -0.4271681854999998,\n \"maxX\": 0.42716818549999985,\n \"minY\": -0.5800832909999992,\n \"maxY\": 0.5800832909999993,\n \"width\": 1,\n \"height\": 1.1601665819999987,\n \"centerX\": 2.7755575615628914e-17,\n \"centerY\": 5.551115123125783e-17\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0.13862605549999985,\n \"y\": -0.003454549999999612,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/njfet_transistor.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_right\", x: 0 },\n { ...texts.bottom1, anchor: \"middle_right\", x: 0 },\n ] as any,\n ports: [\n { ...refblocks.top1, labels: [\"1\", \"drain\"] }, // TODO add more \"standard\" labels\n { ...refblocks.bottom1, labels: [\"2\", \"source\"] }, // TODO add more \"standard\" labels\n { ...refblocks.left1, labels: [\"3\", \"gate\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport njfet_transistor_horz from \"./njfet_transistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(njfet_transistor_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")!\n\nconst val = texts.find((t) => t.text === \"{VAL}\")!\n\nval.x = -0.35\nval.y = 0\nval.anchor = \"middle_right\"\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.y = 0\nref.x = 0.35\nref.anchor = \"middle_left\"\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.39274354450000026,\n \"y\": 0.10329954999999957\n },\n {\n \"x\": 0.05111245549999932,\n \"y\": 0.1059225499999994\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09373835550000087,\n \"y\": -0.18559775000000034\n },\n {\n \"x\": 0.09280835550000122,\n \"y\": 0.18255174999999935\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.30382435550000064,\n \"y\": -0.53233025\n },\n {\n \"x\": 0.3032243555000005,\n \"y\": -0.10600584999999985\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3108281555000003,\n \"y\": 0.5323308500000001\n },\n {\n \"x\": 0.31142815550000025,\n \"y\": 0.005876249999999805\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09383795549999951,\n \"y\": -0.10788365000000044\n },\n {\n \"x\": 0.31104975549999936,\n \"y\": -0.10659565000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09383795549999951,\n \"y\": 0.10232114999999986\n },\n {\n \"x\": 0.31104975549999936,\n \"y\": 0.10360915000000026\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path15\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.20244405549999955,\n \"y\": -0.03061555000000049\n },\n {\n \"x\": 0.20244405549999955,\n \"y\": 0.04077654999999947\n },\n {\n \"x\": 0.2741990554999998,\n \"y\": 0.0054987499999992195\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path2-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09383795549999951,\n \"y\": 0.004018049999999551\n },\n {\n \"x\": 0.31104975549999936,\n \"y\": 0.005306049999999729\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.05171245550000081,\n \"y\": -0.16715385000000005\n },\n {\n \"x\": 0.05111245550000065,\n \"y\": 0.10592255000000006\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.13197254449999907,\n \"y\": -0.36092494999999936\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.05891105550000031,\n \"y\": 0.42489435000000064\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.30397715549999993,\n \"y\": -0.5519248499999992\n },\n \"bottom1\": {\n \"x\": 0.31067575550000126,\n \"y\": 0.5519248499999994\n },\n \"left1\": {\n \"x\": -0.41859744450000025,\n \"y\": 0.10250625000000024\n }\n },\n \"bounds\": {\n \"minX\": -0.4467558855000002,\n \"maxX\": 0.44675588550000006,\n \"minY\": -0.5800832909999992,\n \"maxY\": 0.5800832909999993,\n \"width\": 1,\n \"height\": 1.1601665819999987,\n \"centerX\": -8.326672684688674e-17,\n \"centerY\": 5.551115123125783e-17\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0.15821375550000005,\n \"y\": -0.003454549999999612,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/p_channel_d_mosfet_transistor.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_right\", x: 0 },\n { ...texts.bottom1, anchor: \"middle_right\", x: 0 },\n ] as any,\n ports: [\n { ...refblocks.top1, labels: [\"1\", \"drain\"] }, // TODO add more \"standard\" labels\n { ...refblocks.bottom1, labels: [\"2\", \"source\"] }, // TODO add more \"standard\" labels\n { ...refblocks.left1, labels: [\"3\", \"gate\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport p_channel_d_mosfet_transistor_horz from \"./p_channel_d_mosfet_transistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(p_channel_d_mosfet_transistor_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")!\n\nconst val = texts.find((t) => t.text === \"{VAL}\")!\n\nval.x = -0.35\nval.y = 0\nval.anchor = \"middle_right\"\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.y = 0\nref.x = 0.35\nref.anchor = \"middle_left\"\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5307178000000009,\n \"y\": 0.15879225000000008\n },\n {\n \"x\": -0.15214840000000018,\n \"y\": 0.1614152499999999\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12898409999999938,\n \"y\": 0.14773104999999975\n },\n {\n \"x\": -0.13559890000000085,\n \"y\": 0.28002274999999943\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13559890000000085,\n \"y\": 0.015439350000000074\n },\n {\n \"x\": 0.12898409999999938,\n \"y\": 0.14773104999999975\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13559890000000085,\n \"y\": 0.2800227500000001\n },\n {\n \"x\": -0.13559890000000085,\n \"y\": 0.015439350000000074\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12898409999999938,\n \"y\": 0.015439350000000074\n },\n {\n \"x\": 0.12898409999999938,\n \"y\": 0.2800227500000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13259069999999995,\n \"y\": 0.14829984999999968\n },\n {\n \"x\": 0.5307178000000006,\n \"y\": 0.1587922499999994\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.19516320000000031,\n \"y\": -0.22938755000000044\n },\n {\n \"x\": 0.15939019999999982,\n \"y\": -0.13729605000000022\n },\n {\n \"x\": 0.2571001999999991,\n \"y\": -0.1526013500000003\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.32731219999999994,\n \"y\": -0.2800227500000003\n },\n {\n \"x\": 0.3161811999999997,\n \"y\": -0.2700010500000003\n },\n {\n \"x\": 0.20345820000000003,\n \"y\": -0.1685088500000005\n },\n {\n \"x\": 0.2024082000000007,\n \"y\": -0.16810885000000053\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3425051999999993,\n \"y\": -0.20294964999999987\n },\n {\n \"x\": 0.306732199999999,\n \"y\": -0.11085814999999966\n },\n {\n \"x\": 0.4044417999999992,\n \"y\": -0.12616344999999973\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78-6-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.4746538,\n \"y\": -0.25358484999999975\n },\n {\n \"x\": 0.4635227999999998,\n \"y\": -0.24356314999999973\n },\n {\n \"x\": 0.3507997999999999,\n \"y\": -0.14207094999999992\n },\n {\n \"x\": 0.34974980000000055,\n \"y\": -0.14167095000000018\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17652089999999987,\n \"y\": -0.20318344999999938\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.00984920000000078,\n \"y\": 0.5911418500000005\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5446331000000002,\n \"y\": 0.15964505000000062\n },\n \"right1\": {\n \"x\": 0.5381637999999995,\n \"y\": 0.15864865000000083\n }\n },\n \"bounds\": {\n \"minX\": -0.5307178000000009,\n \"maxX\": 0.5307178000000006,\n \"minY\": -0.2800227500000003,\n \"maxY\": 0.2800227500000001,\n \"width\": 1.0614356000000016,\n \"height\": 1,\n \"centerX\": -1.6653345369377348e-16,\n \"centerY\": -1.1102230246251565e-16\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.006997300000000539,\n \"y\": 0.15166395000000055,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/photodiode.json\"\nimport { TextPrimitive } from \"drawing/types\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n {\n type: \"text\",\n text: \"{REF}\",\n x: -0.15,\n y: -0.20318344999999938,\n anchor: \"middle_right\",\n } as TextPrimitive,\n {\n type: \"text\",\n text: \"{VAL}\",\n x: -0.00984920000000078,\n y: 0.5,\n anchor: \"middle_top\",\n } as TextPrimitive,\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport photodiode_horz from \"./photodiode_horz\"\n\nconst rotatedSymbol = rotateSymbol(photodiode_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.y = 0\nref.anchor = \"middle_left\"\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.38509374449999945,\n \"y\": 0.00367374999999992\n },\n {\n \"x\": 0.05876225550000025,\n \"y\": 0.00629674999999974\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07415065550000066,\n \"y\": -0.18559775000000034\n },\n {\n \"x\": 0.07322065550000101,\n \"y\": 0.18255174999999935\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.28423665550000043,\n \"y\": -0.53233025\n },\n {\n \"x\": 0.2836366555000003,\n \"y\": -0.10600584999999985\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2912404555000001,\n \"y\": 0.5298821500000002\n },\n {\n \"x\": 0.29184045550000004,\n \"y\": 0.10355795000000012\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07425025549999931,\n \"y\": -0.10788365000000044\n },\n {\n \"x\": 0.29146205549999915,\n \"y\": -0.10659565000000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07425025549999931,\n \"y\": 0.10232114999999986\n },\n {\n \"x\": 0.29146205549999915,\n \"y\": 0.10360915000000026\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path15\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.005945155500000077,\n \"y\": 0.06535114999999969\n },\n {\n \"x\": 0.005945155500000077,\n \"y\": -0.06153284999999986\n },\n {\n \"x\": -0.0829488445000004,\n \"y\": 0.001166149999999977\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.15156024449999927,\n \"y\": -0.36092494999999936\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.0393233555000001,\n \"y\": 0.42489435000000064\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.2843894554999997,\n \"y\": -0.5519248499999992\n },\n \"bottom1\": {\n \"x\": 0.29108805550000105,\n \"y\": 0.5519248499999994\n },\n \"left1\": {\n \"x\": -0.3990097444999998,\n \"y\": 0.004526550000000462\n }\n },\n \"bounds\": {\n \"minX\": -0.4271681854999998,\n \"maxX\": 0.42716818549999985,\n \"minY\": -0.5800832909999992,\n \"maxY\": 0.5800832909999993,\n \"width\": 1,\n \"height\": 1.1601665819999987,\n \"centerX\": 2.7755575615628914e-17,\n \"centerY\": 5.551115123125783e-17\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0.13862605549999985,\n \"y\": -0.003454549999999612,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/pjfet_transistor.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_right\", x: 0 },\n { ...texts.bottom1, anchor: \"middle_right\" },\n ] as any,\n ports: [\n { ...refblocks.top1, labels: [\"1\", \"drain\"] }, // TODO add more \"standard\" labels\n { ...refblocks.bottom1, labels: [\"2\", \"source\"] }, // TODO add more \"standard\" labels\n { ...refblocks.left1, labels: [\"3\", \"gate\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport pjfet_transistor_horz from \"./pjfet_transistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(pjfet_transistor_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")!\n\nconst val = texts.find((t) => t.text === \"{VAL}\")!\n\nval.x = -0.35\nval.y = 0\nval.anchor = \"middle_right\"\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.y = 0\nref.x = 0.35\nref.anchor = \"middle_left\"\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5291669499999998,\n \"y\": 0.14345965000000027\n },\n {\n \"x\": -0.2645836500000003,\n \"y\": 0.14345965000000027\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.26458334999999944,\n \"y\": 0.14345965000000027\n },\n {\n \"x\": 0.5291669499999998,\n \"y\": 0.14345965000000027\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path13\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.0000012499999997306332,\n \"y\": 0.01116785000000009\n },\n {\n \"x\": 0.26458424999999997,\n \"y\": 0.01116785000000009\n },\n {\n \"x\": 0.26458424999999997,\n \"y\": 0.2757512500000001\n },\n {\n \"x\": -0.26458274999999953,\n \"y\": 0.2757512500000001\n },\n {\n \"x\": -0.26458274999999953,\n \"y\": 0.01116785000000009\n },\n {\n \"x\": 0.0000012500000010629009,\n \"y\": 0.01116785000000009\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path15\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.06517084999999967,\n \"y\": -0.10588935\n },\n {\n \"x\": -0.06529785000000032,\n \"y\": -0.10588935\n },\n {\n \"x\": -0.00006345000000052003,\n \"y\": 0.00700125000000007\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path17\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.00025875000000041837,\n \"y\": -0.2757512500000001\n },\n {\n \"x\": 0.00025875000000041837,\n \"y\": -0.060545250000000106\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.007583050000000924,\n \"y\": 0.4315381500000006\n },\n \"right1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.12478014999999942,\n \"y\": -0.09260654999999884\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5449899500000002,\n \"y\": 0.1443124500000008\n },\n \"right1\": {\n \"x\": 0.5378069499999996,\n \"y\": 0.14331605000000103\n }\n },\n \"bounds\": {\n \"minX\": -0.5291669499999998,\n \"maxX\": 0.5291669499999998,\n \"minY\": -0.2757512500000001,\n \"maxY\": 0.2757512500000001,\n \"width\": 1.0583338999999996,\n \"height\": 0.5515025000000002,\n \"centerX\": 0,\n \"centerY\": 0\n }\n}","import svgJson from \"assets/generated/potentiometer.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.bottom1, y: 0.35, anchor: \"middle_top\" },\n { ...texts.right1, anchor: \"middle_left\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width + 0.05, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport potentiometer_horz from \"./potentiometer_horz\"\n\nconst rotated = rotateSymbol(potentiometer_horz)\n\nexport default rotated\n","{\n \"paths\": {\n \"path18\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5291669499999998,\n \"y\": 0.0008545000000008685\n },\n {\n \"x\": -0.26458365000000006,\n \"y\": 0.0008545000000008685\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path19\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.26458334999999966,\n \"y\": 0.0008545000000008685\n },\n {\n \"x\": 0.5291669499999996,\n \"y\": 0.0008545000000008685\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path20\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.0000012499999995085886,\n \"y\": -0.1314371999999988\n },\n {\n \"x\": 0.26458424999999997,\n \"y\": -0.1314371999999988\n },\n {\n \"x\": 0.26458424999999997,\n \"y\": 0.13314619999999877\n },\n {\n \"x\": -0.26458274999999976,\n \"y\": 0.13314619999999877\n },\n {\n \"x\": -0.26458274999999976,\n \"y\": -0.1314371999999988\n },\n {\n \"x\": 0.0000012500000012849455,\n \"y\": -0.1314371999999988\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path23\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.28137284999999945,\n \"y\": 0.2822274\n },\n {\n \"x\": 0.17906194999999903,\n \"y\": 0.25486950000000164\n },\n {\n \"x\": 0.2540149499999984,\n \"y\": 0.1799165000000027\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path24\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.29134274999999965,\n \"y\": 0.2921307000000013\n },\n {\n \"x\": 0.2577490499999997,\n \"y\": 0.16634940000000142\n },\n {\n \"x\": 0.16536614999999966,\n \"y\": 0.25853690000000284\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path26\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.29551765000000074,\n \"y\": -0.2921307000000013\n },\n {\n \"x\": 0.23295514999999956,\n \"y\": 0.2328032000000011\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.02811516999999933,\n \"y\": -0.2509376800000009\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0,\n \"y\": 0.25857531999999985\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5316179500000004,\n \"y\": 0.0013439000000019519\n },\n \"right1\": {\n \"x\": 0.5377649500000006,\n \"y\": 0.001956599999999753\n }\n },\n \"bounds\": {\n \"minX\": -0.5291669499999998,\n \"maxX\": 0.5291669499999996,\n \"minY\": -0.2921307000000013,\n \"maxY\": 0.2921307000000013,\n \"width\": 1.0583338999999994,\n \"height\": 0.5842614000000026,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": 0\n }\n}","import svgJson from \"assets/generated/potentiometer2.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.bottom1, anchor: \"middle_right\" },\n { ...texts.top1, anchor: \"middle_left\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport potentiometer2_horz from \"./potentiometer2_horz\"\n\nexport default rotateSymbol(potentiometer2_horz)\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5307178,\n \"y\": 0\n },\n {\n \"x\": -0.3042887999999997,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2899773000000003,\n \"y\": 0\n },\n {\n \"x\": 0.5307178000000001,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.16538809999999904,\n \"y\": -0.36705149999999964\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0066096999999991635,\n \"y\": 0.42330070000000064\n },\n \"left1\": {\n \"type\": \"text\",\n \"text\": \"COS φ\",\n \"x\": -0.14859499999999937,\n \"y\": 0.014279000000000375\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5446330999999993,\n \"y\": 0.000852800000000542\n },\n \"right1\": {\n \"x\": 0.5381638000000004,\n \"y\": -0.00014359999999924433\n }\n },\n \"bounds\": {\n \"minX\": -0.5307178,\n \"maxX\": 0.5307178000000001,\n \"minY\": 0,\n \"maxY\": 0,\n \"width\": 1.0614356000000003,\n \"height\": 1,\n \"centerX\": 5.551115123125783e-17,\n \"centerY\": 0\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.006997299999999651,\n \"y\": -0.007128299999999532,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/power_factor_meter.json\"\nimport { ninePointAnchorToSvgAnchor } from \"drawing/ninePointAnchorToSvgAnchor\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n // { ...texts.top1, anchor: \"middle_left\" },\n {\n type: \"text\",\n text: \"{REF}\",\n x: -0.15,\n y: -0.42330070000000064,\n anchor: \"middle_left\",\n },\n // { ...texts.bottom1, anchor: \"middle_left\" },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: -0.15,\n y: 0.42330070000000064,\n anchor: \"middle_left\",\n },\n // { ...texts.left1, anchor: \"middle_left\" },\n {\n type: \"text\",\n text: \"COS φ\",\n x: -0.14,\n y: 0.014279000000000375,\n anchor: \"middle-left\",\n },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport power_factor_meter_horz from \"./power_factor_meter_horz\"\nimport { text } from \"drawing/text\"\n\nconst rotatedSymbol = rotateSymbol(power_factor_meter_horz)\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")\nconst ref = texts.find((t) => t.text === \"{REF}\")!\nconst val = texts.find((t) => t.text === \"{VAL}\")!\nconst text_cos = texts.find((t) => t.text === \"COS φ\")!\nref.x = 0.35\nref.y = 0\nval.x = -0.6\nval.y = 0\ntext_cos.x = -0.1\ntext_cos.y = 0\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path12-1-8-6-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.00978914999999958,\n \"y\": -0.06036500000000089\n },\n {\n \"x\": 0.00978914999999958,\n \"y\": 0.05484799999999801\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.4877753500000006,\n \"y\": 0.036569000000000074\n },\n {\n \"x\": -0.17346905000000135,\n \"y\": 0.036569000000000074\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1755235500000003,\n \"y\": 0.060364999999999114\n },\n {\n \"x\": 0.19505664999999972,\n \"y\": 0.060364999999999114\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.19513044999999973,\n \"y\": 0.0361799999999981\n },\n {\n \"x\": 0.4877753499999997,\n \"y\": 0.0361799999999981\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0,\n \"y\": -0.24084600000000123\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0,\n \"y\": 0.2741959999999981\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.4721668500000007,\n \"y\": 0.03654200000000074\n },\n \"right1\": {\n \"x\": 0.47143025000000005,\n \"y\": 0.036566999999999794\n }\n },\n \"bounds\": {\n \"minX\": -0.4877753500000006,\n \"maxX\": 0.4877753499999997,\n \"minY\": -0.06036500000000089,\n \"maxY\": 0.060364999999999114,\n \"width\": 0.9755507000000003,\n \"height\": 0.12073,\n \"centerX\": -4.440892098500626e-16,\n \"centerY\": -8.881784197001252e-16\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/push_button_normally_closed_momentary.json\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport push_button_normally_closed_momentary_horz from \"./push_button_normally_closed_momentary_horz\"\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(push_button_normally_closed_momentary_horz)\n\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_left\"\nval.anchor = \"middle_right\"\n\nref.x = ref.x - 0.03\nref.y = ref.y\n\nval.x = val.x\nval.y = 0\n\nexport default rotated\n","{\n \"paths\": {\n \"path12-1-8-6-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.005593950000001513,\n \"y\": -0.1021504999999987\n },\n {\n \"x\": 0.005593950000001513,\n \"y\": 0.014242499999999936\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.4877753499999997,\n \"y\": 0.10215050000000225\n },\n {\n \"x\": -0.17346904999999957,\n \"y\": 0.10215050000000225\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.16045524999999916,\n \"y\": 0.019816500000001014\n },\n {\n \"x\": 0.17160265000000052,\n \"y\": 0.019816500000001014\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.19513045000000062,\n \"y\": 0.10176150000000028\n },\n {\n \"x\": 0.4877753500000006,\n \"y\": 0.10176150000000028\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0,\n \"y\": -0.17395249999999862\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0,\n \"y\": 0.2752844999999997\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.4721668499999989,\n \"y\": 0.10212350000000114\n },\n \"right1\": {\n \"x\": 0.47143025000000094,\n \"y\": 0.1021485000000002\n }\n },\n \"bounds\": {\n \"minX\": -0.4877753499999997,\n \"maxX\": 0.4877753500000006,\n \"minY\": -0.1021504999999987,\n \"maxY\": 0.10215050000000225,\n \"width\": 0.9755507000000003,\n \"height\": 0.20430100000000095,\n \"centerX\": 4.440892098500626e-16,\n \"centerY\": 1.7763568394002505e-15\n }\n}\n","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/push_button_normally_open_momentary.json\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport push_button_normally_open_momentary_horz from \"./push_button_normally_open_momentary_horz\"\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(push_button_normally_open_momentary_horz)\n\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_left\"\nval.anchor = \"middle_right\"\n\nref.x = ref.x + 0.1\nref.y = ref.y\n\nval.x = val.x\nval.y = 0\n\nexport default rotated\n","{\n \"paths\": {\n \"path27\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.7635944500000007,\n \"y\": 0.28495445000000075\n },\n {\n \"x\": 0.3138028500000005,\n \"y\": 0.28495445000000075\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path28\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.301017949999999,\n \"y\": 0.02024775000000112\n },\n {\n \"x\": -0.7508096499999994,\n \"y\": 0.02024775000000112\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path30\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3010179499999994,\n \"y\": -0.34304865000000007\n },\n {\n \"x\": -0.301017949999999,\n \"y\": 0.2848310499999993\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path27-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.7729788499999999,\n \"y\": -0.34624514999999967\n },\n {\n \"x\": 0.32318725000000015,\n \"y\": -0.34624514999999967\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.07279374999999932,\n \"y\": 0.28481924999999997\n },\n {\n \"x\": -0.2983350499999995,\n \"y\": 0.28481924999999997\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.33114835000000076,\n \"y\": 0.284840449999999\n },\n {\n \"x\": 0.10560705000000059,\n \"y\": 0.284840449999999\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.055820049999999455,\n \"y\": 0.17265845000000013\n },\n {\n \"x\": -0.055820049999999455,\n \"y\": 0.39819974999999985\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09396265000000081,\n \"y\": 0.17268285000000105\n },\n {\n \"x\": 0.09396265000000081,\n \"y\": 0.3982241500000008\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.07296184999999955,\n \"y\": -0.3463701499999985\n },\n {\n \"x\": -0.2985031499999997,\n \"y\": -0.3463701499999985\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.33098025000000053,\n \"y\": -0.3463489500000012\n },\n {\n \"x\": 0.10543895000000036,\n \"y\": -0.3463489500000012\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.05598814999999968,\n \"y\": -0.4585309500000001\n },\n {\n \"x\": -0.05598814999999968,\n \"y\": -0.2329896499999986\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6-6-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09379455000000014,\n \"y\": -0.45850655000000096\n },\n {\n \"x\": 0.09379455000000014,\n \"y\": -0.23296525000000123\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-92\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3315317500000008,\n \"y\": -0.12063885000000063\n },\n {\n \"x\": 0.33153175000000035,\n \"y\": -0.34618015000000035\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-28\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3315105500000004,\n \"y\": 0.28330324999999945\n },\n {\n \"x\": 0.3315105500000004,\n \"y\": 0.05776194999999973\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.44369255000000063,\n \"y\": -0.1036651500000012\n },\n {\n \"x\": 0.21815125000000046,\n \"y\": -0.1036651500000012\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6-6-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.4436681500000006,\n \"y\": 0.04611754999999995\n },\n {\n \"x\": 0.21812685000000043,\n \"y\": 0.04611754999999995\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6-9-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.44235445000000073,\n \"y\": -0.06667004999999904\n },\n {\n \"x\": 0.21681315000000057,\n \"y\": -0.06667004999999904\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6-9-2-4\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.4429695500000004,\n \"y\": 0.007559849999998036\n },\n {\n \"x\": 0.4430214500000007,\n \"y\": -0.06634914999999886\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6-9-2-4-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.21634305000000031,\n \"y\": 0.008546850000001882\n },\n {\n \"x\": 0.21639495000000064,\n \"y\": -0.06536215000000212\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path29-5-7-6-9-2-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.4429537500000005,\n \"y\": 0.009130850000000024\n },\n {\n \"x\": 0.21741245000000076,\n \"y\": 0.009130850000000024\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.01596175000000022,\n \"y\": -0.5308501500000009\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.013116750000000454,\n \"y\": 0.5408501499999989\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.7666234499999998,\n \"y\": 0.0211504499999986\n },\n \"right1\": {\n \"x\": 0.7666234500000004,\n \"y\": -0.344347250000002\n },\n \"right2\": {\n \"x\": 0.7572390499999999,\n \"y\": 0.2868523500000002\n }\n },\n \"bounds\": {\n \"minX\": -0.7947818909999997,\n \"maxX\": 0.7947818910000004,\n \"minY\": -0.6308501500000009,\n \"maxY\": 0.5408501499999989,\n \"width\": 1.5895637820000001,\n \"height\": 1.1717003,\n \"centerX\": 3.3306690738754696e-16,\n \"centerY\": -0.045000000000000984\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/resonator.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n // { ...texts.top1, anchor: \"middle_left\" },\n // { ...texts.bottom1, anchor: \"middle_left\" },\n {\n type: \"text\",\n text: \"{REF}\",\n x: 0.01596175000000022,\n y: -0.5308501500000009,\n anchor: \"middle_bottom\",\n },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: 0.013116750000000454,\n y: 0.5408501499999989,\n anchor: \"middle_top\",\n },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right2, labels: [\"3\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport resonator_horz from \"./resonator_horz\"\n\nexport default rotateSymbol(resonator_horz)\n","{\n \"paths\": {\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.14133375000000115,\n \"y\": 0.0006371999999998934\n },\n {\n \"x\": -0.12324954999999838,\n \"y\": 0.13292890000000046\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999971,\n \"y\": -0.13165450000000045\n },\n {\n \"x\": 0.1413337499999998,\n \"y\": 0.0006371999999998934\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999971,\n \"y\": 0.13292890000000046\n },\n {\n \"x\": -0.12324954999999971,\n \"y\": -0.1316544999999989\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.14027445000000127,\n \"y\": -0.13377310000000042\n },\n {\n \"x\": 0.14133345000000053,\n \"y\": 0.1329288999999989\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12545424999999977,\n \"y\": 0.0006371999999998934\n },\n {\n \"x\": -0.5201245499999998,\n \"y\": 0.0006371999999998934\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5201245499999998,\n \"y\": 0.0007223999999994568\n },\n {\n \"x\": 0.1464164499999996,\n \"y\": 0.0007223999999994568\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.20429785000000056,\n \"y\": -0.13505779999999978\n },\n {\n \"x\": 0.14015525000000095,\n \"y\": -0.1339758000000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-7-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.20608895000000027,\n \"y\": -0.08549420000000074\n },\n {\n \"x\": 0.2047149500000005,\n \"y\": -0.13482980000000122\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-7-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.0765343500000002,\n \"y\": 0.1349070999999995\n },\n {\n \"x\": 0.13988425000000015,\n \"y\": 0.1346870999999994\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-7-9-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.0743883500000011,\n \"y\": 0.0857221999999993\n },\n {\n \"x\": 0.07576235000000087,\n \"y\": 0.1350578\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.00828064999999878,\n \"y\": -0.2291716000000008\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.003367349999999103,\n \"y\": 0.31851899999999933\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5224026499999993,\n \"y\": -0.0002470999999999446\n },\n \"right1\": {\n \"x\": 0.5158915500000005,\n \"y\": 0.0007775999999992678\n }\n },\n \"bounds\": {\n \"minX\": -0.5201245499999998,\n \"maxX\": 0.5201245499999998,\n \"minY\": -0.13505779999999978,\n \"maxY\": 0.1350578,\n \"width\": 1.0402490999999996,\n \"height\": 1,\n \"centerX\": 0,\n \"centerY\": 1.1102230246251565e-16\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/schottky_diode.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport schottky_diode_horz from \"./schottky_diode_horz\"\n\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(schottky_diode_horz)\n\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_left\"\nval.anchor = \"middle_right\"\n\nexport default rotated\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.49895505000000084,\n \"y\": -0.036744850000000495\n },\n {\n \"x\": -0.177441850000001,\n \"y\": -0.036744850000000495\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.18704774999999918,\n \"y\": -0.044614150000000574\n },\n {\n \"x\": 0.5063384499999999,\n \"y\": -0.044614150000000574\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.18219425000000045,\n \"y\": 0.15700134999999915\n },\n {\n \"x\": 0.1810882500000004,\n \"y\": -0.246215650000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.18646324999999986,\n \"y\": 0.00021334999999966797\n },\n {\n \"x\": 0.34602244999999954,\n \"y\": 0.14039324999999936\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-2-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3463884499999992,\n \"y\": 0.14577354999999947\n },\n {\n \"x\": 0.3447284499999994,\n \"y\": 0.3393437499999994\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.17016305000000087,\n \"y\": -0.2656752500000006\n },\n {\n \"x\": -0.17223005000000047,\n \"y\": 0.1570086499999992\n },\n {\n \"x\": 0.180362149999999,\n \"y\": -0.042608550000000855\n },\n {\n \"x\": -0.16624855000000038,\n \"y\": -0.26680665000000126\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.22312565000000006,\n \"y\": -0.37773544999999986\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.030109249999999532,\n \"y\": 0.38773544999999987\n }\n },\n \"refblocks\": {\n \"bottom1\": {\n \"x\": 0.3445824499999999,\n \"y\": 0.35453845000000017\n },\n \"left1\": {\n \"x\": -0.5177904499999998,\n \"y\": -0.03589204999999995\n },\n \"right1\": {\n \"x\": 0.5177904499999997,\n \"y\": -0.04475774999999982\n }\n },\n \"bounds\": {\n \"minX\": -0.5459488909999998,\n \"maxX\": 0.5459488909999997,\n \"minY\": -0.47773544999999984,\n \"maxY\": 0.38773544999999987,\n \"width\": 1.0918977819999993,\n \"height\": 1,\n \"centerX\": -5.551115123125783e-17,\n \"centerY\": -0.044999999999999984\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/silicon_controlled_rectifier.json\"\nimport { TextPrimitive } from \"drawing/types\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_left\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n { ...refblocks.bottom1, labels: [\"3\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport silicon_controlled_rectifier_horz from \"./silicon_controlled_rectifier_horz\"\n\nconst rotatedSymbol = rotateSymbol(silicon_controlled_rectifier_horz)\n\nconst texts = rotatedSymbol.primitives.filter(\n (primitive) => primitive.type === \"text\",\n)\n\nconst ref = texts.find((text) => text.text === \"{REF}\")!\n\nref.y = 0\nref.anchor = \"middle_left\"\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.14458890000000002,\n \"y\": -0.03903629999999936\n },\n {\n \"x\": -0.1199943999999995,\n \"y\": 0.09325540000000032\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1199943999999995,\n \"y\": -0.1713280000000026\n },\n {\n \"x\": 0.14458890000000002,\n \"y\": -0.03903629999999936\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1199943999999995,\n \"y\": 0.09325539999999677\n },\n {\n \"x\": -0.1199943999999995,\n \"y\": -0.1713280000000026\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.14458890000000002,\n \"y\": -0.1713280000000026\n },\n {\n \"x\": 0.14458890000000002,\n \"y\": 0.09325539999999677\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12219909999999956,\n \"y\": -0.03903629999999936\n },\n {\n \"x\": -0.5168693999999996,\n \"y\": -0.03903629999999936\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5233797,\n \"y\": -0.038951100000002015\n },\n {\n \"x\": 0.14967160000000002,\n \"y\": -0.038951100000002015\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.19156529999999972,\n \"y\": 0.09340209999999871\n },\n {\n \"x\": 0.14591529999999908,\n \"y\": 0.0937620999999993\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-5-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.19233440000000046,\n \"y\": 0.1405493999999976\n },\n {\n \"x\": 0.19197439999999988,\n \"y\": 0.09489939999999919\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.0050250999999996715,\n \"y\": -0.26884529999999884\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.00011179999999999524,\n \"y\": 0.2788453000000004\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5191471000000001,\n \"y\": -0.0399206999999997\n },\n \"right1\": {\n \"x\": 0.5191471000000001,\n \"y\": -0.03889610000000232\n }\n },\n \"bounds\": {\n \"minX\": -0.5473055410000001,\n \"maxX\": 0.5473055410000001,\n \"minY\": -0.3688452999999988,\n \"maxY\": 0.2788453000000004,\n \"width\": 1.0946110820000001,\n \"height\": 1,\n \"centerX\": 0,\n \"centerY\": -0.04499999999999921\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/step_recovery_diode.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n // { ...texts.top1, anchor: \"middle_left\" },\n // { ...texts.bottom1, anchor: \"middle_left\" },\n {\n type: \"text\",\n text: \"{REF}\",\n x: -0.0050250999999996715,\n y: -0.26884529999999884,\n anchor: \"middle_bottom\",\n },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: -0.00011179999999999524,\n y: 0.2788453000000004,\n anchor: \"middle_top\",\n },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport step_recovery_diode_horz from \"./step_recovery_diode_horz\"\n\nexport default rotateSymbol(step_recovery_diode_horz)\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5211797499999996,\n \"y\": -0.06283009999999978\n },\n {\n \"x\": -0.11239775000000019,\n \"y\": -0.06283009999999978\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09960874999999936,\n \"y\": -0.06283009999999978\n },\n {\n \"x\": 0.5211797499999995,\n \"y\": -0.06283009999999978\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.09694955000000016,\n \"y\": 0.12512129999999955\n },\n {\n \"x\": -0.09660955000000016,\n \"y\": -0.27942560000000016\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.08168064999999913,\n \"y\": 0.12394879999999975\n },\n {\n \"x\": 0.08202064999999914,\n \"y\": -0.28059809999999996\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.08666725000000008,\n \"y\": -0.0770194999999998\n },\n {\n \"x\": -0.08766725000000042,\n \"y\": 0.12569620000000037\n },\n {\n \"x\": 0.08302554999999989,\n \"y\": 0.029961600000000255\n },\n {\n \"x\": -0.0847714500000003,\n \"y\": -0.07756219999999958\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path11-0-9-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07310254999999932,\n \"y\": -0.27773950000000025\n },\n {\n \"x\": 0.07410254999999988,\n \"y\": -0.07502390000000037\n },\n {\n \"x\": -0.09659025000000065,\n \"y\": -0.17075850000000048\n },\n {\n \"x\": 0.07120674999999954,\n \"y\": -0.2782822000000007\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path12-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.08650115000000014,\n \"y\": 0.03856369999999987\n },\n {\n \"x\": 0.26729024999999984,\n \"y\": 0.15002969999999993\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-2-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2694016499999996,\n \"y\": 0.15483390000000008\n },\n {\n \"x\": 0.2677306499999994,\n \"y\": 0.28059809999999996\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.1767959499999996,\n \"y\": -0.47792119999999923\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0337326499999997,\n \"y\": 0.3957511000000007\n }\n },\n \"refblocks\": {\n \"bottom1\": {\n \"x\": 0.2687293500000003,\n \"y\": 0.2877112000000006\n },\n \"left1\": {\n \"x\": -0.5449081499999999,\n \"y\": -0.061977099999999785\n },\n \"right1\": {\n \"x\": 0.5378887499999996,\n \"y\": -0.06297349999999935\n }\n },\n \"bounds\": {\n \"minX\": -0.5211797499999996,\n \"maxX\": 0.5211797499999995,\n \"minY\": -0.28059809999999996,\n \"maxY\": 0.28059809999999996,\n \"width\": 1.042359499999999,\n \"height\": 1,\n \"centerX\": -5.551115123125783e-17,\n \"centerY\": 0\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.0072723500000002606,\n \"y\": -0.06995819999999964,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/triac.json\"\nimport { TextPrimitive } from \"drawing/types\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_left\" } as TextPrimitive,\n { ...texts.bottom1, anchor: \"middle_top\" } as TextPrimitive,\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n { ...refblocks.bottom1, labels: [\"3\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport triac_horz from \"./triac_horz\"\n\nconst rotatedSymbol = rotateSymbol(triac_horz)\n\nconst texts = rotatedSymbol.primitives.filter(\n (primitive) => primitive.type === \"text\",\n)\n\nconst ref = texts.find((text) => text.text === \"{REF}\")!\nconst val = texts.find((text) => text.text === \"{VAL}\")!\n\nref.y = 0\nval.y = 0\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1413337499999996,\n \"y\": -0.00041674999999941065\n },\n {\n \"x\": -0.12324954999999993,\n \"y\": 0.13187495000000093\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999993,\n \"y\": -0.13270844999999976\n },\n {\n \"x\": 0.1413337499999996,\n \"y\": -0.00041674999999941065\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999993,\n \"y\": 0.1318749499999996\n },\n {\n \"x\": -0.12324954999999993,\n \"y\": -0.13270844999999976\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1413337499999996,\n \"y\": -0.13270844999999976\n },\n {\n \"x\": 0.1413337499999996,\n \"y\": 0.1318749499999996\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12545425,\n \"y\": -0.00041674999999941065\n },\n {\n \"x\": -0.52012455,\n \"y\": -0.00041674999999941065\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5201245499999998,\n \"y\": -0.00033154999999984724\n },\n {\n \"x\": 0.14641644999999937,\n \"y\": -0.00033154999999984724\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1401360499999995,\n \"y\": -0.13319134999999993\n },\n {\n \"x\": 0.07403164999999912,\n \"y\": -0.13270134999999916\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-8-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.14135174999999967,\n \"y\": 0.13270134999999939\n },\n {\n \"x\": 0.07524734999999927,\n \"y\": 0.13319134999999993\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.0082802500000001,\n \"y\": -0.23022574999999956\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0033669500000002017,\n \"y\": 0.31746485000000035\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5224022500000005,\n \"y\": -0.0013011500000004173\n },\n \"right1\": {\n \"x\": 0.5158919499999994,\n \"y\": -0.00027654999999948693\n }\n },\n \"bounds\": {\n \"minX\": -0.52012455,\n \"maxX\": 0.5201245499999998,\n \"minY\": -0.13319134999999993,\n \"maxY\": 0.13319134999999993,\n \"width\": 1.0402490999999998,\n \"height\": 1,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": 0\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/tunnel_diode.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport tunnel_diode_horz from \"./tunnel_diode_horz\"\n\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(tunnel_diode_horz)\n\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_left\"\nval.anchor = \"middle_right\"\n\nexport default rotated\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.28028125000000026,\n \"y\": -0.18363744999999976\n },\n {\n \"x\": 0.026079749999999402,\n \"y\": 0.01407124999999998\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.28028125000000004,\n \"y\": -0.10352595000000009\n },\n {\n \"x\": 0.27922824999999984,\n \"y\": -0.35434414999999997\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.27938104999999913,\n \"y\": 0.10352595000000031\n },\n {\n \"x\": 0.27832804999999894,\n \"y\": 0.35434414999999997\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.03390104999999988,\n \"y\": 0.20084214999999972\n },\n {\n \"x\": 0.034241049999999884,\n \"y\": -0.20370475\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2793946500000004,\n \"y\": -0.0988287499999998\n },\n {\n \"x\": 0.035857850000000635,\n \"y\": -0.09831875000000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.06526925000000006,\n \"y\": -0.10971855000000019\n },\n {\n \"x\": -0.12276784999999979,\n \"y\": -0.017362650000000368\n },\n {\n \"x\": -0.011061549999999531,\n \"y\": -0.010478650000000256\n },\n {\n \"x\": -0.06417395000000004,\n \"y\": -0.10940415000000026\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path11-0-3-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2794681499999996,\n \"y\": 0.10493455000000007\n },\n {\n \"x\": 0.035931349999999806,\n \"y\": 0.10064755000000014\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.1482464500000007,\n \"y\": -0.36744674999999916\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.044801550000000386,\n \"y\": 0.44524095000000097\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.27890874490352635,\n \"y\": -0.37379973645924736\n },\n \"bottom1\": {\n \"x\": 0.27800811130820335,\n \"y\": 0.37379961987673127\n },\n \"left1\": {\n \"x\": -0.2933948500000001,\n \"y\": -0.1934820499999994\n }\n },\n \"bounds\": {\n \"minX\": -0.28028125000000026,\n \"maxX\": 0.28028125000000004,\n \"minY\": -0.35434414999999997,\n \"maxY\": 0.35434414999999997,\n \"width\": 1,\n \"height\": 1,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": 0\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0.12734104999999962,\n \"y\": 0.014895050000000465,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/unijunction_transistor.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_left\" },\n { ...texts.bottom1, anchor: \"middle_right\" },\n ] as any,\n ports: [\n { ...refblocks.top1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.bottom1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n { ...refblocks.left1, labels: [\"3\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport unijunction_transistor_horz from \"./unijunction_transistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(unijunction_transistor_horz)\n\nconst texts = rotatedSymbol.primitives.filter(\n (primitive) => primitive.type === \"text\",\n)\n\nconst ref = texts.find((text) => text.text === \"{REF}\")!\n\nref.y = 0.1\n\nconst val = texts.find((text) => text.text === \"{VAL}\")!\n\nval.y = 0.1\nval.x = -0.4\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5307178,\n \"y\": 0\n },\n {\n \"x\": -0.3042887999999997,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2899773000000003,\n \"y\": 0\n },\n {\n \"x\": 0.5307178000000001,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17652089999999898,\n \"y\": -0.36197569999999946\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.009849199999999891,\n \"y\": 0.43234960000000044\n },\n \"left1\": {\n \"type\": \"text\",\n \"text\": \"Var\",\n \"x\": -0.19436529999999896,\n \"y\": 0.07249430000000023\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5446330999999993,\n \"y\": 0.000852800000000542\n },\n \"right1\": {\n \"x\": 0.5381638000000004,\n \"y\": -0.00014359999999924433\n }\n },\n \"bounds\": {\n \"minX\": -0.5307178,\n \"maxX\": 0.5307178000000001,\n \"minY\": 0,\n \"maxY\": 0,\n \"width\": 1.0614356000000003,\n \"height\": 1,\n \"centerX\": 5.551115123125783e-17,\n \"centerY\": 0\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.006997299999999651,\n \"y\": -0.007128299999999532,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/var_meter.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n {\n ...texts.top1,\n x: 0,\n y: -0.3594553499999995,\n anchor: \"middle_bottom\",\n },\n {\n ...texts.bottom1,\n x: 0,\n y: 0.35,\n anchor: \"middle_top\",\n },\n { ...texts.left1, x: -0.02, y: -0.02, fontSize: 0.2, anchor: \"center\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport var_meter_horz from \"./var_meter_horz\"\n\nexport default rotateSymbol(var_meter_horz)\n","{\n \"paths\": {\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.08035965000000034,\n \"y\": -0.0017977999999994054\n },\n {\n \"x\": -0.18422364999999918,\n \"y\": 0.13049390000000116\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.18422365000000052,\n \"y\": -0.13408949999999975\n },\n {\n \"x\": 0.080359649999999,\n \"y\": -0.0017977999999994054\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.18422365000000052,\n \"y\": 0.13049390000000116\n },\n {\n \"x\": -0.18422365000000052,\n \"y\": -0.1340894999999982\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09188504999999969,\n \"y\": -0.1326124999999998\n },\n {\n \"x\": 0.09294404999999917,\n \"y\": 0.13408949999999953\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1984993499999994,\n \"y\": -0.0017977999999994054\n },\n {\n \"x\": -0.5222461500000002,\n \"y\": -0.0017977999999994054\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5222461500000002,\n \"y\": -0.001712599999999842\n },\n {\n \"x\": 0.20220525000000067,\n \"y\": -0.001712599999999842\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.18242454999999969,\n \"y\": -0.13264619999999994\n },\n {\n \"x\": 0.18348354999999894,\n \"y\": 0.1340557999999994\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.008090549999999253,\n \"y\": -0.2316066000000001\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0031772499999995762,\n \"y\": 0.31608400000000003\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5222125499999998,\n \"y\": -0.0026820999999992434\n },\n \"right1\": {\n \"x\": 0.5160816500000001,\n \"y\": -0.001657400000000031\n }\n },\n \"bounds\": {\n \"minX\": -0.5222461500000002,\n \"maxX\": 0.5222461500000002,\n \"minY\": -0.13408949999999975,\n \"maxY\": 0.13408949999999953,\n \"width\": 1.0444923000000004,\n \"height\": 1,\n \"centerX\": 0,\n \"centerY\": -1.1102230246251565e-16\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/varactor_diode.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport varactor_diode_horz from \"./varactor_diode_horz\"\n\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(varactor_diode_horz)\n\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_left\"\nval.anchor = \"middle_right\"\n\nexport default rotated\n","{\n \"paths\": {\n \"path5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5291668,\n \"y\": 0\n },\n {\n \"x\": -0.2645835000000005,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2645835000000005,\n \"y\": 0\n },\n {\n \"x\": 0.5291668,\n \"y\": 0\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2645835000000005,\n \"y\": 0.23812500000000192\n },\n {\n \"x\": -0.2645834999999992,\n \"y\": -0.23812500000000014\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3704165000000006,\n \"y\": 0.23812500000000192\n },\n {\n \"x\": 0.2645835000000005,\n \"y\": 0.23812500000000192\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.000001400000000817414,\n \"y\": -0.13229179999999907\n },\n {\n \"x\": 0.2645844000000013,\n \"y\": -0.13229179999999907\n },\n {\n \"x\": 0.2645844000000013,\n \"y\": 0.13229160000000206\n },\n {\n \"x\": -0.26458259999999845,\n \"y\": 0.13229160000000206\n },\n {\n \"x\": -0.26458259999999845,\n \"y\": -0.13229179999999907\n },\n {\n \"x\": 0.0000014000000021496817,\n \"y\": -0.13229179999999907\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0,\n \"y\": -0.2470063999999983\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0,\n \"y\": 0.256324600000001\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5438152999999999,\n \"y\": 0.0016897000000017925\n },\n \"right1\": {\n \"x\": 0.5346478000000006,\n \"y\": -0.0006806999999984242\n }\n },\n \"bounds\": {\n \"minX\": -0.5291668,\n \"maxX\": 0.5291668,\n \"minY\": -0.23812500000000014,\n \"maxY\": 0.23812500000000192,\n \"width\": 1.0583336,\n \"height\": 0.47625000000000206,\n \"centerX\": 0,\n \"centerY\": 8.881784197001252e-16\n }\n}","import svgJson from \"assets/generated/varistor.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\n\nconst { paths, texts, bounds, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n { ...texts.top1, anchor: \"middle_left\" },\n { ...texts.bottom1, anchor: \"middle_right\" },\n ] as any,\n ports: [\n {\n ...refblocks.left1,\n labels: [\"1\", \"-\"],\n },\n {\n ...refblocks.right1,\n labels: [\"2\", \"+\"],\n },\n ],\n size: { width: bounds.width, height: bounds.height }, //{ width: 1, height: 0.24 },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport varistor_horz from \"./varistor_horz\"\n\nexport default rotateSymbol(varistor_horz, {})\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5307178,\n \"y\": 0.002520349999999949\n },\n {\n \"x\": -0.3042887999999997,\n \"y\": 0.002520349999999949\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-5-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09442299999999992,\n \"y\": -0.0957435499999999\n },\n {\n \"x\": -0.004364400000000712,\n \"y\": 0.0957435499999999\n },\n {\n \"x\": -0.1110211000000012,\n \"y\": -0.0957435499999999\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2899773000000003,\n \"y\": 0.002520349999999949\n },\n {\n \"x\": 0.5307178000000001,\n \"y\": 0.002520349999999949\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17652089999999898,\n \"y\": -0.3594553499999995\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.009849199999999891,\n \"y\": 0.4348699500000004\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5446330999999993,\n \"y\": 0.003373150000000491\n },\n \"right1\": {\n \"x\": 0.5381638000000004,\n \"y\": 0.0023767500000007047\n }\n },\n \"bounds\": {\n \"minX\": -0.5307178,\n \"maxX\": 0.5307178000000001,\n \"minY\": -0.0957435499999999,\n \"maxY\": 0.0957435499999999,\n \"width\": 1.0614356000000003,\n \"height\": 1,\n \"centerX\": 5.551115123125783e-17,\n \"centerY\": 0\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.006997299999999651,\n \"y\": -0.004607949999999583,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/volt_meter.json\"\n\nconst { paths, texts, bounds, circles, refblocks } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n {\n type: \"text\",\n text: \"{REF}\",\n x: 0,\n y: -0.3594553499999995,\n anchor: \"middle_bottom\",\n },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: 0,\n y: 0.35,\n anchor: \"middle_top\",\n },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport volt_meter_horz from \"./volt_meter_horz\"\n\nexport default rotateSymbol(volt_meter_horz)\n","{\n \"paths\": {\n \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1413337499999996,\n \"y\": 0.00024145000000008743\n },\n {\n \"x\": -0.12324954999999993,\n \"y\": 0.13253315000000043\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999993,\n \"y\": -0.13205025000000026\n },\n {\n \"x\": 0.1413337499999996,\n \"y\": 0.00024145000000008743\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12324954999999993,\n \"y\": 0.1325331499999991\n },\n {\n \"x\": -0.12324954999999993,\n \"y\": -0.13205025000000026\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1413337499999996,\n \"y\": -0.13205025000000026\n },\n {\n \"x\": 0.1413337499999996,\n \"y\": 0.1325331499999991\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12545425,\n \"y\": 0.00024145000000008743\n },\n {\n \"x\": -0.52012455,\n \"y\": 0.00024145000000008743\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5201245499999998,\n \"y\": 0.00032664999999965083\n },\n {\n \"x\": 0.14641644999999937,\n \"y\": 0.00032664999999965083\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1401360499999995,\n \"y\": -0.13253315000000043\n },\n {\n \"x\": 0.07403164999999912,\n \"y\": -0.13204314999999966\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.0082802500000001,\n \"y\": -0.22956755000000006\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0033669500000002017,\n \"y\": 0.31812304999999985\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5224022500000005,\n \"y\": -0.0006429500000009192\n },\n \"right1\": {\n \"x\": 0.5158919499999994,\n \"y\": 0.00038165000000001115\n }\n },\n \"bounds\": {\n \"minX\": -0.52012455,\n \"maxX\": 0.5201245499999998,\n \"minY\": -0.13253315000000043,\n \"maxY\": 0.13253315000000043,\n \"width\": 1.0402490999999998,\n \"height\": 1,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": 0\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/zener_diode.json\"\n\nconst { paths, texts, bounds, refblocks, circles } = svgJson\n\nexport default defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n { ...texts.top1, anchor: \"middle_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as any,\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\"] }, // TODO add more \"standard\" labels\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport zener_diode_horz from \"./zener_diode_horz\"\n\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(zener_diode_horz)\nconst ref = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{REF}\",\n)! as TextPrimitive\nconst val = rotated.primitives.find(\n (p) => p.type === \"text\" && p.text === \"{VAL}\",\n)! as TextPrimitive\n\nref.anchor = \"middle_left\"\nval.anchor = \"middle_right\"\n\nexport default rotated\n","import _ac_voltmeter_horz from \"./../symbols/ac_voltmeter_horz\"\nimport _ac_voltmeter_vert from \"./../symbols/ac_voltmeter_vert\"\nimport _avalanche_diode_horz from \"./../symbols/avalanche_diode_horz\"\nimport _avalanche_diode_vert from \"./../symbols/avalanche_diode_vert\"\nimport _boxresistor_horz from \"./../symbols/boxresistor_horz\"\nimport _boxresistor_vert from \"./../symbols/boxresistor_vert\"\nimport _capacitor_horz from \"./../symbols/capacitor_horz\"\nimport _capacitor_vert from \"./../symbols/capacitor_vert\"\nimport _constant_current_diode_horz from \"./../symbols/constant_current_diode_horz\"\nimport _constant_current_diode_vert from \"./../symbols/constant_current_diode_vert\"\nimport _crystal_horz from \"./../symbols/crystal_horz\"\nimport _crystal_vert from \"./../symbols/crystal_vert\"\nimport _dc_ammeter_horz from \"./../symbols/dc_ammeter_horz\"\nimport _dc_ammeter_vert from \"./../symbols/dc_ammeter_vert\"\nimport _dc_voltmeter_horz from \"./../symbols/dc_voltmeter_horz\"\nimport _dc_voltmeter_vert from \"./../symbols/dc_voltmeter_vert\"\nimport _diac_horz from \"./../symbols/diac_horz\"\nimport _diac_vert from \"./../symbols/diac_vert\"\nimport _diode_horz from \"./../symbols/diode_horz\"\nimport _diode_vert from \"./../symbols/diode_vert\"\nimport _fuse_horz from \"./../symbols/fuse_horz\"\nimport _fuse_vert from \"./../symbols/fuse_vert\"\nimport _gunn_diode_horz from \"./../symbols/gunn_diode_horz\"\nimport _gunn_diode_vert from \"./../symbols/gunn_diode_vert\"\nimport _igbt_transistor_horz from \"./../symbols/igbt_transistor_horz\"\nimport _igbt_transistor_vert from \"./../symbols/igbt_transistor_vert\"\nimport _laser_diode_horz from \"./../symbols/laser_diode_horz\"\nimport _laser_diode_vert from \"./../symbols/laser_diode_vert\"\nimport _led_horz from \"./../symbols/led_horz\"\nimport _led_vert from \"./../symbols/led_vert\"\nimport _mosfet_depletion_normally_on_horz from \"./../symbols/mosfet_depletion_normally_on_horz\"\nimport _mosfet_depletion_normally_on_vert from \"./../symbols/mosfet_depletion_normally_on_vert\"\nimport _n_channel_d_mosfet_transistor_horz from \"./../symbols/n_channel_d_mosfet_transistor_horz\"\nimport _n_channel_d_mosfet_transistor_vert from \"./../symbols/n_channel_d_mosfet_transistor_vert\"\nimport _njfet_transistor_horz from \"./../symbols/njfet_transistor_horz\"\nimport _njfet_transistor_vert from \"./../symbols/njfet_transistor_vert\"\nimport _p_channel_d_mosfet_transistor_horz from \"./../symbols/p_channel_d_mosfet_transistor_horz\"\nimport _p_channel_d_mosfet_transistor_vert from \"./../symbols/p_channel_d_mosfet_transistor_vert\"\nimport _photodiode_horz from \"./../symbols/photodiode_horz\"\nimport _photodiode_vert from \"./../symbols/photodiode_vert\"\nimport _pjfet_transistor_horz from \"./../symbols/pjfet_transistor_horz\"\nimport _pjfet_transistor_vert from \"./../symbols/pjfet_transistor_vert\"\nimport _potentiometer_horz from \"./../symbols/potentiometer_horz\"\nimport _potentiometer_vert from \"./../symbols/potentiometer_vert\"\nimport _potentiometer2_horz from \"./../symbols/potentiometer2_horz\"\nimport _potentiometer2_vert from \"./../symbols/potentiometer2_vert\"\nimport _power_factor_meter_horz from \"./../symbols/power_factor_meter_horz\"\nimport _power_factor_meter_vert from \"./../symbols/power_factor_meter_vert\"\nimport _push_button_normally_closed_momentary_horz from \"./../symbols/push_button_normally_closed_momentary_horz\"\nimport _push_button_normally_closed_momentary_vert from \"./../symbols/push_button_normally_closed_momentary_vert\"\nimport _push_button_normally_open_momentary_horz from \"./../symbols/push_button_normally_open_momentary_horz\"\nimport _push_button_normally_open_momentary_vert from \"./../symbols/push_button_normally_open_momentary_vert\"\nimport _resonator_horz from \"./../symbols/resonator_horz\"\nimport _resonator_vert from \"./../symbols/resonator_vert\"\nimport _schottky_diode_horz from \"./../symbols/schottky_diode_horz\"\nimport _schottky_diode_vert from \"./../symbols/schottky_diode_vert\"\nimport _silicon_controlled_rectifier_horz from \"./../symbols/silicon_controlled_rectifier_horz\"\nimport _silicon_controlled_rectifier_vert from \"./../symbols/silicon_controlled_rectifier_vert\"\nimport _step_recovery_diode_horz from \"./../symbols/step_recovery_diode_horz\"\nimport _step_recovery_diode_vert from \"./../symbols/step_recovery_diode_vert\"\nimport _triac_horz from \"./../symbols/triac_horz\"\nimport _triac_vert from \"./../symbols/triac_vert\"\nimport _tunnel_diode_horz from \"./../symbols/tunnel_diode_horz\"\nimport _tunnel_diode_vert from \"./../symbols/tunnel_diode_vert\"\nimport _unijunction_transistor_horz from \"./../symbols/unijunction_transistor_horz\"\nimport _unijunction_transistor_vert from \"./../symbols/unijunction_transistor_vert\"\nimport _var_meter_horz from \"./../symbols/var_meter_horz\"\nimport _var_meter_vert from \"./../symbols/var_meter_vert\"\nimport _varactor_diode_horz from \"./../symbols/varactor_diode_horz\"\nimport _varactor_diode_vert from \"./../symbols/varactor_diode_vert\"\nimport _varistor_horz from \"./../symbols/varistor_horz\"\nimport _varistor_vert from \"./../symbols/varistor_vert\"\nimport _volt_meter_horz from \"./../symbols/volt_meter_horz\"\nimport _volt_meter_vert from \"./../symbols/volt_meter_vert\"\nimport _zener_diode_horz from \"./../symbols/zener_diode_horz\"\nimport _zener_diode_vert from \"./../symbols/zener_diode_vert\"\n\nexport default {\n \"ac_voltmeter_horz\": _ac_voltmeter_horz,\n \"ac_voltmeter_vert\": _ac_voltmeter_vert,\n \"avalanche_diode_horz\": _avalanche_diode_horz,\n \"avalanche_diode_vert\": _avalanche_diode_vert,\n \"boxresistor_horz\": _boxresistor_horz,\n \"boxresistor_vert\": _boxresistor_vert,\n \"capacitor_horz\": _capacitor_horz,\n \"capacitor_vert\": _capacitor_vert,\n \"constant_current_diode_horz\": _constant_current_diode_horz,\n \"constant_current_diode_vert\": _constant_current_diode_vert,\n \"crystal_horz\": _crystal_horz,\n \"crystal_vert\": _crystal_vert,\n \"dc_ammeter_horz\": _dc_ammeter_horz,\n \"dc_ammeter_vert\": _dc_ammeter_vert,\n \"dc_voltmeter_horz\": _dc_voltmeter_horz,\n \"dc_voltmeter_vert\": _dc_voltmeter_vert,\n \"diac_horz\": _diac_horz,\n \"diac_vert\": _diac_vert,\n \"diode_horz\": _diode_horz,\n \"diode_vert\": _diode_vert,\n \"fuse_horz\": _fuse_horz,\n \"fuse_vert\": _fuse_vert,\n \"gunn_diode_horz\": _gunn_diode_horz,\n \"gunn_diode_vert\": _gunn_diode_vert,\n \"igbt_transistor_horz\": _igbt_transistor_horz,\n \"igbt_transistor_vert\": _igbt_transistor_vert,\n \"laser_diode_horz\": _laser_diode_horz,\n \"laser_diode_vert\": _laser_diode_vert,\n \"led_horz\": _led_horz,\n \"led_vert\": _led_vert,\n \"mosfet_depletion_normally_on_horz\": _mosfet_depletion_normally_on_horz,\n \"mosfet_depletion_normally_on_vert\": _mosfet_depletion_normally_on_vert,\n \"n_channel_d_mosfet_transistor_horz\": _n_channel_d_mosfet_transistor_horz,\n \"n_channel_d_mosfet_transistor_vert\": _n_channel_d_mosfet_transistor_vert,\n \"njfet_transistor_horz\": _njfet_transistor_horz,\n \"njfet_transistor_vert\": _njfet_transistor_vert,\n \"p_channel_d_mosfet_transistor_horz\": _p_channel_d_mosfet_transistor_horz,\n \"p_channel_d_mosfet_transistor_vert\": _p_channel_d_mosfet_transistor_vert,\n \"photodiode_horz\": _photodiode_horz,\n \"photodiode_vert\": _photodiode_vert,\n \"pjfet_transistor_horz\": _pjfet_transistor_horz,\n \"pjfet_transistor_vert\": _pjfet_transistor_vert,\n \"potentiometer_horz\": _potentiometer_horz,\n \"potentiometer_vert\": _potentiometer_vert,\n \"potentiometer2_horz\": _potentiometer2_horz,\n \"potentiometer2_vert\": _potentiometer2_vert,\n \"power_factor_meter_horz\": _power_factor_meter_horz,\n \"power_factor_meter_vert\": _power_factor_meter_vert,\n \"push_button_normally_closed_momentary_horz\": _push_button_normally_closed_momentary_horz,\n \"push_button_normally_closed_momentary_vert\": _push_button_normally_closed_momentary_vert,\n \"push_button_normally_open_momentary_horz\": _push_button_normally_open_momentary_horz,\n \"push_button_normally_open_momentary_vert\": _push_button_normally_open_momentary_vert,\n \"resonator_horz\": _resonator_horz,\n \"resonator_vert\": _resonator_vert,\n \"schottky_diode_horz\": _schottky_diode_horz,\n \"schottky_diode_vert\": _schottky_diode_vert,\n \"silicon_controlled_rectifier_horz\": _silicon_controlled_rectifier_horz,\n \"silicon_controlled_rectifier_vert\": _silicon_controlled_rectifier_vert,\n \"step_recovery_diode_horz\": _step_recovery_diode_horz,\n \"step_recovery_diode_vert\": _step_recovery_diode_vert,\n \"triac_horz\": _triac_horz,\n \"triac_vert\": _triac_vert,\n \"tunnel_diode_horz\": _tunnel_diode_horz,\n \"tunnel_diode_vert\": _tunnel_diode_vert,\n \"unijunction_transistor_horz\": _unijunction_transistor_horz,\n \"unijunction_transistor_vert\": _unijunction_transistor_vert,\n \"var_meter_horz\": _var_meter_horz,\n \"var_meter_vert\": _var_meter_vert,\n \"varactor_diode_horz\": _varactor_diode_horz,\n \"varactor_diode_vert\": _varactor_diode_vert,\n \"varistor_horz\": _varistor_horz,\n \"varistor_vert\": _varistor_vert,\n \"volt_meter_horz\": _volt_meter_horz,\n \"volt_meter_vert\": _volt_meter_vert,\n \"zener_diode_horz\": _zener_diode_horz,\n \"zener_diode_vert\": _zener_diode_vert\n}","export const mapColor = (color: string) => {\n switch (color) {\n case \"primary\":\n return \"black\"\n case \"secondary\":\n return \"gray\"\n default:\n return color\n }\n}\n","import type { Point } from \"drawing\"\n\nexport function pathToSvgD(points: Point[], closed: boolean = false): string {\n const pathCommands = points\n .map((point, index) => `${index === 0 ? \"M\" : \"L\"}${point.x},${point.y}`)\n .join(\" \")\n\n return closed ? `${pathCommands} Z` : pathCommands\n}\n","import { mapColor } from \"./mapColor\"\nimport { pathToSvgD } from \"./pathToSvgD\"\nimport type { Point, Port, SchSymbol, TextPrimitive } from \"./types\"\n\nfunction createDiamondElement(center: Point, size = 0.05): string {\n const { x, y } = center\n const halfSize = size / 2\n return `<path d=\"M ${x} ${y - halfSize} L ${x + halfSize} ${y} L ${x} ${\n y + halfSize\n } L ${x - halfSize} ${y} Z\" fill=\"green\" />`\n}\n\nfunction createTextElement(primitive: TextPrimitive): {\n text: string\n anchor: string\n} {\n const { x, y, text, fontSize = 0.1, anchor } = primitive\n let textAnchor: string\n const dx = 0\n let dy = 0\n\n const capHeight = fontSize * 0.75\n\n switch (anchor) {\n case \"top_left\":\n textAnchor = \"start\"\n dy = fontSize\n break\n case \"top_right\":\n textAnchor = \"end\"\n dy = fontSize\n break\n case \"bottom_left\":\n textAnchor = \"start\"\n break\n case \"bottom_right\":\n textAnchor = \"end\"\n break\n case \"center\":\n textAnchor = \"middle\"\n dy = fontSize / 2\n break\n case \"middle_top\":\n textAnchor = \"middle\"\n dy = capHeight\n break\n case \"middle_bottom\":\n textAnchor = \"middle\"\n break\n case \"middle_left\":\n textAnchor = \"start\"\n dy = capHeight / 2\n break\n case \"middle_right\":\n textAnchor = \"end\"\n dy = capHeight / 2\n break\n }\n\n return {\n text: `<text x=\"${x}\" y=\"${y}\" dx=\"${dx}\" dy=\"${dy}\" text-anchor=\"${textAnchor}\" style=\"font: ${\n fontSize ?? 0.1\n }px monospace; fill: ${mapColor(\"primary\")}\">${text}</text>`,\n anchor: `<rect x=\"${x - 0.025 / 2}\" y=\"${\n y - 0.025 / 2\n }\" width=\"0.025\" height=\"0.025\" fill=\"blue\" />`,\n }\n}\n\nfunction createPortElement(port: Port): string {\n const { x, y, labels } = port\n const rectSize = 0.05\n const labelFontSize = 0.08\n const label = labels[0] || \"\"\n\n return `\n <rect x=\"${x - rectSize / 2}\" y=\"${\n y - rectSize / 2\n }\" width=\"${rectSize}\" height=\"${rectSize}\" fill=\"red\" />\n <text x=\"${x - labelFontSize / 2}\" y=\"${\n y + rectSize + labelFontSize / 2\n }\" text-anchor=\"middle\" style=\"font: ${labelFontSize}px monospace; fill: #833;\">${label}</text>\n `\n}\n\nexport function getInnerSvg(\n symbol: SchSymbol,\n options: { width?: number; height?: number; debug?: boolean } = {},\n): string {\n const { debug = false } = options\n const { primitives, size, ports } = symbol\n const svgElements = primitives.map((primitive) => {\n switch (primitive.type) {\n case \"path\":\n return `<path d=\"${pathToSvgD(\n primitive.points,\n primitive.closed,\n )}\" fill=\"${\n primitive.fill ? mapColor(primitive.color) : \"none\"\n }\" stroke=\"${mapColor(\n primitive.color,\n )}\" stroke-width=\"0.02\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />`\n case \"text\":\n const textElements = createTextElement(primitive)\n return textElements.text + (debug ? textElements.anchor : \"\")\n case \"circle\":\n return `<circle cx=\"${primitive.x}\" cy=\"${primitive.y}\" r=\"${\n primitive.radius\n }\" fill=\"${primitive.fill ? mapColor(primitive.color) : \"none\"}\" ${\n !primitive.fill\n ? `stroke=\"${mapColor(primitive.color)}\" stroke-width=\"0.02\"`\n : \"\"\n } />`\n case \"box\":\n return `<rect x=\"${primitive.x}\" y=\"${primitive.y}\" width=\"${\n primitive.width\n }\" height=\"${primitive.height}\" fill=\"${mapColor(\"primary\")}\" />`\n default:\n return \"\"\n }\n })\n\n const portElements = ports.map(createPortElement).join(\"\\n \")\n\n const centerDiamond = createDiamondElement(symbol.center)\n\n return [svgElements.join(\"\\n \"), portElements, centerDiamond].join(\"\\n\")\n}\n\nexport function getSvg(\n symbol: SchSymbol,\n options: { width?: number; height?: number; debug?: boolean } = {},\n): string {\n const { size } = symbol\n const innerSvg = getInnerSvg(symbol, options)\n\n // Use the center and the size to calculate the viewBox\n const bufferMultiple = 1.2\n const w = size.width * bufferMultiple\n const h = size.height * bufferMultiple\n const viewBox = {\n x: symbol.center.x - w / 2,\n y: symbol.center.y - h / 2,\n width: w,\n height: h,\n }\n\n if (options.width && !options.height) {\n options.height = options.width! * (viewBox.height / viewBox.width)\n } else if (!options.width && options.height) {\n options.width = options.height! * (viewBox.width / viewBox.height)\n } else if (!options.width && !options.height) {\n options.width = viewBox.width\n options.height = viewBox.height\n }\n\n return `<svg width=\"${options.width}\" height=\"${options.height}\" viewBox=\"${viewBox.x} ${viewBox.y} ${viewBox.width} ${viewBox.height}\" xmlns=\"http://www.w3.org/2000/svg\">${innerSvg}</svg>`\n}\n","import type { SchSymbol } from \"./types\"\n\nexport function resizeSymbol(\n symbol: SchSymbol,\n newSize: { width?: number; height?: number },\n): SchSymbol {\n const { width: oldWidth, height: oldHeight } = symbol.size\n let scaleX = 1,\n scaleY = 1\n\n if (newSize.width && newSize.height) {\n scaleX = newSize.width / oldWidth\n scaleY = newSize.height / oldHeight\n } else if (newSize.width) {\n scaleX = scaleY = newSize.width / oldWidth\n } else if (newSize.height) {\n scaleX = scaleY = newSize.height / oldHeight\n }\n\n const resizedPrimitives = symbol.primitives.map((primitive) => {\n switch (primitive.type) {\n case \"path\":\n return {\n ...primitive,\n points: primitive.points.map((p) => ({\n x: p.x * scaleX,\n y: p.y * scaleY,\n })),\n }\n case \"text\":\n case \"circle\":\n return {\n ...primitive,\n x: primitive.x * scaleX,\n y: primitive.y * scaleY,\n }\n case \"box\":\n return {\n ...primitive,\n x: primitive.x * scaleX,\n y: primitive.y * scaleY,\n width: primitive.width * scaleX,\n height: primitive.height * scaleY,\n }\n default:\n return primitive\n }\n })\n\n return {\n ...symbol,\n primitives: resizedPrimitives,\n center: {\n x: symbol.center.x * scaleX,\n y: symbol.center.y * scaleY,\n },\n ports: symbol.ports.map((port) => ({\n ...port,\n x: port.x * scaleX,\n y: port.y * scaleY,\n })),\n size: {\n width: oldWidth * scaleX,\n height: oldHeight * scaleY,\n },\n }\n}\n","import symbols from \"./generated/symbols-index\"\n\nexport type {\n SchSymbol,\n BoxPrimitive,\n CirclePrimitive,\n PathPrimitive,\n TextPrimitive,\n} from \"./drawing/types\"\nimport { getSvg, getInnerSvg, resizeSymbol } from \"./drawing\"\n\nimport { BaseSymbolName } from \"./generated/base-symbol-names\"\n\n/**\n * Utility for easier autocomplete:\n *\n * ```ts\n * BASE_SYMBOLS.boxresistor // \"boxresistor\"\n * ```\n */\nexport const BASE_SYMBOLS: Record<BaseSymbolName, BaseSymbolName> =\n Object.fromEntries(Object.keys(symbols).map((k) => [k, k])) as any\n\nexport { symbols, getSvg, getInnerSvg, resizeSymbol, BaseSymbolName }\n"],"mappings":";AAEO,SAAS,aAAa,QAA8B;AACzD,SAAO;AACT;;;ACJA;AAAA,EACE,OAAS;AAAA,IACP,QAAU;AAAA,MACR,MAAQ;AAAA,MACR,QAAU;AAAA,QACR;AAAA,UACE,GAAK;AAAA,UACL,GAAK;AAAA,QACP;AAAA,QACA;AAAA,UACE,GAAK;AAAA,UACL,GAAK;AAAA,QACP;AAAA,MACF;AAAA,MACA,OAAS;AAAA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AAM,IAAI,CAAC,UAAU;AAAA,MACjC,GAAG;AAAA,MACH,GAAG,KAAK,IAAI;AAAA,MACZ,GAAG,KAAK,IAAI;AAAA,IACd,EAAE;AAAA,IACF,MAAM;AAAA,MACJ,OAAO,WAAW;AAAA,MAClB,QAAQ,YAAY;AAAA,IACtB;AAAA,EACF;AACF;;;AC9CO,IAAM,eACX,OAAO,YAAY,OAAO,KAAK,qBAAO,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;","names":["paths","bounds","refblocks","circles","paths","texts","bounds","refblocks","paths","bounds","refblocks","texts","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","val","ref","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","val","paths","texts","bounds","refblocks","circles","letter","rest","isPrimitive","rotatedSymbol","paths","texts","bounds","refblocks","circles","letter","underline","rest","isPrimitive","rotatedSymbol","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","val","paths","texts","bounds","refblocks","paths","texts","bounds","refblocks","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","val","paths","texts","bounds","refblocks","circles","rotated","ref","val","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","paths","texts","bounds","refblocks","rotated","ref","val","paths","texts","bounds","refblocks","rotated","ref","val","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","val","ref","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","val","ref","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","val","ref","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","val","ref","paths","texts","bounds","refblocks","rotated","paths","texts","bounds","refblocks","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","val","paths","texts","bounds","refblocks","rotated","ref","val","paths","texts","bounds","refblocks","rotated","ref","val","paths","texts","bounds","refblocks","circles","paths","texts","bounds","refblocks","circles","rotated","ref","val","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","paths","texts","bounds","refblocks","circles","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","val","paths","texts","bounds","refblocks","circles","rotated","ref","val","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","val","paths","texts","bounds","refblocks","circles","paths","texts","bounds","refblocks","circles","rotated","ref","val","paths","texts","bounds","refblocks","paths","texts","bounds","circles","refblocks","paths","texts","bounds","refblocks","circles","rotated","ref","val"]}