schematic-symbols 0.0.94 → 0.0.96

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/battery.json","../symbols/battery_horz.ts","../symbols/battery_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/darlington_pair_transistor.json","../symbols/darlington_pair_transistor_horz.ts","../symbols/darlington_pair_transistor_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_right.ts","../symbols/diode_down.ts","../symbols/diode_left.ts","../symbols/diode_up.ts","../assets/generated/dpst_switch.json","../symbols/dpst_switch_horz.ts","../symbols/dpst_switch_vert.ts","../assets/generated/filled_diode.json","../symbols/filled_diode_horz.ts","../symbols/filled_diode_vert.ts","../assets/generated/frequency_meter.json","../symbols/frequency_meter_horz.ts","../symbols/frequency_meter_vert.ts","../assets/generated/fuse.json","../symbols/fuse_horz.ts","../symbols/fuse_vert.ts","../assets/generated/ground.json","../symbols/ground_horz.ts","../symbols/ground_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/illuminated_push_button_normally_open.json","../symbols/illuminated_push_button_normally_open_horz.ts","../symbols/illuminated_push_button_normally_open_vert.ts","../assets/generated/inductor.json","../symbols/inductor_horz.ts","../symbols/inductor_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/light_dependent_resistor.json","../symbols/light_dependent_resistor_horz.ts","../symbols/light_dependent_resistor_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/mushroom_head_normally_open_momentary.json","../symbols/mushroom_head_normally_open_momentary_horz.ts","../symbols/mushroom_head_normally_open_momentary_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/n_channel_e_mosfet_transistor.json","../symbols/n_channel_e_mosfet_transistor_horz.ts","../symbols/n_channel_e_mosfet_transistor_vert.ts","../assets/generated/njfet_transistor.json","../symbols/njfet_transistor_horz.ts","../symbols/njfet_transistor_vert.ts","../assets/generated/npn_bipolar_transistor.json","../symbols/npn_bipolar_transistor_horz.ts","../symbols/npn_bipolar_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/p_channel_e_mosfet_transistor.json","../symbols/p_channel_e_mosfet_transistor_horz.ts","../symbols/p_channel_e_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/pnp_bipolar_transistor.json","../symbols/pnp_bipolar_transistor_horz.ts","../symbols/pnp_bipolar_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/rectifier_diode.json","../symbols/rectifier_diode_horz.ts","../symbols/rectifier_diode_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/SPDT_switch.json","../symbols/SPDT_switch_horz.ts","../symbols/SPDT_switch_vert.ts","../assets/generated/SPST_switch.json","../symbols/SPST_switch_horz.ts","../symbols/SPST_switch_vert.ts","../assets/generated/step_recovery_diode.json","../symbols/step_recovery_diode_horz.ts","../symbols/step_recovery_diode_vert.ts","../assets/generated/tachometer.json","../symbols/tachometer_horz.ts","../symbols/tachometer_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/varmeter.json","../symbols/varmeter_horz.ts","../symbols/varmeter_vert.ts","../assets/generated/volt_meter.json","../symbols/volt_meter_horz.ts","../symbols/volt_meter_vert.ts","../assets/generated/watt_hour_meter.json","../symbols/watt_hour_meter_horz.ts","../symbols/watt_hour_meter_vert.ts","../assets/generated/wattmeter.json","../symbols/wattmeter_horz.ts","../symbols/wattmeter_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\n// Update rotateAnchor to handle all anchor rotations based on orientation\nconst rotateAnchor = (\n anchor: NinePointAnchor,\n orientation: \"up\" | \"down\" | \"left\" | \"right\" = \"right\",\n): NinePointAnchor => {\n switch (orientation) {\n case \"up\":\n switch (anchor) {\n case \"middle_top\":\n return \"middle_left\"\n case \"middle_bottom\":\n return \"middle_right\"\n case \"middle_left\":\n return \"middle_bottom\"\n case \"middle_right\":\n return \"middle_top\"\n }\n break\n case \"down\":\n switch (anchor) {\n case \"middle_top\":\n return \"middle_right\"\n case \"middle_bottom\":\n return \"middle_left\"\n case \"middle_left\":\n return \"middle_top\"\n case \"middle_right\":\n return \"middle_bottom\"\n }\n break\n case \"left\":\n switch (anchor) {\n case \"middle_top\":\n return \"middle_left\"\n case \"middle_bottom\":\n return \"middle_right\"\n case \"middle_left\":\n return \"middle_bottom\"\n case \"middle_right\":\n return \"middle_top\"\n }\n break\n case \"right\":\n return anchor // No change if orientation is \"right\"\n }\n return anchor\n}\n\nexport const rotateSymbol = (\n symbol: SchSymbol,\n orientation?: \"up\" | \"down\" | \"left\" | \"right\",\n overrides?: Partial<SchSymbol>,\n): SchSymbol => {\n // Assuming the default orientation is \"right\"\n const angleMap = {\n up: -Math.PI / 2,\n right: 0,\n down: Math.PI / 2,\n left: -Math.PI,\n }\n\n const transform = rotate(\n orientation ? angleMap[orientation] : Math.PI / 2,\n symbol.center.x,\n symbol.center.y,\n )\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(\n primitive.anchor,\n orientation ?? \"right\",\n )\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 size: {\n width:\n orientation === \"up\" || orientation === \"down\"\n ? size.width\n : size.height,\n height:\n orientation === \"up\" || orientation === \"down\"\n ? size.height\n : 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 \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.05901489999999909,\n \"y\": -0.18831315000000015\n },\n {\n \"x\": -0.05869489999999833,\n \"y\": 0.11814524999999954\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.015375000000000805,\n \"y\": -0.12533125000000034\n },\n {\n \"x\": 0.016669000000000933,\n \"y\": 0.05562075000000033\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.06443049999999961,\n \"y\": -0.032673549999999496\n },\n {\n \"x\": -0.4368029,\n \"y\": -0.032673549999999496\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.4350822999999997,\n \"y\": -0.03438825000000034\n },\n {\n \"x\": 0.028285099999999952,\n \"y\": -0.03438825000000034\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.027835099999999446,\n \"y\": -0.26964474999999943\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.028373699999999502,\n \"y\": 0.19564474999999966\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.4458008,\n \"y\": -0.033557849999999334\n },\n \"right1\": {\n \"x\": 0.4458008,\n \"y\": -0.03343344999999931\n }\n },\n \"bounds\": {\n \"minX\": -0.473959241,\n \"maxX\": 0.473959241,\n \"minY\": -0.3656447499999994,\n \"maxY\": 0.27564474999999966,\n \"width\": 0.947918482,\n \"height\": 0.2912894999999991,\n \"centerX\": 0,\n \"centerY\": -0.04499999999999987\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/battery.json\"\nimport { Primitive } 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_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as Primitive[],\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 battery_horz from \"./battery_horz\"\n\nexport default rotateSymbol(battery_horz)\n","{\n \"paths\": {\n \"path1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.511850799999999,\n \"y\": -0.04116140000000179\n },\n {\n \"x\": -0.24726749999999953,\n \"y\": -0.04116140000000179\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2818991000000013,\n \"y\": -0.04116140000000179\n },\n {\n \"x\": 0.5464825000000006,\n \"y\": -0.04116140000000179\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.0173157000000006,\n \"y\": -0.17345310000000147\n },\n {\n \"x\": 0.2818990000000001,\n \"y\": -0.17345310000000147\n },\n {\n \"x\": 0.2818990000000001,\n \"y\": 0.09113029999999789\n },\n {\n \"x\": -0.24726770000000053,\n \"y\": 0.09113029999999789\n },\n {\n \"x\": -0.24726770000000053,\n \"y\": -0.17345310000000147\n },\n {\n \"x\": 0.017315699999998824,\n \"y\": -0.17345310000000147\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.0014247999999992267,\n \"y\": -0.24499800000000072\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0004627999999997634,\n \"y\": 0.2549980000000005\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5337907000000002,\n \"y\": -0.04080519999999943\n },\n \"right1\": {\n \"x\": 0.5337907000000004,\n \"y\": -0.04025870000000076\n }\n },\n \"bounds\": {\n \"minX\": -0.5619491410000002,\n \"maxX\": 0.5619491410000004,\n \"minY\": -0.3449980000000007,\n \"maxY\": 0.2549980000000005,\n \"width\": 1.1238982820000005,\n \"height\": 0.24999600000000122,\n \"centerX\": 1.1102230246251565e-16,\n \"centerY\": -0.045000000000000095\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.5229378000000002,\n \"y\": -0.012283099999995883\n },\n {\n \"x\": 0.07314620000000005,\n \"y\": -0.012283099999995883\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path28\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.08560379999999945,\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.07314620000000005,\n \"y\": -0.2768663999999976\n },\n {\n \"x\": 0.07314620000000005,\n \"y\": 0.2523002000000023\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path30\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.0856037999999999,\n \"y\": -0.2768663999999976\n },\n {\n \"x\": -0.08560379999999945,\n \"y\": 0.2523002000000023\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\": 0.5900173999999989,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": -0.04499999999999832\n },\n \"circles\": {}\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\": 1.9942486145,\n \"y\": 1.6315233295000002\n },\n {\n \"x\": 2.0984258145,\n \"y\": 1.6321433295000003\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 2.1030704145000003,\n \"y\": 1.4702420295\n },\n {\n \"x\": 2.1026604145,\n \"y\": 1.7934203295\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-0-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 2.2218770145,\n \"y\": 1.4862575295\n },\n {\n \"x\": 2.1063461145,\n \"y\": 1.5650515295000003\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-0-5-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 2.2286252145,\n \"y\": 1.7712556295000002\n },\n {\n \"x\": 2.1136540145000002,\n \"y\": 1.6926424295\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 2.2273251145,\n \"y\": 1.4841963295\n },\n {\n \"x\": 2.2284101145,\n \"y\": 1.1411599295000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 2.2276017145,\n \"y\": 1.9460598295\n },\n {\n \"x\": 2.2281317145,\n \"y\": 1.7781501295000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"arrow-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 2.1704797145,\n \"y\": 1.6884541295000002\n },\n {\n \"x\": 2.1275815145,\n \"y\": 1.7497189295000002\n },\n {\n \"x\": 2.1917009144999997,\n \"y\": 1.7494989295000003\n },\n {\n \"x\": 2.1704797145,\n \"y\": 1.6884541295000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 1.5978828145000001,\n \"y\": 1.4913252295000001\n },\n {\n \"x\": 1.8597023145000002,\n \"y\": 1.4928722295\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 1.8686937145000002,\n \"y\": 1.3305097295000001\n },\n {\n \"x\": 1.8682837145,\n \"y\": 1.6536880295\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 1.9875004145000004,\n \"y\": 1.3465253295000001\n },\n {\n \"x\": 1.8719693145,\n \"y\": 1.4253192295000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path4\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 1.9942486145,\n \"y\": 1.6315233295000002\n },\n {\n \"x\": 1.8792773145000001,\n \"y\": 1.5529101295000003\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"arrow-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 1.9361028144999999,\n \"y\": 1.5487218295000003\n },\n {\n \"x\": 1.8932048145,\n \"y\": 1.6099866295000003\n },\n {\n \"x\": 1.9573242144999998,\n \"y\": 1.6097666295000004\n },\n {\n \"x\": 1.9361028144999999,\n \"y\": 1.5487218295000003\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 1.9943087144999998,\n \"y\": 1.3432655295000002\n },\n {\n \"x\": 2.2269582145,\n \"y\": 1.3449695295000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 1.8,\n \"y\": 1.8674276295000002\n },\n \"right1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 1.8,\n \"y\": 1.177447295\n }\n },\n \"refblocks\": {\n \"right1\": {\n \"x\": 2.2278680145,\n \"y\": 1.1297132295\n },\n \"right2\": {\n \"x\": 1.5977076145000002,\n \"y\": 1.4920988295000002\n },\n \"right3\": {\n \"x\": 2.2278617145000004,\n \"y\": 1.9544573295000003\n }\n },\n \"bounds\": {\n \"minX\": 1.5810976555000003,\n \"maxX\": 2.3461148445,\n \"minY\": 1.0757447295,\n \"maxY\": 1.9710672885000002,\n \"width\": 1,\n \"height\": 1,\n \"centerX\": 1.9636062500000002,\n \"centerY\": 1.5234060090000001\n },\n \"circles\": {\n \"path1-0\": {\n \"type\": \"circle\",\n \"x\": 2.0463372145000003,\n \"y\": 1.5256545295000001,\n \"radius\": 0.29977763,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/darlington_pair_transistor.json\"\nimport { Primitive } 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.bottom1, anchor: \"middle_top\" },\n { ...texts.right1, anchor: \"middle_bottom\" },\n ] as Primitive[],\n ports: [\n { ...refblocks.right1, labels: [\"3\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right2, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right3, 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 darlington_pair_transistor_horz from \"./darlington_pair_transistor_horz\"\n\nexport default rotateSymbol(darlington_pair_transistor_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.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.5176700499999997,\n \"y\": -0.03674505000000039\n },\n {\n \"x\": -0.10888805000000024,\n \"y\": -0.03674505000000039\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1031184499999993,\n \"y\": -0.03674505000000039\n },\n {\n \"x\": 0.5246894499999994,\n \"y\": -0.03674505000000039\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.09343985000000021,\n \"y\": 0.15120634999999893\n },\n {\n \"x\": -0.0930998500000002,\n \"y\": -0.2533405500000008\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.08519034999999908,\n \"y\": 0.15003384999999914\n },\n {\n \"x\": 0.08553034999999909,\n \"y\": -0.2545130500000006\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.08315755000000014,\n \"y\": -0.05093445000000041\n },\n {\n \"x\": -0.08415755000000047,\n \"y\": 0.15178124999999976\n },\n {\n \"x\": 0.08653524999999984,\n \"y\": 0.05604664999999964\n },\n {\n \"x\": -0.08126175000000035,\n \"y\": -0.051477150000000194\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path11-0-9-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07661224999999927,\n \"y\": -0.25165445000000086\n },\n {\n \"x\": 0.07761224999999983,\n \"y\": -0.04893885000000098\n },\n {\n \"x\": -0.0930805500000007,\n \"y\": -0.1446734500000011\n },\n {\n \"x\": 0.07471644999999949,\n \"y\": -0.2521971500000013\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17328624999999964,\n \"y\": -0.41183614999999985\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.03022294999999975,\n \"y\": 0.4218361500000001\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.54139845,\n \"y\": -0.0358920500000004\n },\n \"right1\": {\n \"x\": 0.5413984499999995,\n \"y\": -0.03688844999999996\n }\n },\n \"bounds\": {\n \"minX\": -0.569556891,\n \"maxX\": 0.5695568909999995,\n \"minY\": -0.5118361499999998,\n \"maxY\": 0.4218361500000001,\n \"width\": 1.1391137819999995,\n \"height\": 0.5836722999999999,\n \"centerX\": -2.220446049250313e-16,\n \"centerY\": -0.04499999999999987\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.0037626500000003116,\n \"y\": -0.04387315000000025,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\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.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 },\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\": 0.29769059999999925,\n \"centerX\": 0,\n \"centerY\": -0.04499999999999921\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/diode.json\"\nimport { Primitive } 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_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as Primitive[],\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_right from \"./diode_right\"\n\nexport default rotateSymbol(diode_right, \"down\")\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport diode_right from \"./diode_right\"\n\nexport default rotateSymbol(diode_right, \"left\")\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport diode_right from \"./diode_right\"\n\nexport default rotateSymbol(diode_right, \"up\")\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3622268000000006,\n \"y\": -0.05787995000000046\n },\n {\n \"x\": -0.1357978000000004,\n \"y\": -0.05787995000000046\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12009950000000069,\n \"y\": -0.0563494500000008\n },\n {\n \"x\": 0.10307889999999986,\n \"y\": -0.19603885000000099\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12795640000000064,\n \"y\": -0.05787995000000046\n },\n {\n \"x\": 0.36869780000000096,\n \"y\": -0.05787995000000046\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3622270999999999,\n \"y\": 0.1736642499999992\n },\n {\n \"x\": -0.1357980999999997,\n \"y\": 0.1736642499999992\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12009979999999998,\n \"y\": 0.17519474999999973\n },\n {\n \"x\": 0.10307860000000058,\n \"y\": 0.035505349999999325\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12795610000000002,\n \"y\": 0.1736642499999992\n },\n {\n \"x\": 0.3686968000000006,\n \"y\": 0.1736642499999992\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.1958158999999995,\n \"y\": -0.39216264999999995\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.029144200000000398,\n \"y\": 0.40216264999999995\n }\n },\n \"refblocks\": {\n \"bottom1\": {\n \"x\": -0.12356020000000001,\n \"y\": 0.17845394999999975\n },\n \"bottom2\": {\n \"x\": 0.1153169000000005,\n \"y\": 0.17845394999999975\n },\n \"left1\": {\n \"x\": -0.37614279999999956,\n \"y\": -0.057027350000000254\n },\n \"left2\": {\n \"x\": -0.12356020000000001,\n \"y\": -0.05309054999999985\n },\n \"left3\": {\n \"x\": -0.37614279999999956,\n \"y\": 0.17451715000000023\n },\n \"right1\": {\n \"x\": 0.37614279999999933,\n \"y\": -0.05802374999999982\n },\n \"right2\": {\n \"x\": 0.1153169000000005,\n \"y\": -0.05309054999999985\n },\n \"right3\": {\n \"x\": 0.37614279999999933,\n \"y\": 0.17352074999999978\n }\n },\n \"bounds\": {\n \"minX\": -0.40430124099999953,\n \"maxX\": 0.4043012409999993,\n \"minY\": -0.4921626499999999,\n \"maxY\": 0.40216264999999995,\n \"width\": 1,\n \"height\": 1,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": -0.044999999999999984\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/dpst_switch.json\"\nimport { Primitive } 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_bottom\", x: 0 },\n { ...texts.bottom1, anchor: \"middle_top\", x: 0 },\n ] as Primitive[],\n ports: [\n { ...refblocks.left1, labels: [\"1\", \"left1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.left3, labels: [\"3\", \"left3\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\", \"right1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right3, labels: [\"4\", \"right3\"] }, // 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 dpst_switch_horz from \"./dpst_switch_horz\"\n\nconst rotatedSymbol = rotateSymbol(dpst_switch_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")!\n\nconst val = texts.find((t) => t.text === \"{VAL}\")!\n\nval.anchor = \"middle_right\"\nval.x = -0.35\nval.y = 0\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.anchor = \"middle_left\"\nref.x = 0.3\nref.y = 0\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5464958295000011,\n \"y\": -0.03674480953641934\n },\n {\n \"x\": -0.22498262950000125,\n \"y\": -0.03674480953641934\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13950697049999894,\n \"y\": -0.04461410953641942\n },\n {\n \"x\": 0.45879767049999964,\n \"y\": -0.04461410953641942\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1346534705000002,\n \"y\": 0.1570013904635803\n },\n {\n \"x\": 0.13354747050000015,\n \"y\": -0.24621560953641985\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.2177038295000011,\n \"y\": -0.26567520953641943\n },\n {\n \"x\": -0.2197708295000007,\n \"y\": 0.15700869046358035\n },\n {\n \"x\": 0.13282137049999876,\n \"y\": -0.0426085095364197\n },\n {\n \"x\": -0.21378932950000062,\n \"y\": -0.2668066095364201\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.2435859295000009,\n \"y\": -0.3777354095364187\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.07353149016142102,\n \"y\": 0.3877354095364185\n },\n \"right1\": {\n \"type\": \"text\",\n \"text\": \"\",\n \"x\": 0.5834896704999997,\n \"y\": 0.3364777904635812\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5653312295,\n \"y\": -0.0358920095364188\n },\n \"right1\": {\n \"x\": 0.47024967049999944,\n \"y\": -0.044757709536418666\n }\n },\n \"bounds\": {\n \"minX\": -0.5934896705,\n \"maxX\": 0.6834896704999996,\n \"minY\": -0.4777354095364187,\n \"maxY\": 0.3877354095364185,\n \"width\": 1.2769793409999997,\n \"height\": 1,\n \"centerX\": 0.04499999999999982,\n \"centerY\": -0.045000000000000095\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/filled_diode.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.1,\n y: -0.38,\n anchor: \"middle_bottom\",\n } as TextPrimitive,\n {\n type: \"text\",\n text: \"{VAL}\",\n x: -0.1,\n y: 0.28,\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 filled_diode_horz from \"./filled_diode_horz\"\n\nexport default rotateSymbol(filled_diode_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.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\": \"Hz\",\n \"x\": 0,\n \"y\": -0.035\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/frequency_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 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.2 },\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 frequency_meter_horz from \"./frequency_meter_horz\"\nimport { Primitive } from \"drawing/types\"\n\nconst { 5: letter, ...rest } = frequency_meter_horz.primitives\n\nfunction isPrimitive(value: any): value is Primitive {\n return typeof value === \"object\"\n}\n\nconst rotatedSymbol = rotateSymbol({\n ...frequency_meter_horz,\n primitives: Object.values(rest).filter(isPrimitive),\n})\n\nexport default {\n ...rotatedSymbol,\n primitives: [...rotatedSymbol.primitives, letter],\n}\n","{\n \"paths\": {\n \"path10\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5283037500000001,\n \"y\": -0.03141365000000107\n },\n {\n \"x\": 0.5300302500000003,\n \"y\": -0.03141365000000107\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path14\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.0008652499999994845,\n \"y\": -0.16370535000000075\n },\n {\n \"x\": 0.2654482499999995,\n \"y\": -0.16370535000000075\n },\n {\n \"x\": 0.2654482499999995,\n \"y\": 0.10087804999999861\n },\n {\n \"x\": -0.2637187499999998,\n \"y\": 0.10087804999999861\n },\n {\n \"x\": -0.2637187499999998,\n \"y\": -0.16370535000000075\n },\n {\n \"x\": 0.0008652499999994845,\n \"y\": -0.16370535000000075\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.008263949999999909,\n \"y\": -0.23091725000000096\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.1716539500000005,\n \"y\": 0.24091724999999897\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5345548500000001,\n \"y\": -0.03446055000000037\n },\n \"right1\": {\n \"x\": 0.5345548500000001,\n \"y\": -0.030256149999999593\n }\n },\n \"bounds\": {\n \"minX\": -0.5627132910000001,\n \"maxX\": 0.5627132910000001,\n \"minY\": -0.33091725000000094,\n \"maxY\": 0.24091724999999897,\n \"width\": 1.1254265820000002,\n \"height\": 0.22183449999999993,\n \"centerX\": 0,\n \"centerY\": -0.045000000000000984\n },\n \"circles\": {}\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 \"path1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3449701000000003,\n \"y\": -0.4545300000000001\n },\n {\n \"x\": -0.044970100000000235,\n \"y\": -0.4545300000000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.025322899999999926,\n \"y\": -0.25053000000000014\n },\n {\n \"x\": -0.025322900000000148,\n \"y\": -0.65053\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.04499999999999993,\n \"y\": -0.3005300000000002\n },\n {\n \"x\": 0.04499999999999993,\n \"y\": -0.60053\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path4\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.14499999999999957,\n \"y\": -0.40053000000000005\n },\n {\n \"x\": 0.14499999999999957,\n \"y\": -0.5005300000000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.45500000000000007,\n \"y\": 0.6505299999999998\n },\n \"right1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.4449999999999996,\n \"y\": -0.35053\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": -0.3449701000000003,\n \"y\": -0.4545300000000001\n },\n \"top2\": {\n \"x\": 0.16500000000000004,\n \"y\": -0.4535300000000002\n }\n },\n \"bounds\": {\n \"minX\": -0.45500000000000007,\n \"maxX\": 0.5449999999999996,\n \"minY\": -0.65053,\n \"maxY\": 0.6505299999999998,\n \"width\": 0.9999999999999997,\n \"height\": 0.9510599999999999,\n \"centerX\": 0.04499999999999976,\n \"centerY\": -1.1102230246251565e-16\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/ground.json\"\nimport { Primitive } from \"drawing/types\"\nimport { rotateSymbol } from \"drawing/rotateSymbol\"\n\n// Extract paths, bounds, etc.\nconst { paths, circles, bounds, refblocks } = svgJson\n\n// Horizontal orientation symbol\nexport const horizontalSymbol = defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n {\n type: \"text\",\n text: \"{REF}\", // REF label for horizontal\n x: -0.1, // Adjust this for the horizontal positioning of REF\n y: -0.8, // Adjust this for the vertical positioning of REF\n anchor: \"middle_bottom\", // Horizontal anchor for REF\n },\n {\n type: \"text\",\n text: \"{VAL}\", // VAL label for horizontal\n x: -0.1, // Adjust for horizontal positioning of VAL\n y: -0.1, // Adjust for vertical positioning of VAL\n anchor: \"middle_top\", // Horizontal anchor for VAL\n },\n ] as Primitive[],\n ports: [{ ...refblocks.top1, labels: [\"1\"] }],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX - 0.09, y: bounds.centerY - 0.45 },\n})\n\n// Vertical orientation symbol\n\n// Export vertical symbol (rotated 90 degrees from original)\nexport default horizontalSymbol\n","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/ground.json\"\nimport { Primitive } from \"drawing/types\"\nimport { rotateSymbol } from \"drawing/rotateSymbol\"\n\n// Extract paths, bounds, etc.\nconst { paths, circles, bounds, refblocks } = svgJson\n\nexport const verticalSymbol = defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n {\n type: \"text\",\n text: \"{REF}\", // REF label for vertical\n x: -0.015, // Adjust this for the horizontal positioning of REF\n y: -0.75, // Adjust this for the vertical positioning of REF\n anchor: \"middle_bottom\", // Vertical anchor for REF\n },\n {\n type: \"text\",\n text: \"{VAL}\", // VAL label for vertical\n x: -0.015, // Adjust for horizontal positioning of VAL\n y: -0.12, // Adjust for vertical positioning of VAL\n anchor: \"middle_top\", // Vertical anchor for VAL\n },\n ] as Primitive[],\n ports: [{ ...refblocks.top1, labels: [\"1\"] }],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY - 0.45 },\n})\n\n// Export vertical symbol (rotated 90 degrees from original)\nexport default rotateSymbol(verticalSymbol)\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 \"path12-1-8-6-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.023137150000000162,\n \"y\": 0.024940499999996035\n },\n {\n \"x\": 0.023137150000000162,\n \"y\": 0.10494049999999788\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.48740694999999956,\n \"y\": 0.18801149999999645\n },\n {\n \"x\": -0.1731006500000003,\n \"y\": 0.18801149999999645\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-6-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.023792949999999813,\n \"y\": -0.1693045000000044\n },\n {\n \"x\": 0.023792949999999813,\n \"y\": -0.1026565000000037\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.14922445000000018,\n \"y\": 0.035203499999997945\n },\n {\n \"x\": 0.19549865000000022,\n \"y\": 0.18762249999999803\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.19549885000000078,\n \"y\": 0.18762249999999803\n },\n {\n \"x\": 0.4881437499999999,\n \"y\": 0.18762249999999803\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-6-9-4\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.023137150000000162,\n \"y\": -0.11686550000000295\n },\n {\n \"x\": 0.023137150000000162,\n \"y\": -0.015065500000002174\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-6-9-4-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.08312335000000015,\n \"y\": -0.10471550000000285\n },\n {\n \"x\": 0.08312335000000015,\n \"y\": -0.047931500000004235\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-6-9-4-3-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.03684904999999983,\n \"y\": -0.10471550000000285\n },\n {\n \"x\": -0.03684904999999983,\n \"y\": -0.047931500000004235\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-6-9-4-4\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.08312335000000015,\n \"y\": -0.10471550000000285\n },\n {\n \"x\": -0.03684904999999983,\n \"y\": -0.10471550000000285\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path14-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.011640198644880861,\n \"y\": -0.2799169119921796\n },\n {\n \"x\": 0.01182744133211866,\n \"y\": -0.2516822395036833\n },\n {\n \"x\": 0.035295081309120846,\n \"y\": -0.22344756701517987\n },\n {\n \"x\": 0.05876272128612037,\n \"y\": -0.19521289452668178\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path14-5-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.011818241440559873,\n \"y\": -0.1952224926985373\n },\n {\n \"x\": 0.01171692178543804,\n \"y\": -0.22339535480803718\n },\n {\n \"x\": 0.03525208501144128,\n \"y\": -0.2515682169175424\n },\n {\n \"x\": 0.058787248237439194,\n \"y\": -0.27974107902703693\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.010987250000000337,\n \"y\": -0.37833950000000094\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.1564439499999999,\n \"y\": 0.3883394999999972\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.4717985499999999,\n \"y\": 0.18798249999999506\n },\n \"right1\": {\n \"x\": 0.4717985499999999,\n \"y\": 0.1880084999999987\n }\n },\n \"bounds\": {\n \"minX\": -0.4999569909999999,\n \"maxX\": 0.4999569909999999,\n \"minY\": -0.4783395000000009,\n \"maxY\": 0.3883394999999972,\n \"width\": 0.9999139819999998,\n \"height\": 0.5166789999999981,\n \"centerX\": 0,\n \"centerY\": -0.04500000000000187\n },\n \"circles\": {\n \"path9\": {\n \"type\": \"circle\",\n \"x\": 0.02379285000000042,\n \"y\": -0.23747350000000367,\n \"radius\": 0.059920847,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/illuminated_push_button_normally_open.json\"\nimport { Primitive } 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_right\", x: 0, y: -0.4 },\n { ...texts.bottom1, anchor: \"middle_right\", x: 0 },\n ] as Primitive[],\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 illuminated_push_button_normally_open_horz from \"./illuminated_push_button_normally_open_horz\"\n\nconst rotatedSymbol = rotateSymbol(illuminated_push_button_normally_open_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 \"path8698\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.20003504999999944,\n \"y\": 0.028826854587890027\n },\n {\n \"x\": -0.2033544366666661,\n \"y\": 0.022384739650748782\n },\n {\n \"x\": -0.20667382333333278,\n \"y\": 0.015976838014532466\n },\n {\n \"x\": -0.20999320999999949,\n \"y\": 0.009636988132081447\n },\n {\n \"x\": -0.21331259666666616,\n \"y\": 0.003398282866981144\n },\n {\n \"x\": -0.21663198333333286,\n \"y\": -0.002707293078776634\n },\n {\n \"x\": -0.21995136999999956,\n \"y\": -0.008649213595881871\n },\n {\n \"x\": -0.2232707566666662,\n \"y\": -0.014398745618147975\n },\n {\n \"x\": -0.2265901433333329,\n \"y\": -0.019929263927997674\n },\n {\n \"x\": -0.22990952999999958,\n \"y\": -0.02521654286791855\n },\n {\n \"x\": -0.23322891666666629,\n \"y\": -0.030239021761836165\n },\n {\n \"x\": -0.23654830333333293,\n \"y\": -0.03497804113839313\n },\n {\n \"x\": -0.23986768999999963,\n \"y\": -0.039418047168021914\n },\n {\n \"x\": -0.24318707666666634,\n \"y\": -0.04354676207395655\n },\n {\n \"x\": -0.246506463333333,\n \"y\": -0.047355318650124094\n },\n {\n \"x\": -0.24982584999999968,\n \"y\": -0.05083835741210997\n },\n {\n \"x\": -0.25314523666666633,\n \"y\": -0.05399408531679076\n },\n {\n \"x\": -0.25646462333333303,\n \"y\": -0.056824295407289886\n },\n {\n \"x\": -0.25978400999999973,\n \"y\": -0.05933434716802191\n },\n {\n \"x\": -0.26310339666666643,\n \"y\": -0.061533107805059786\n },\n {\n \"x\": -0.2664227833333331,\n \"y\": -0.0634328550951695\n },\n {\n \"x\": -0.2697421699999998,\n \"y\": -0.06504914286791855\n },\n {\n \"x\": -0.2730615566666664,\n \"y\": -0.06640063059466435\n },\n {\n \"x\": -0.2763809433333332,\n \"y\": -0.0675088789514813\n },\n {\n \"x\": -0.27970032999999983,\n \"y\": -0.06839811359588187\n },\n {\n \"x\": -0.28301971666666653,\n \"y\": -0.0690949597454433\n },\n {\n \"x\": -0.28633910333333323,\n \"y\": -0.06962815046635218\n },\n {\n \"x\": -0.2896584899999999,\n \"y\": -0.07002821186791855\n },\n {\n \"x\": -0.2929778766666666,\n \"y\": -0.07032712865213421\n },\n {\n \"x\": -0.2962972633333332,\n \"y\": -0.07055799368258454\n },\n {\n \"x\": -0.29961664999999993,\n \"y\": -0.07075464541210996\n },\n {\n \"x\": -0.30293603333333324,\n \"y\": -0.07055799368258453\n },\n {\n \"x\": -0.30625541666666656,\n \"y\": -0.07032712865213421\n },\n {\n \"x\": -0.30957479999999993,\n \"y\": -0.07002821186791855\n },\n {\n \"x\": -0.31289418333333324,\n \"y\": -0.06962815046635219\n },\n {\n \"x\": -0.31621356666666656,\n \"y\": -0.0690949597454433\n },\n {\n \"x\": -0.31953294999999987,\n \"y\": -0.06839811359588187\n },\n {\n \"x\": -0.32285233333333313,\n \"y\": -0.0675088789514813\n },\n {\n \"x\": -0.3261717166666665,\n \"y\": -0.06640063059466433\n },\n {\n \"x\": -0.32949109999999976,\n \"y\": -0.06504914286791855\n },\n {\n \"x\": -0.33281048333333313,\n \"y\": -0.06343285509516951\n },\n {\n \"x\": -0.33612986666666644,\n \"y\": -0.061533107805059786\n },\n {\n \"x\": -0.33944924999999976,\n \"y\": -0.05933434716802191\n },\n {\n \"x\": -0.3427686333333331,\n \"y\": -0.056824295407289886\n },\n {\n \"x\": -0.3460880166666664,\n \"y\": -0.05399408531679075\n },\n {\n \"x\": -0.3494073999999997,\n \"y\": -0.05083835741210997\n },\n {\n \"x\": -0.352726783333333,\n \"y\": -0.0473553186501241\n },\n {\n \"x\": -0.35604616666666633,\n \"y\": -0.04354676207395655\n },\n {\n \"x\": -0.35936554999999964,\n \"y\": -0.039418047168021914\n },\n {\n \"x\": -0.362684933333333,\n \"y\": -0.03497804113839313\n },\n {\n \"x\": -0.36600431666666633,\n \"y\": -0.030239021761836175\n },\n {\n \"x\": -0.3693236999999996,\n \"y\": -0.025216542867918555\n },\n {\n \"x\": -0.3726430833333329,\n \"y\": -0.01992926392799769\n },\n {\n \"x\": -0.3759624666666663,\n \"y\": -0.014398745618147961\n },\n {\n \"x\": -0.3792818499999996,\n \"y\": -0.008649213595881871\n },\n {\n \"x\": -0.38260123333333285,\n \"y\": -0.0027072930787766323\n },\n {\n \"x\": -0.38592061666666616,\n \"y\": 0.003398282866981149\n },\n {\n \"x\": -0.38923999999999953,\n \"y\": 0.009636988132081444\n },\n {\n \"x\": -0.39255938333333285,\n \"y\": 0.015976838014532466\n },\n {\n \"x\": -0.39587876666666616,\n \"y\": 0.022384739650748775\n },\n {\n \"x\": -0.3991981499999995,\n \"y\": 0.028826854587890027\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path8700\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.000872049999999458,\n \"y\": 0.028826154587890507\n },\n {\n \"x\": -0.004191433333332769,\n \"y\": 0.022384036317415937\n },\n {\n \"x\": -0.00751081666666608,\n \"y\": 0.01597613134786629\n },\n {\n \"x\": -0.010830199999999391,\n \"y\": 0.009636278132081942\n },\n {\n \"x\": -0.014149583333332702,\n \"y\": 0.003397569533648309\n },\n {\n \"x\": -0.01746896666666601,\n \"y\": -0.0027080097454427934\n },\n {\n \"x\": -0.020788349999999324,\n \"y\": -0.008649933595881358\n },\n {\n \"x\": -0.02410773333333263,\n \"y\": -0.014399468951480792\n },\n {\n \"x\": -0.027427116666665946,\n \"y\": -0.019929990594663816\n },\n {\n \"x\": -0.030746499999999254,\n \"y\": -0.025217272867918025\n },\n {\n \"x\": -0.03406588333333256,\n \"y\": -0.030239755095168967\n },\n {\n \"x\": -0.037385266666665876,\n \"y\": -0.03497877780505925\n },\n {\n \"x\": -0.04070464999999919,\n \"y\": -0.03941878716802137\n },\n {\n \"x\": -0.0440240333333325,\n \"y\": -0.04354750540728934\n },\n {\n \"x\": -0.047343416666665805,\n \"y\": -0.0473560653167902\n },\n {\n \"x\": -0.05066279999999912,\n \"y\": -0.05083910741210941\n },\n {\n \"x\": -0.053982183333332434,\n \"y\": -0.05399483865012353\n },\n {\n \"x\": -0.05730156666666574,\n \"y\": -0.05682505207395598\n },\n {\n \"x\": -0.06062094999999905,\n \"y\": -0.05933510716802134\n },\n {\n \"x\": -0.06394033333333236,\n \"y\": -0.06153387113839254\n },\n {\n \"x\": -0.06725971666666566,\n \"y\": -0.06343362176183558\n },\n {\n \"x\": -0.07057909999999898,\n \"y\": -0.06504991286791795\n },\n {\n \"x\": -0.0738984833333323,\n \"y\": -0.06640140392799708\n },\n {\n \"x\": -0.07721786666666561,\n \"y\": -0.06750965561814737\n },\n {\n \"x\": -0.08053724999999892,\n \"y\": -0.06839889359588126\n },\n {\n \"x\": -0.08385663333333224,\n \"y\": -0.06909574307877601\n },\n {\n \"x\": -0.08717601666666554,\n \"y\": -0.06962893713301824\n },\n {\n \"x\": -0.09049539999999885,\n \"y\": -0.07002900186791793\n },\n {\n \"x\": -0.09381478333333215,\n \"y\": -0.0703279219854669\n },\n {\n \"x\": -0.09713416666666547,\n \"y\": -0.07055879034925058\n },\n {\n \"x\": -0.10045354999999878,\n \"y\": -0.07075544541210932\n },\n {\n \"x\": -0.10377293666666547,\n \"y\": -0.07055879034925057\n },\n {\n \"x\": -0.10709232333333214,\n \"y\": -0.0703279219854669\n },\n {\n \"x\": -0.11041170999999883,\n \"y\": -0.07002900186791793\n },\n {\n \"x\": -0.1137310966666655,\n \"y\": -0.06962893713301824\n },\n {\n \"x\": -0.1170504833333322,\n \"y\": -0.06909574307877601\n },\n {\n \"x\": -0.1203698699999989,\n \"y\": -0.06839889359588126\n },\n {\n \"x\": -0.12368925666666555,\n \"y\": -0.06750965561814737\n },\n {\n \"x\": -0.12700864333333226,\n \"y\": -0.06640140392799707\n },\n {\n \"x\": -0.13032802999999893,\n \"y\": -0.06504991286791795\n },\n {\n \"x\": -0.13364741666666563,\n \"y\": -0.06343362176183559\n },\n {\n \"x\": -0.13696680333333228,\n \"y\": -0.06153387113839254\n },\n {\n \"x\": -0.14028618999999898,\n \"y\": -0.05933510716802133\n },\n {\n \"x\": -0.14360557666666568,\n \"y\": -0.05682505207395598\n },\n {\n \"x\": -0.14692496333333235,\n \"y\": -0.05399483865012352\n },\n {\n \"x\": -0.15024434999999903,\n \"y\": -0.05083910741210941\n },\n {\n \"x\": -0.1535637366666657,\n \"y\": -0.04735606531679021\n },\n {\n \"x\": -0.15688312333333237,\n \"y\": -0.04354750540728934\n },\n {\n \"x\": -0.16020250999999908,\n \"y\": -0.03941878716802137\n },\n {\n \"x\": -0.16352189666666575,\n \"y\": -0.03497877780505926\n },\n {\n \"x\": -0.16684128333333245,\n \"y\": -0.030239755095168977\n },\n {\n \"x\": -0.1701606699999991,\n \"y\": -0.025217272867918028\n },\n {\n \"x\": -0.1734800566666658,\n \"y\": -0.019929990594663834\n },\n {\n \"x\": -0.1767994433333325,\n \"y\": -0.014399468951480778\n },\n {\n \"x\": -0.1801188299999992,\n \"y\": -0.008649933595881358\n },\n {\n \"x\": -0.18343821666666585,\n \"y\": -0.0027080097454427916\n },\n {\n \"x\": -0.18675760333333255,\n \"y\": 0.0033975695336483144\n },\n {\n \"x\": -0.19007698999999922,\n \"y\": 0.009636278132081942\n },\n {\n \"x\": -0.19339637666666593,\n \"y\": 0.01597613134786629\n },\n {\n \"x\": -0.19671576333333257,\n \"y\": 0.02238403631741593\n },\n {\n \"x\": -0.20003514999999927,\n \"y\": 0.028826154587890507\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path8702\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.19829105000000036,\n \"y\": 0.028826154587890507\n },\n {\n \"x\": 0.19497166333333366,\n \"y\": 0.022384036317415937\n },\n {\n \"x\": 0.191652276666667,\n \"y\": 0.01597613134786629\n },\n {\n \"x\": 0.1883328900000003,\n \"y\": 0.009636278132081942\n },\n {\n \"x\": 0.18501350333333363,\n \"y\": 0.003397569533648309\n },\n {\n \"x\": 0.18169411666666693,\n \"y\": -0.0027080097454427934\n },\n {\n \"x\": 0.1783747300000003,\n \"y\": -0.008649933595881358\n },\n {\n \"x\": 0.17505534333333356,\n \"y\": -0.014399468951480792\n },\n {\n \"x\": 0.1717359566666669,\n \"y\": -0.019929990594663816\n },\n {\n \"x\": 0.16841657000000018,\n \"y\": -0.025217272867918025\n },\n {\n \"x\": 0.16509718333333356,\n \"y\": -0.030239755095168967\n },\n {\n \"x\": 0.16177779666666683,\n \"y\": -0.03497877780505925\n },\n {\n \"x\": 0.15845841000000016,\n \"y\": -0.03941878716802137\n },\n {\n \"x\": 0.15513902333333346,\n \"y\": -0.04354750540728934\n },\n {\n \"x\": 0.15181963666666679,\n \"y\": -0.0473560653167902\n },\n {\n \"x\": 0.1485002500000001,\n \"y\": -0.05083910741210941\n },\n {\n \"x\": 0.14518086333333344,\n \"y\": -0.05399483865012353\n },\n {\n \"x\": 0.14186147666666676,\n \"y\": -0.05682505207395598\n },\n {\n \"x\": 0.13854209000000006,\n \"y\": -0.05933510716802134\n },\n {\n \"x\": 0.1352227033333334,\n \"y\": -0.06153387113839254\n },\n {\n \"x\": 0.13190331666666671,\n \"y\": -0.06343362176183558\n },\n {\n \"x\": 0.12858393,\n \"y\": -0.06504991286791795\n },\n {\n \"x\": 0.12526454333333334,\n \"y\": -0.06640140392799708\n },\n {\n \"x\": 0.12194515666666664,\n \"y\": -0.06750965561814737\n },\n {\n \"x\": 0.11862576999999996,\n \"y\": -0.06839889359588126\n },\n {\n \"x\": 0.11530638333333329,\n \"y\": -0.06909574307877601\n },\n {\n \"x\": 0.11198699666666659,\n \"y\": -0.06962893713301824\n },\n {\n \"x\": 0.10866760999999991,\n \"y\": -0.07002900186791793\n },\n {\n \"x\": 0.10534822333333323,\n \"y\": -0.0703279219854669\n },\n {\n \"x\": 0.10202883666666655,\n \"y\": -0.07055879034925058\n },\n {\n \"x\": 0.09870944999999987,\n \"y\": -0.07075544541210932\n },\n {\n \"x\": 0.09539006666666656,\n \"y\": -0.07055879034925057\n },\n {\n \"x\": 0.09207068333333325,\n \"y\": -0.0703279219854669\n },\n {\n \"x\": 0.08875129999999994,\n \"y\": -0.07002900186791793\n },\n {\n \"x\": 0.08543191666666662,\n \"y\": -0.06962893713301824\n },\n {\n \"x\": 0.08211253333333332,\n \"y\": -0.06909574307877601\n },\n {\n \"x\": 0.07879315,\n \"y\": -0.06839889359588126\n },\n {\n \"x\": 0.07547376666666669,\n \"y\": -0.06750965561814737\n },\n {\n \"x\": 0.07215438333333338,\n \"y\": -0.06640140392799707\n },\n {\n \"x\": 0.06883500000000006,\n \"y\": -0.06504991286791795\n },\n {\n \"x\": 0.06551561666666676,\n \"y\": -0.06343362176183559\n },\n {\n \"x\": 0.06219623333333345,\n \"y\": -0.06153387113839254\n },\n {\n \"x\": 0.05887685000000013,\n \"y\": -0.05933510716802133\n },\n {\n \"x\": 0.055557466666666826,\n \"y\": -0.05682505207395598\n },\n {\n \"x\": 0.05223808333333351,\n \"y\": -0.05399483865012352\n },\n {\n \"x\": 0.048918700000000204,\n \"y\": -0.05083910741210941\n },\n {\n \"x\": 0.045599316666666896,\n \"y\": -0.04735606531679021\n },\n {\n \"x\": 0.04227993333333358,\n \"y\": -0.04354750540728934\n },\n {\n \"x\": 0.038960550000000274,\n \"y\": -0.03941878716802137\n },\n {\n \"x\": 0.03564116666666696,\n \"y\": -0.03497877780505926\n },\n {\n \"x\": 0.03232178333333365,\n \"y\": -0.030239755095168977\n },\n {\n \"x\": 0.02900240000000034,\n \"y\": -0.025217272867918028\n },\n {\n \"x\": 0.025683016666667034,\n \"y\": -0.019929990594663834\n },\n {\n \"x\": 0.022363633333333712,\n \"y\": -0.014399468951480778\n },\n {\n \"x\": 0.019044250000000405,\n \"y\": -0.008649933595881358\n },\n {\n \"x\": 0.015724866666667094,\n \"y\": -0.0027080097454427916\n },\n {\n \"x\": 0.01240548333333378,\n \"y\": 0.0033975695336483144\n },\n {\n \"x\": 0.009086100000000473,\n \"y\": 0.009636278132081942\n },\n {\n \"x\": 0.0057667166666671614,\n \"y\": 0.01597613134786629\n },\n {\n \"x\": 0.002447333333333852,\n \"y\": 0.02238403631741593\n },\n {\n \"x\": -0.000872049999999458,\n \"y\": 0.028826154587890507\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path8704\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.39745405000000034,\n \"y\": 0.028826154587890507\n },\n {\n \"x\": 0.3941346666666671,\n \"y\": 0.022384036317415937\n },\n {\n \"x\": 0.3908152833333337,\n \"y\": 0.01597613134786629\n },\n {\n \"x\": 0.38749590000000045,\n \"y\": 0.009636278132081942\n },\n {\n \"x\": 0.3841765166666671,\n \"y\": 0.003397569533648309\n },\n {\n \"x\": 0.3808571333333338,\n \"y\": -0.0027080097454427934\n },\n {\n \"x\": 0.3775377500000005,\n \"y\": -0.008649933595881358\n },\n {\n \"x\": 0.37421836666666713,\n \"y\": -0.014399468951480792\n },\n {\n \"x\": 0.3708989833333339,\n \"y\": -0.019929990594663816\n },\n {\n \"x\": 0.3675796000000005,\n \"y\": -0.025217272867918025\n },\n {\n \"x\": 0.36426021666666725,\n \"y\": -0.030239755095168967\n },\n {\n \"x\": 0.36094083333333393,\n \"y\": -0.03497877780505925\n },\n {\n \"x\": 0.35762145000000056,\n \"y\": -0.03941878716802137\n },\n {\n \"x\": 0.3543020666666673,\n \"y\": -0.04354750540728934\n },\n {\n \"x\": 0.350982683333334,\n \"y\": -0.0473560653167902\n },\n {\n \"x\": 0.3476633000000007,\n \"y\": -0.05083910741210941\n },\n {\n \"x\": 0.34434391666666736,\n \"y\": -0.05399483865012353\n },\n {\n \"x\": 0.34102453333333405,\n \"y\": -0.05682505207395598\n },\n {\n \"x\": 0.3377051500000008,\n \"y\": -0.05933510716802134\n },\n {\n \"x\": 0.3343857666666674,\n \"y\": -0.06153387113839254\n },\n {\n \"x\": 0.33106638333333416,\n \"y\": -0.06343362176183558\n },\n {\n \"x\": 0.3277470000000008,\n \"y\": -0.06504991286791795\n },\n {\n \"x\": 0.32442761666666753,\n \"y\": -0.06640140392799708\n },\n {\n \"x\": 0.32110823333333416,\n \"y\": -0.06750965561814737\n },\n {\n \"x\": 0.3177888500000009,\n \"y\": -0.06839889359588126\n },\n {\n \"x\": 0.31446946666666753,\n \"y\": -0.06909574307877601\n },\n {\n \"x\": 0.31115008333333427,\n \"y\": -0.06962893713301824\n },\n {\n \"x\": 0.30783070000000096,\n \"y\": -0.07002900186791793\n },\n {\n \"x\": 0.30451131666666764,\n \"y\": -0.0703279219854669\n },\n {\n \"x\": 0.3011919333333343,\n \"y\": -0.07055879034925058\n },\n {\n \"x\": 0.297872550000001,\n \"y\": -0.07075544541210932\n },\n {\n \"x\": 0.29455316333333437,\n \"y\": -0.07055879034925057\n },\n {\n \"x\": 0.29123377666666767,\n \"y\": -0.0703279219854669\n },\n {\n \"x\": 0.287914390000001,\n \"y\": -0.07002900186791793\n },\n {\n \"x\": 0.28459500333333426,\n \"y\": -0.06962893713301824\n },\n {\n \"x\": 0.2812756166666676,\n \"y\": -0.06909574307877601\n },\n {\n \"x\": 0.2779562300000009,\n \"y\": -0.06839889359588126\n },\n {\n \"x\": 0.2746368433333342,\n \"y\": -0.06750965561814737\n },\n {\n \"x\": 0.27131745666666757,\n \"y\": -0.06640140392799707\n },\n {\n \"x\": 0.26799807000000087,\n \"y\": -0.06504991286791795\n },\n {\n \"x\": 0.2646786833333342,\n \"y\": -0.06343362176183559\n },\n {\n \"x\": 0.26135929666666746,\n \"y\": -0.06153387113839254\n },\n {\n \"x\": 0.2580399100000008,\n \"y\": -0.05933510716802133\n },\n {\n \"x\": 0.2547205233333341,\n \"y\": -0.05682505207395598\n },\n {\n \"x\": 0.25140113666666747,\n \"y\": -0.05399483865012352\n },\n {\n \"x\": 0.24808175000000077,\n \"y\": -0.05083910741210941\n },\n {\n \"x\": 0.24476236333333407,\n \"y\": -0.04735606531679021\n },\n {\n \"x\": 0.24144297666666742,\n \"y\": -0.04354750540728934\n },\n {\n \"x\": 0.23812359000000072,\n \"y\": -0.03941878716802137\n },\n {\n \"x\": 0.23480420333333404,\n \"y\": -0.03497877780505926\n },\n {\n \"x\": 0.23148481666666734,\n \"y\": -0.030239755095168977\n },\n {\n \"x\": 0.22816543000000067,\n \"y\": -0.025217272867918028\n },\n {\n \"x\": 0.224846043333334,\n \"y\": -0.019929990594663834\n },\n {\n \"x\": 0.2215266566666673,\n \"y\": -0.014399468951480778\n },\n {\n \"x\": 0.21820727000000062,\n \"y\": -0.008649933595881358\n },\n {\n \"x\": 0.21488788333333395,\n \"y\": -0.0027080097454427916\n },\n {\n \"x\": 0.21156849666666724,\n \"y\": 0.0033975695336483144\n },\n {\n \"x\": 0.20824911000000057,\n \"y\": 0.009636278132081942\n },\n {\n \"x\": 0.2049297233333339,\n \"y\": 0.01597613134786629\n },\n {\n \"x\": 0.2016103366666672,\n \"y\": 0.02238403631741593\n },\n {\n \"x\": 0.19829095000000052,\n \"y\": 0.028826154587890507\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path8706\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.4023286499999996,\n \"y\": 0.02754405458789022\n },\n {\n \"x\": -0.5293590499999994,\n \"y\": 0.02754405458789022\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path8706-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5261604500000003,\n \"y\": 0.03211105458789021\n },\n {\n \"x\": 0.39913004999999946,\n \"y\": 0.03211105458789021\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.0040821499999992295,\n \"y\": -0.22497364541210985\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.004252755294839927,\n \"y\": 0.23497364541211008\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5504428500000003,\n \"y\": 0.02627215458789056\n },\n \"right1\": {\n \"x\": 0.5504428500000005,\n \"y\": 0.03152125458789001\n }\n },\n \"bounds\": {\n \"minX\": -0.5786012910000002,\n \"maxX\": 0.5786012910000005,\n \"minY\": -0.3249736454121098,\n \"maxY\": 0.23497364541211008,\n \"width\": 1.1572025820000007,\n \"height\": 0.20994729082421992,\n \"centerX\": 1.1102230246251565e-16,\n \"centerY\": -0.04499999999999987\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/inductor.json\"\nimport { Primitive } 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_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as Primitive[],\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 inductor_horz from \"./inductor_horz\"\n\nexport default rotateSymbol(inductor_horz)\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.13585750000000063,\n \"y\": 0.003696399999999045\n },\n {\n \"x\": -0.12872579999999934,\n \"y\": 0.13598810000000228\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path1-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12763670000000094,\n \"y\": 0.003920199999999596\n },\n {\n \"x\": 0.5265564000000009,\n \"y\": 0.003920199999999596\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path46\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12872579999999934,\n \"y\": -0.12859530000000063\n },\n {\n \"x\": 0.13585750000000063,\n \"y\": 0.003696399999999045\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path47\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12872579999999934,\n \"y\": 0.13598810000000228\n },\n {\n \"x\": -0.12872579999999934,\n \"y\": -0.12859530000000063\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path48\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13585750000000063,\n \"y\": -0.12859530000000063\n },\n {\n \"x\": 0.13585750000000063,\n \"y\": 0.13598810000000228\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path49\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13076959999999938,\n \"y\": 0.003696399999999045\n },\n {\n \"x\": -0.5256007999999994,\n \"y\": 0.003696399999999045\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1557438999999996,\n \"y\": -0.28545279999999806\n },\n {\n \"x\": -0.2530861999999994,\n \"y\": -0.3023319999999998\n },\n {\n \"x\": -0.21878339999999952,\n \"y\": -0.20956920000000068\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.08000449999999937,\n \"y\": -0.16590799999999817\n },\n {\n \"x\": -0.09202799999999911,\n \"y\": -0.1748410000000007\n },\n {\n \"x\": -0.2137844999999996,\n \"y\": -0.26529680000000155\n },\n {\n \"x\": -0.2144144999999993,\n \"y\": -0.2662468000000011\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.021722400000000697,\n \"y\": -0.30658939999999646\n },\n {\n \"x\": -0.07561989999999952,\n \"y\": -0.3234685999999982\n },\n {\n \"x\": -0.04131709999999922,\n \"y\": -0.23070579999999907\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09746180000000093,\n \"y\": -0.18704459999999656\n },\n {\n \"x\": 0.08543830000000074,\n \"y\": -0.19597759999999909\n },\n {\n \"x\": -0.0363181999999993,\n \"y\": -0.28643339999999995\n },\n {\n \"x\": -0.03694819999999943,\n \"y\": -0.2873833999999995\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.009561699999999451,\n \"y\": 0.3234685999999982\n },\n \"right1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.31464070000000044,\n \"y\": -0.22386570000000106\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5362092999999997,\n \"y\": 0.004432900000001183\n },\n \"right1\": {\n \"x\": 0.5362093000000003,\n \"y\": 0.004886400000003732\n }\n },\n \"bounds\": {\n \"minX\": -0.5643677409999996,\n \"maxX\": 0.5643677410000003,\n \"minY\": -0.32386570000000103,\n \"maxY\": 0.3234685999999982,\n \"width\": 1.128735482,\n \"height\": 0.2973342999999993,\n \"centerX\": 3.3306690738754696e-16,\n \"centerY\": -0.00019855000000140732\n },\n \"circles\": {}\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 \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5053201665812097,\n \"y\": -0.010839730805804138\n },\n {\n \"x\": -0.1829962316128657,\n \"y\": -0.010839730805804138\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1674747072814866,\n \"y\": -0.11471502212593476\n },\n {\n \"x\": -0.1674747072814866,\n \"y\": 0.07736981415388478\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1674747072814866,\n \"y\": -0.11632056223474518\n },\n {\n \"x\": 0.16018133830019532,\n \"y\": -0.11632056223474518\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-5-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1674747072814866,\n \"y\": 0.07736981415388478\n },\n {\n \"x\": 0.16018133830019532,\n \"y\": 0.07736981415388478\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.17205869804197382,\n \"y\": -0.010839950577224311\n },\n {\n \"x\": 0.5116721586832798,\n \"y\": -0.010839950577224311\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-2-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.16064490317338742,\n \"y\": -0.11622177498145403\n },\n {\n \"x\": 0.16064490317338742,\n \"y\": 0.07727135655772521\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.40391896081308554,\n \"y\": -0.2111951150487743\n },\n {\n \"x\": -0.32538818309991635,\n \"y\": -0.1776462385858042\n },\n {\n \"x\": -0.33843942905204627,\n \"y\": -0.26928059146906413\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78-6-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.4470989190253618,\n \"y\": -0.3351265263866847\n },\n {\n \"x\": -0.4385525777085817,\n \"y\": -0.32468848279378437\n },\n {\n \"x\": -0.3520048317368336,\n \"y\": -0.21897414423109507\n },\n {\n \"x\": -0.3516268465799328,\n \"y\": -0.21798517284109487\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25-0-9-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.30220674110432255,\n \"y\": -0.3403193953841548\n },\n {\n \"x\": -0.22367596339115314,\n \"y\": -0.30677051892118534\n },\n {\n \"x\": -0.23672720934328306,\n \"y\": -0.3984048718044453\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78-6-5-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3453866993165988,\n \"y\": -0.464250806722065\n },\n {\n \"x\": -0.3368403579998187,\n \"y\": -0.45381276312916397\n },\n {\n \"x\": -0.2502926120280704,\n \"y\": -0.34809842456647466\n },\n {\n \"x\": -0.24991462687116983,\n \"y\": -0.34710945317647446\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.1679477702432366,\n \"y\": -0.40859918889256375\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.006410773639930811,\n \"y\": 0.464250806722065\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5247194309452994,\n \"y\": -0.009902515585214156\n },\n \"right1\": {\n \"x\": 0.5247194309452992,\n \"y\": -0.010997416799653603\n }\n },\n \"bounds\": {\n \"minX\": -0.5520103866874645,\n \"maxX\": 0.5520103866874643,\n \"minY\": -0.5085991888925637,\n \"maxY\": 0.464250806722065,\n \"width\": 1.1040207733749288,\n \"height\": 0.6228499956146287,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": -0.022174191085249373\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.003646732950281173,\n \"y\": -0.018672603986024328,\n \"radius\": 0.2796529289238723,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/light_dependent_resistor.json\"\nimport { Primitive } 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\", x: 0 },\n { ...texts.bottom1, anchor: \"middle_left\", x: 0 },\n ] as Primitive[],\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 light_dependent_resistor_horz from \"./light_dependent_resistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(light_dependent_resistor_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 \"path208\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3793021704999999,\n \"y\": -0.13154093999999894\n },\n {\n \"x\": 0.5115938705000005,\n \"y\": 0.13304206000000107\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path209\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.24701047050000025,\n \"y\": 0.13304206000000107\n },\n {\n \"x\": 0.3793021704999999,\n \"y\": -0.13154093999999894\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path210\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5115938705000005,\n \"y\": 0.13304206000000107\n },\n {\n \"x\": 0.24701047050000025,\n \"y\": 0.13304206000000107\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path211\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.24701047050000025,\n \"y\": -0.13154093999999894\n },\n {\n \"x\": 0.5115938705000005,\n \"y\": -0.13154093999999894\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path212\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.11471887050000085,\n \"y\": 0.39762406000000006\n },\n {\n \"x\": 0.3793021704999999,\n \"y\": 0.39762406000000006\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path213\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3793021704999999,\n \"y\": -0.39612494\n },\n {\n \"x\": 0.11471887050000085,\n \"y\": -0.39612494\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path214\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.11471887050000085,\n \"y\": -0.5284169399999996\n },\n {\n \"x\": 0.11471887050000085,\n \"y\": -0.18445994\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path215\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.11471887050000085,\n \"y\": 0.5299150600000004\n },\n {\n \"x\": 0.11471887050000085,\n \"y\": 0.0007480600000011606\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path216\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3793021704999999,\n \"y\": 0.39762469000000067\n },\n {\n \"x\": 0.3793021704999999,\n \"y\": -0.3961256399999993\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path217\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1498644295,\n \"y\": -0.2638359399999999\n },\n {\n \"x\": -0.1498644295,\n \"y\": 0.26533006000000015\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path218\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.22923942949999887,\n \"y\": 0.2653310599999994\n },\n {\n \"x\": -0.22923942949999887,\n \"y\": -0.26383493999999885\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path219\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5467394294999997,\n \"y\": 0.26533006000000015\n },\n {\n \"x\": -0.22923942949999887,\n \"y\": 0.2653320600000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path220\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1498644295,\n \"y\": 0.18595506000000128\n },\n {\n \"x\": 0.11471897050000024,\n \"y\": 0.18595506000000128\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path221\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1498644295,\n \"y\": -0.18446093999999924\n },\n {\n \"x\": 0.11471897050000024,\n \"y\": -0.18446093999999924\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path222\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.07048942950000026,\n \"y\": 0.0007480600000011606\n },\n {\n \"x\": 0.11471887050000085,\n \"y\": 0.0007480600000011606\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"right1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.5651646705000006,\n \"y\": -0.2085436499999993\n },\n \"right2\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.5665500705,\n \"y\": -0.02044358999999929\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.11518067050000003,\n \"y\": -0.5432738300000004\n },\n \"bottom1\": {\n \"x\": 0.11482247050000094,\n \"y\": 0.5432738300000004\n },\n \"left1\": {\n \"x\": -0.5483916295000002,\n \"y\": 0.2663988600000007\n }\n },\n \"bounds\": {\n \"minX\": -0.5765500705000002,\n \"maxX\": 0.6665500704999999,\n \"minY\": -0.5714322710000004,\n \"maxY\": 0.5714322710000004,\n \"width\": 1.2431001410000002,\n \"height\": 0.7928645420000008,\n \"centerX\": 0.04499999999999987,\n \"centerY\": 0\n },\n \"circles\": {}\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 \"path12-1-8-6-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.005962250000000502,\n \"y\": -0.06421149999999898\n },\n {\n \"x\": 0.005962250000000502,\n \"y\": 0.010086499999999887\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.48740705000000073,\n \"y\": 0.0979945000000022\n },\n {\n \"x\": -0.17310075000000058,\n \"y\": 0.0979945000000022\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.16008695000000017,\n \"y\": 0.015660500000000965\n },\n {\n \"x\": 0.1719709499999995,\n \"y\": 0.015660500000000965\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1954987499999996,\n \"y\": 0.09760550000000023\n },\n {\n \"x\": 0.4881436499999996,\n \"y\": 0.09760550000000023\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.09950044999999985,\n \"y\": -0.05339449999999957\n },\n {\n \"x\": -0.09950104999999976,\n \"y\": -0.05697449999999904\n },\n {\n \"x\": -0.09932044999999956,\n \"y\": -0.06050449999999863\n },\n {\n \"x\": -0.09896044999999987,\n \"y\": -0.06401049999999842\n },\n {\n \"x\": -0.09860045000000017,\n \"y\": -0.06750049999999774\n },\n {\n \"x\": -0.09806045000000019,\n \"y\": -0.07093049999999756\n },\n {\n \"x\": -0.09735344999999995,\n \"y\": -0.07429949999999863\n },\n {\n \"x\": -0.09663345000000056,\n \"y\": -0.07765949999999933\n },\n {\n \"x\": -0.09578045000000035,\n \"y\": -0.080999499999999\n },\n {\n \"x\": -0.09475245000000054,\n \"y\": -0.08424949999999853\n },\n {\n \"x\": -0.09379245000000047,\n \"y\": -0.08755949999999757\n },\n {\n \"x\": -0.09254545000000025,\n \"y\": -0.09067949999999847\n },\n {\n \"x\": -0.09120844999999989,\n \"y\": -0.09377950000000013\n },\n {\n \"x\": -0.08986644999999971,\n \"y\": -0.09686950000000039\n },\n {\n \"x\": -0.08839545000000015,\n \"y\": -0.09992949999999823\n },\n {\n \"x\": -0.08675845000000049,\n \"y\": -0.1028394999999982\n },\n {\n \"x\": -0.08506245000000057,\n \"y\": -0.10569950000000006\n },\n {\n \"x\": -0.08334244999999996,\n \"y\": -0.10860950000000003\n },\n {\n \"x\": -0.08146945000000017,\n \"y\": -0.11138949999999781\n },\n {\n \"x\": -0.0795824500000002,\n \"y\": -0.11416949999999915\n },\n {\n \"x\": -0.07752845000000086,\n \"y\": -0.11680949999999868\n },\n {\n \"x\": -0.07546944999999994,\n \"y\": -0.11942949999999897\n },\n {\n \"x\": -0.07325945000000011,\n \"y\": -0.12193949999999987\n },\n {\n \"x\": -0.07104145000000006,\n \"y\": -0.12444949999999722\n },\n {\n \"x\": -0.06867544999999975,\n \"y\": -0.12682949999999948\n },\n {\n \"x\": -0.06628845000000005,\n \"y\": -0.12916949999999972\n },\n {\n \"x\": -0.06379544999999975,\n \"y\": -0.13141949999999802\n },\n {\n \"x\": -0.06114145000000004,\n \"y\": -0.1334894999999996\n },\n {\n \"x\": -0.05848745000000033,\n \"y\": -0.135569499999999\n },\n {\n \"x\": -0.05584345000000024,\n \"y\": -0.13761949999999956\n },\n {\n \"x\": -0.05306845000000049,\n \"y\": -0.13949949999999944\n },\n {\n \"x\": -0.05029345000000074,\n \"y\": -0.14139950000000034\n },\n {\n \"x\": -0.04738844999999969,\n \"y\": -0.14311950000000095\n },\n {\n \"x\": -0.04437445000000029,\n \"y\": -0.14469949999999798\n },\n {\n \"x\": -0.04134744999999995,\n \"y\": -0.14631949999999883\n },\n {\n \"x\": -0.038316449999999946,\n \"y\": -0.1477594999999976\n },\n {\n \"x\": -0.03515645000000056,\n \"y\": -0.14907949999999914\n },\n {\n \"x\": -0.03204444999999989,\n \"y\": -0.15036950000000004\n },\n {\n \"x\": -0.028770450000000558,\n \"y\": -0.1515594999999994\n },\n {\n \"x\": -0.025468450000000864,\n \"y\": -0.1525794999999981\n },\n {\n \"x\": -0.02213745000000067,\n \"y\": -0.1536395000000006\n },\n {\n \"x\": -0.018790450000000014,\n \"y\": -0.15442949999999733\n },\n {\n \"x\": -0.01536325000000005,\n \"y\": -0.15512949999999748\n },\n {\n \"x\": -0.011980249999999693,\n \"y\": -0.1558294999999994\n },\n {\n \"x\": -0.008442250000000762,\n \"y\": -0.15641949999999838\n },\n {\n \"x\": -0.004890650000000107,\n \"y\": -0.15674949999999832\n },\n {\n \"x\": -0.0013406500000003874,\n \"y\": -0.15704949999999585\n },\n {\n \"x\": 0.002252350000000014,\n \"y\": -0.1571494999999974\n },\n {\n \"x\": 0.005893849999999645,\n \"y\": -0.1571494999999974\n },\n {\n \"x\": 0.009534849999998762,\n \"y\": -0.1571494999999974\n },\n {\n \"x\": 0.013136849999999534,\n \"y\": -0.15704949999999585\n },\n {\n \"x\": 0.016683149999999536,\n \"y\": -0.15674949999999832\n },\n {\n \"x\": 0.020231149999998976,\n \"y\": -0.15644949999999902\n },\n {\n \"x\": 0.023727149999999142,\n \"y\": -0.15604949999999818\n },\n {\n \"x\": 0.02715474999999934,\n \"y\": -0.15512949999999748\n },\n {\n \"x\": 0.03057874999999921,\n \"y\": -0.15452949999999888\n },\n {\n \"x\": 0.03395574999999962,\n \"y\": -0.15367949999999908\n },\n {\n \"x\": 0.03725995000000015,\n \"y\": -0.1525894999999995\n },\n {\n \"x\": 0.0405679499999998,\n \"y\": -0.15152949999999876\n },\n {\n \"x\": 0.04379994999999948,\n \"y\": -0.15041949999999815\n },\n {\n \"x\": 0.04695294999999966,\n \"y\": -0.14909950000000016\n },\n {\n \"x\": 0.050101949999999285,\n \"y\": -0.14780949999999926\n },\n {\n \"x\": 0.053191949999999544,\n \"y\": -0.14631949999999883\n },\n {\n \"x\": 0.05617794999999948,\n \"y\": -0.14473950000000002\n },\n {\n \"x\": 0.05916694999999983,\n \"y\": -0.14311950000000095\n },\n {\n \"x\": 0.06206694999999929,\n \"y\": -0.14139950000000034\n },\n {\n \"x\": 0.06487294999999982,\n \"y\": -0.13955950000000072\n },\n {\n \"x\": 0.06767095000000012,\n \"y\": -0.13769950000000186\n },\n {\n \"x\": 0.07038294999999994,\n \"y\": -0.1356995000000012\n },\n {\n \"x\": 0.07299194999999958,\n \"y\": -0.13357950000000152\n },\n {\n \"x\": 0.07560095000000011,\n \"y\": -0.13145950000000184\n },\n {\n \"x\": 0.07809294999999938,\n \"y\": -0.12920950000000175\n },\n {\n \"x\": 0.08047994999999997,\n \"y\": -0.12687950000000114\n },\n {\n \"x\": 0.08287894999999956,\n \"y\": -0.12453950000000091\n },\n {\n \"x\": 0.08515495000000062,\n \"y\": -0.12206950000000028\n },\n {\n \"x\": 0.08729294999999926,\n \"y\": -0.11951950000000089\n },\n {\n \"x\": 0.08944594999999911,\n \"y\": -0.11692950000000124\n },\n {\n \"x\": 0.0914679499999993,\n \"y\": -0.11430950000000095\n },\n {\n \"x\": 0.09337295000000001,\n \"y\": -0.11152949999999962\n },\n {\n \"x\": 0.0971669499999992,\n \"y\": -0.1060194999999986\n },\n {\n \"x\": 0.10043494999999947,\n \"y\": -0.1001245000000015\n },\n {\n \"x\": 0.10311494999999926,\n \"y\": -0.09390950000000053\n },\n {\n \"x\": 0.10444094999999987,\n \"y\": -0.09081950000000028\n },\n {\n \"x\": 0.10564094999999973,\n \"y\": -0.08762950000000025\n },\n {\n \"x\": 0.10667494999999949,\n \"y\": -0.08435950000000147\n },\n {\n \"x\": 0.10769994999999977,\n \"y\": -0.08110950000000194\n },\n {\n \"x\": 0.1085699499999997,\n \"y\": -0.07779950000000291\n },\n {\n \"x\": 0.10927795000000007,\n \"y\": -0.07442950000000259\n },\n {\n \"x\": 0.10999794999999946,\n \"y\": -0.0710595000000005\n },\n {\n \"x\": 0.11051994999999959,\n \"y\": -0.06762950000000068\n },\n {\n \"x\": 0.11088394999999984,\n \"y\": -0.06413950000000135\n },\n {\n \"x\": 0.11124394999999954,\n \"y\": -0.06064950000000202\n },\n {\n \"x\": 0.11142394999999983,\n \"y\": -0.05709950000000141\n },\n {\n \"x\": 0.11142394999999983,\n \"y\": -0.053543499999999966\n },\n {\n \"x\": 0.10483595000000001,\n \"y\": -0.05353049999999904\n },\n {\n \"x\": 0.0982479500000002,\n \"y\": -0.05351650000000063\n },\n {\n \"x\": 0.09164495000000006,\n \"y\": -0.05351850000000091\n },\n {\n \"x\": 0.08505695000000024,\n \"y\": -0.05350850000000129\n },\n {\n \"x\": 0.078453950000001,\n \"y\": -0.05350950000000054\n },\n {\n \"x\": 0.07186595000000029,\n \"y\": -0.053496499999999614\n },\n {\n \"x\": 0.06526295000000104,\n \"y\": -0.05349750000000064\n },\n {\n \"x\": 0.058674950000001225,\n \"y\": -0.053485499999998964\n },\n {\n \"x\": 0.05208695000000052,\n \"y\": -0.05347349999999906\n },\n {\n \"x\": 0.04548395000000127,\n \"y\": -0.05347549999999934\n },\n {\n \"x\": 0.038895950000001456,\n \"y\": -0.05346150000000094\n },\n {\n \"x\": 0.03230795000000075,\n \"y\": -0.053448499999998234\n },\n {\n \"x\": 0.025704950000001503,\n \"y\": -0.053453499999998044\n },\n {\n \"x\": 0.019101950000001366,\n \"y\": -0.053454499999997296\n },\n {\n \"x\": 0.01251395000000155,\n \"y\": -0.05344149999999637\n },\n {\n \"x\": 0.005925950000001734,\n \"y\": -0.05342749999999796\n },\n {\n \"x\": -0.0006560499999990199,\n \"y\": -0.0534214999999989\n },\n {\n \"x\": -0.007240049999999165,\n \"y\": -0.05341449999999881\n },\n {\n \"x\": -0.01382404999999931,\n \"y\": -0.05340849999999975\n },\n {\n \"x\": -0.020406049999999176,\n \"y\": -0.053402500000000686\n },\n {\n \"x\": -0.02699004999999932,\n \"y\": -0.053394500000001344\n },\n {\n \"x\": -0.03357404999999947,\n \"y\": -0.05338950000000331\n },\n {\n \"x\": -0.04015604999999933,\n \"y\": -0.05338350000000425\n },\n {\n \"x\": -0.04674004999999948,\n \"y\": -0.05337450000000388\n },\n {\n \"x\": -0.05332205000000023,\n \"y\": -0.053368500000004815\n },\n {\n \"x\": -0.05990605000000038,\n \"y\": -0.05336050000000547\n },\n {\n \"x\": -0.06649005000000052,\n \"y\": -0.05335550000000566\n },\n {\n \"x\": -0.07307205000000039,\n \"y\": -0.0533495000000066\n },\n {\n \"x\": -0.07965605000000053,\n \"y\": -0.05334150000000726\n },\n {\n \"x\": -0.08624005000000068,\n \"y\": -0.053335500000008196\n },\n {\n \"x\": -0.09282205000000143,\n \"y\": -0.05333050000001016\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.01254745000000046,\n \"y\": -0.26112850000000165\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.16130964999999975,\n \"y\": 0.27112849999999966\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.4717985499999999,\n \"y\": 0.0979675000000011\n },\n \"right1\": {\n \"x\": 0.4717985499999999,\n \"y\": 0.09799250000000015\n }\n },\n \"bounds\": {\n \"minX\": -0.4999569909999999,\n \"maxX\": 0.4999569909999999,\n \"minY\": -0.36112850000000163,\n \"maxY\": 0.27112849999999966,\n \"width\": 1,\n \"height\": 1,\n \"centerX\": 0,\n \"centerY\": -0.045000000000000984\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/mushroom_head_normally_open_momentary.json\"\nimport { Primitive } 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_bottom\", x: 0 },\n { ...texts.bottom1, anchor: \"middle_top\", x: 0 },\n ] as Primitive[],\n ports: [\n { ...refblocks.left1, labels: [\"1\"] },\n { ...refblocks.right1, labels: [\"2\"] },\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX + 0.006, y: bounds.centerY + 0.06 },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport mushroom_head_normally_open_momentary_horz from \"./mushroom_head_normally_open_momentary_horz\"\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(mushroom_head_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.03\nref.y = ref.y\n\nval.x = val.x\nval.y = 0\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.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 \"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-8-3-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09448295549999952,\n \"y\": -0.14677165000000048\n },\n {\n \"x\": 0.09319295549999951,\n \"y\": -0.06899565000000041\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 \"path2-8-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09440455549999993,\n \"y\": 0.07703174999999951\n },\n {\n \"x\": 0.09311455549999992,\n \"y\": 0.15480774999999958\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2-8-3-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09448295549999952,\n \"y\": -0.03486995000000048\n },\n {\n \"x\": 0.09319295549999951,\n \"y\": 0.042906049999999585\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path15\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2741991554999996,\n \"y\": 0.040776550000000134\n },\n {\n \"x\": 0.2741991554999996,\n \"y\": -0.030615549999999825\n },\n {\n \"x\": 0.2024441554999994,\n \"y\": 0.004662350000000037\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.10847375000000059\n },\n {\n \"x\": 0.05111245550000065,\n \"y\": 0.1059225499999994\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_e_mosfet_transistor.json\"\nimport { Primitive } 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_right\", x: 0 },\n { ...texts.bottom1, anchor: \"middle_right\", x: 0 },\n ] as Primitive[],\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_e_mosfet_transistor_horz from \"./n_channel_e_mosfet_transistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(n_channel_e_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.3850939444999988,\n \"y\": 0.0036735999999999436\n },\n {\n \"x\": 0.0587620555000008,\n \"y\": 0.0062965999999997635\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07400475550000118,\n \"y\": -0.2689528999999997\n },\n {\n \"x\": 0.07335475550000092,\n \"y\": 0.2789230000000007\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-0-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2754149555000005,\n \"y\": -0.24180210000000013\n },\n {\n \"x\": 0.07955815550000045,\n \"y\": -0.10822479999999968\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-0-5-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2868554555000009,\n \"y\": 0.24134789999999984\n },\n {\n \"x\": 0.09194705550000082,\n \"y\": 0.10807689999999992\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2851204555,\n \"y\": -0.25311099999999964\n },\n {\n \"x\": 0.2860204555000001,\n \"y\": -0.5377640999999995\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2851204555,\n \"y\": 0.5376890000000012\n },\n {\n \"x\": 0.2860204555000001,\n \"y\": 0.25303590000000065\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path15\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1882816555000013,\n \"y\": 0.10097660000000008\n },\n {\n \"x\": 0.11555775550000158,\n \"y\": 0.20483720000000027\n },\n {\n \"x\": 0.22425775550000182,\n \"y\": 0.20446720000000007\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.22497334449999973,\n \"y\": -0.3596647999999991\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0679100444999996,\n \"y\": 0.4129789000000006\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.28556045550000064,\n \"y\": -0.5519250999999994\n },\n \"bottom1\": {\n \"x\": 0.285560455500002,\n \"y\": 0.5519250999999992\n },\n \"left1\": {\n \"x\": -0.3990097444999998,\n \"y\": 0.004526300000000871\n }\n },\n \"bounds\": {\n \"minX\": -0.4271681854999998,\n \"maxX\": 0.4271681855000001,\n \"minY\": -0.5800835409999994,\n \"maxY\": 0.5800835409999991,\n \"width\": 1,\n \"height\": 1.1601670819999985,\n \"centerX\": 1.3877787807814457e-16,\n \"centerY\": -1.1102230246251565e-16\n },\n \"circles\": {\n \"path1-0\": {\n \"type\": \"circle\",\n \"x\": 0.13862605550000007,\n \"y\": -0.003454799999999203,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import svgJson from \"assets/generated/npn_bipolar_transistor.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\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.07,\n y: -0.3596647999999991,\n anchor: \"middle_right\",\n },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: -0.0679100444999996,\n y: 0.4129789000000006,\n anchor: \"middle_right\",\n },\n ] as any,\n ports: [\n { ...refblocks.top1, labels: [\"1\", \"collector\"] },\n { ...refblocks.bottom1, labels: [\"2\", \"emitter\"] },\n { ...refblocks.left1, labels: [\"3\", \"base\"] },\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 npn_bipolar_transistor_horz from \"./npn_bipolar_transistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(npn_bipolar_transistor_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\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.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 \"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-8-3-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09448295549999952,\n \"y\": -0.14677165000000048\n },\n {\n \"x\": 0.09319295549999951,\n \"y\": -0.06899565000000041\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 \"path2-8-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09440455549999993,\n \"y\": 0.07703174999999951\n },\n {\n \"x\": 0.09311455549999992,\n \"y\": 0.15480774999999958\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2-8-3-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09448295549999952,\n \"y\": -0.03486995000000048\n },\n {\n \"x\": 0.09319295549999951,\n \"y\": 0.042906049999999585\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.10847375000000059\n },\n {\n \"x\": 0.05111245550000065,\n \"y\": 0.1059225499999994\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_e_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_e_mosfet_transistor_horz from \"./p_channel_e_mosfet_transistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(p_channel_e_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.3850939444999988,\n \"y\": 0.0036735999999999436\n },\n {\n \"x\": 0.0587620555000008,\n \"y\": 0.0062965999999997635\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07400475550000118,\n \"y\": -0.2689528999999997\n },\n {\n \"x\": 0.07335475550000092,\n \"y\": 0.2789230000000007\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-0-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2754149555000005,\n \"y\": -0.24180210000000013\n },\n {\n \"x\": 0.07955815550000045,\n \"y\": -0.10822479999999968\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-0-5-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2868554555000009,\n \"y\": 0.24134789999999984\n },\n {\n \"x\": 0.09194705550000082,\n \"y\": 0.10807689999999992\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2851204555,\n \"y\": -0.25311099999999964\n },\n {\n \"x\": 0.2860204555000001,\n \"y\": -0.5377640999999995\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2851204555,\n \"y\": 0.5376890000000012\n },\n {\n \"x\": 0.2860204555000001,\n \"y\": 0.25303590000000065\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path15\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.15155145550000038,\n \"y\": 0.2268796000000004\n },\n {\n \"x\": 0.2242753555000001,\n \"y\": 0.12301900000000021\n },\n {\n \"x\": 0.11557535549999942,\n \"y\": 0.12338900000000042\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.22497334449999973,\n \"y\": -0.3596647999999991\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0679100444999996,\n \"y\": 0.4129789000000006\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.28556045550000064,\n \"y\": -0.5519250999999994\n },\n \"bottom1\": {\n \"x\": 0.285560455500002,\n \"y\": 0.5519250999999992\n },\n \"left1\": {\n \"x\": -0.3990097444999998,\n \"y\": 0.004526300000000871\n }\n },\n \"bounds\": {\n \"minX\": -0.4271681854999998,\n \"maxX\": 0.4271681855000001,\n \"minY\": -0.5800835409999994,\n \"maxY\": 0.5800835409999991,\n \"width\": 1,\n \"height\": 1.1601670819999985,\n \"centerX\": 1.3877787807814457e-16,\n \"centerY\": -1.1102230246251565e-16\n },\n \"circles\": {\n \"path1-0\": {\n \"type\": \"circle\",\n \"x\": 0.13862605550000007,\n \"y\": -0.003454799999999203,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import svgJson from \"assets/generated/pnp_bipolar_transistor.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\nimport { Primitive } 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.07,\n y: -0.3596647999999991,\n anchor: \"middle_right\",\n },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: -0.0679100444999996,\n y: 0.4129789000000006,\n anchor: \"middle_right\",\n },\n ] as Primitive[],\n ports: [\n { ...refblocks.top1, labels: [\"1\", \"collector\"] },\n { ...refblocks.bottom1, labels: [\"2\", \"emitter\"] },\n { ...refblocks.left1, labels: [\"3\", \"base\"] },\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 pnp_bipolar_transistor_horz from \"./pnp_bipolar_transistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(pnp_bipolar_transistor_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.anchor = \"middle_left\"\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5274831500000005,\n \"y\": -0.03018695000000049\n },\n {\n \"x\": -0.30105415000000013,\n \"y\": -0.03018695000000049\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2932119499999999,\n \"y\": -0.03018695000000049\n },\n {\n \"x\": 0.5339524499999997,\n \"y\": -0.03018695000000049\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-5-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09765764999999949,\n \"y\": -0.12845085000000034\n },\n {\n \"x\": -0.0011297500000011507,\n \"y\": 0.06303624999999946\n },\n {\n \"x\": -0.10778645000000164,\n \"y\": -0.12845085000000034\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12123945000000003,\n \"y\": 0.14031524999999934\n },\n {\n \"x\": 0.11950104999999955,\n \"y\": 0.14031524999999934\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17328624999999942,\n \"y\": -0.39216264999999995\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.00661455000000033,\n \"y\": 0.40216264999999995\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5413984499999998,\n \"y\": -0.029334149999999948\n },\n \"right1\": {\n \"x\": 0.54139845,\n \"y\": -0.030330549999999734\n }\n },\n \"bounds\": {\n \"minX\": -0.5695568909999997,\n \"maxX\": 0.569556891,\n \"minY\": -0.4921626499999999,\n \"maxY\": 0.40216264999999995,\n \"width\": 1.1391137819999997,\n \"height\": 0.5443252999999999,\n \"centerX\": 1.1102230246251565e-16,\n \"centerY\": -0.044999999999999984\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.0037626500000000895,\n \"y\": -0.03731525000000002,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\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.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 + 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.53224045,\n \"y\": 0.0008545000000008685\n },\n {\n \"x\": -0.26765715000000023,\n \"y\": 0.0008545000000008685\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path19\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2615098499999995,\n \"y\": 0.0008545000000008685\n },\n {\n \"x\": 0.5260934499999994,\n \"y\": 0.0008545000000008685\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path20\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.0030722500000006647,\n \"y\": -0.1314371999999988\n },\n {\n \"x\": 0.2615107499999998,\n \"y\": -0.1314371999999988\n },\n {\n \"x\": 0.2615107499999998,\n \"y\": 0.13314619999999877\n },\n {\n \"x\": -0.26765624999999993,\n \"y\": 0.13314619999999877\n },\n {\n \"x\": -0.26765624999999993,\n \"y\": -0.1314371999999988\n },\n {\n \"x\": -0.0030722499999988884,\n \"y\": -0.1314371999999988\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path23\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2782993499999993,\n \"y\": 0.2822274\n },\n {\n \"x\": 0.17598844999999885,\n \"y\": 0.25486950000000164\n },\n {\n \"x\": 0.25094144999999823,\n \"y\": 0.1799165000000027\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path24\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2882692499999995,\n \"y\": 0.2921307000000013\n },\n {\n \"x\": 0.25467554999999953,\n \"y\": 0.16634940000000142\n },\n {\n \"x\": 0.16229264999999948,\n \"y\": 0.25853690000000284\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path26\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.2985911500000009,\n \"y\": -0.2921307000000013\n },\n {\n \"x\": 0.22988164999999938,\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.055041669999999154,\n \"y\": -0.2009376800000009\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.10019643000000089,\n \"y\": 0.27857531999999985\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5346914500000006,\n \"y\": 0.0013439000000019519\n },\n \"right1\": {\n \"x\": 0.5346914500000004,\n \"y\": 0.001956599999999753\n }\n },\n \"bounds\": {\n \"minX\": -0.5628498910000006,\n \"maxX\": 0.5628498910000004,\n \"minY\": -0.3009376800000009,\n \"maxY\": 0.2921307000000013,\n \"width\": 1.125699782000001,\n \"height\": 0.2430683800000022,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": -0.004403489999999788\n },\n \"circles\": {}\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.010157449999999457,\n \"y\": -0.07203999999999766\n },\n {\n \"x\": 0.010157449999999457,\n \"y\": 0.04317300000000124\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.48740705000000073,\n \"y\": 0.024894000000003302\n },\n {\n \"x\": -0.17310075000000147,\n \"y\": 0.024894000000003302\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.17515525000000043,\n \"y\": 0.04869000000000234\n },\n {\n \"x\": 0.1954249499999996,\n \"y\": 0.04869000000000234\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1954987499999996,\n \"y\": 0.02450500000000133\n },\n {\n \"x\": 0.4881436499999996,\n \"y\": 0.02450500000000133\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.009807749999999338,\n \"y\": -0.252520999999998\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.157175650000001,\n \"y\": 0.26252100000000134\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.4717985500000008,\n \"y\": 0.02486700000000397\n },\n \"right1\": {\n \"x\": 0.4717985499999999,\n \"y\": 0.024892000000003023\n }\n },\n \"bounds\": {\n \"minX\": -0.4999569910000008,\n \"maxX\": 0.4999569909999999,\n \"minY\": -0.352520999999998,\n \"maxY\": 0.26252100000000134,\n \"width\": 0.9999139820000007,\n \"height\": 0.26504199999999933,\n \"centerX\": -4.440892098500626e-16,\n \"centerY\": -0.04499999999999832\n },\n \"circles\": {}\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.005962250000000502,\n \"y\": -0.14781649999999757\n },\n {\n \"x\": 0.005962250000000502,\n \"y\": -0.03142349999999894\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.48740705000000073,\n \"y\": 0.05648450000000338\n },\n {\n \"x\": -0.17310075000000058,\n \"y\": 0.05648450000000338\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.16008695000000017,\n \"y\": -0.02584949999999786\n },\n {\n \"x\": 0.1719709499999995,\n \"y\": -0.02584949999999786\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1954987499999996,\n \"y\": 0.05609550000000141\n },\n {\n \"x\": 0.4881436499999996,\n \"y\": 0.05609550000000141\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.006701050000000208,\n \"y\": -0.2196184999999975\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.16130964999999975,\n \"y\": 0.22961850000000084\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.4717985499999999,\n \"y\": 0.05645750000000227\n },\n \"right1\": {\n \"x\": 0.4717985499999999,\n \"y\": 0.05648250000000132\n }\n },\n \"bounds\": {\n \"minX\": -0.4999569909999999,\n \"maxX\": 0.4999569909999999,\n \"minY\": -0.3196184999999975,\n \"maxY\": 0.22961850000000084,\n \"width\": 0.9999139819999998,\n \"height\": 0.19923699999999833,\n \"centerX\": 0,\n \"centerY\": -0.04499999999999832\n },\n \"circles\": {}\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 \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.19250837381256392,\n \"y\": -0.32749349347032286\n },\n {\n \"x\": -0.25568957329611974,\n \"y\": -0.13794979950157282\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.38205206778131373,\n \"y\": -0.26431229398676837\n },\n {\n \"x\": -0.19250837381256392,\n \"y\": -0.32749349347032286\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.2556895732961204,\n \"y\": -0.13794979950157416\n },\n {\n \"x\": -0.38205206778131373,\n \"y\": -0.26431229398676837\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.2556896210551609,\n \"y\": -0.39067474071292196\n },\n {\n \"x\": -0.12932712656996737,\n \"y\": -0.26431224622772653\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3199237641156438,\n \"y\": -0.2000781031672434\n },\n {\n \"x\": -0.5084145145074668,\n \"y\": -0.011587352775420667\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.011560829633404435,\n \"y\": -0.5083596562436202\n },\n {\n \"x\": -0.19004023433272543,\n \"y\": -0.3298802515442989\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-4\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.19250813152967883,\n \"y\": 0.3220463011874377\n },\n {\n \"x\": -0.38205182549842887,\n \"y\": 0.2588651017038819\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.2556893310132333,\n \"y\": 0.13250260721868767\n },\n {\n \"x\": -0.19250813152967883,\n \"y\": 0.3220463011874377\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.38205182549842753,\n \"y\": 0.258865101703881\n },\n {\n \"x\": -0.2556893310132333,\n \"y\": 0.13250260721868767\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12932688428707984,\n \"y\": 0.2588650539448407\n },\n {\n \"x\": -0.25568937877227516,\n \"y\": 0.38522754843003404\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3199235218327583,\n \"y\": 0.19463091088435758\n },\n {\n \"x\": -0.508414272224581,\n \"y\": 0.006140160492534852\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.011641968756381349,\n \"y\": 0.5029938453665972\n },\n {\n \"x\": -0.1901213734557028,\n \"y\": 0.3245144406672762\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-4-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.322578868470321,\n \"y\": -0.19315369881256328\n },\n {\n \"x\": 0.13303517450157099,\n \"y\": -0.2563348982961191\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41-1-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2593976689867663,\n \"y\": -0.3826973927813131\n },\n {\n \"x\": 0.322578868470321,\n \"y\": -0.19315369881256328\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42-7-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13303517450157232,\n \"y\": -0.2563348982961198\n },\n {\n \"x\": 0.2593976689867663,\n \"y\": -0.3826973927813131\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-1-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.38576011571292,\n \"y\": -0.2563349460551603\n },\n {\n \"x\": 0.2593976212277247,\n \"y\": -0.12997245156996673\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-8-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.19516347816724133,\n \"y\": -0.3205690891156432\n },\n {\n \"x\": 0.006672727775418608,\n \"y\": -0.509059839507466\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0-7-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5034450312436185,\n \"y\": -0.012206154633403798\n },\n {\n \"x\": 0.32496562654429706,\n \"y\": -0.19068555933272457\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-4-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3220220261874358,\n \"y\": 0.19326390652967795\n },\n {\n \"x\": 0.25884082670387976,\n \"y\": 0.382807600498428\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41-1-4\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13247833221868577,\n \"y\": 0.25644510601323245\n },\n {\n \"x\": 0.3220220261874358,\n \"y\": 0.19326390652967795\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42-7-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2588408267038793,\n \"y\": 0.38280760049842666\n },\n {\n \"x\": 0.13247833221868577,\n \"y\": 0.25644510601323245\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-1-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2588407789448386,\n \"y\": 0.13008265928707896\n },\n {\n \"x\": 0.38520327343003213,\n \"y\": 0.2564451537722743\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-8-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.19460663588435567,\n \"y\": 0.3206792968327574\n },\n {\n \"x\": 0.0061158854925329464,\n \"y\": 0.5091700472245801\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0-7-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5029695703665951,\n \"y\": 0.012397743756380697\n },\n {\n \"x\": 0.3244901656672745,\n \"y\": 0.19087714845570192\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.2872803000000015,\n \"y\": -0.4564494249999992\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.2872803000000015,\n \"y\": 0.4960514750000007\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.0005126999999993664,\n \"y\": -0.5191475\n },\n \"bottom1\": {\n \"x\": -0.0005123000000009093,\n \"y\": 0.5191475000000001\n },\n \"left1\": {\n \"x\": -0.5191472999999998,\n \"y\": -0.0005123250000014234\n },\n \"right1\": {\n \"x\": 0.5191473000000002,\n \"y\": 0.0005123749999977889\n }\n },\n \"bounds\": {\n \"minX\": -0.5473057409999997,\n \"maxX\": 0.5473057410000002,\n \"minY\": -0.5564494249999992,\n \"maxY\": 0.5473059410000001,\n \"width\": 1.094611482,\n \"height\": 1.1037553659999992,\n \"centerX\": 2.220446049250313e-16,\n \"centerY\": -0.004571741999999546\n },\n \"circles\": {}\n}","import svgJson from \"assets/generated/rectifier_diode.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\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\" },\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 { ...refblocks.right1, labels: [\"4\"] }, // 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 type { TextPrimitive } from \"drawing\"\nimport { rotateSymbol } from \"drawing/rotateSymbol\"\nimport rectifier_diode_horz from \"./rectifier_diode_horz\"\n\nconst rotated = rotateSymbol(rectifier_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 \"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 \"path1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3543583500000005,\n \"y\": -0.027043850000000758\n },\n {\n \"x\": -0.12792935000000005,\n \"y\": -0.027043850000000758\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path-1-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1133669500000003,\n \"y\": -0.027198750000000382\n },\n {\n \"x\": 0.11208324999999997,\n \"y\": -0.14100155000000036\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1043477500000003,\n \"y\": 0.06951304999999941\n },\n {\n \"x\": 0.34508875000000017,\n \"y\": 0.06951304999999941\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12008575000000055,\n \"y\": -0.1671466500000005\n },\n {\n \"x\": 0.3608267500000004,\n \"y\": -0.1671466500000005\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17853294999999947,\n \"y\": -0.39216264999999995\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.011861250000000378,\n \"y\": 0.40216264999999995\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.10744654999999947,\n \"y\": -0.16714664999999962\n },\n \"left1\": {\n \"x\": -0.3682737499999995,\n \"y\": -0.02704385000000009\n },\n \"left2\": {\n \"x\": -0.11569114999999996,\n \"y\": -0.02704385000000009\n },\n \"right1\": {\n \"x\": 0.3682737499999995,\n \"y\": -0.16714664999999962\n },\n \"right2\": {\n \"x\": 0.3682737499999995,\n \"y\": 0.06951305000000008\n },\n \"right3\": {\n \"x\": 0.10744725000000055,\n \"y\": 0.06951305000000008\n }\n },\n \"bounds\": {\n \"minX\": -0.3964321909999995,\n \"maxX\": 0.3964321909999995,\n \"minY\": -0.4921626499999999,\n \"maxY\": 0.40216264999999995,\n \"width\": 0.792864381999999,\n \"height\": 0.5443252999999999,\n \"centerX\": 0,\n \"centerY\": -0.044999999999999984\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/SPDT_switch.json\"\nimport { Primitive } 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_bottom\", x: -0.01 },\n { ...texts.bottom1, anchor: \"middle_top\", x: -0.01 },\n ] as Primitive[],\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"3\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right2, 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 SPDT_switch_horz from \"./SPDT_switch_horz\"\n\nconst rotatedSymbol = rotateSymbol(SPDT_switch_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")!\n\nconst val = texts.find((t) => t.text === \"{VAL}\")!\n\nval.anchor = \"middle_right\"\nval.x = -0.3\nval.y = 0\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.anchor = \"middle_left\"\nref.x = 0.3\nref.y = 0\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3622273500000006,\n \"y\": -0.029865150000000895\n },\n {\n \"x\": -0.13579835000000018,\n \"y\": -0.029865150000000895\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12010005000000046,\n \"y\": -0.02833465000000035\n },\n {\n \"x\": 0.10307834999999987,\n \"y\": -0.16802405000000076\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12795584999999932,\n \"y\": -0.029865150000000895\n },\n {\n \"x\": 0.3686967499999996,\n \"y\": -0.029865150000000895\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.1864019499999996,\n \"y\": -0.39216264999999995\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.019730250000000504,\n \"y\": 0.40216264999999995\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.37614274999999964,\n \"y\": -0.02901224999999985\n },\n \"left2\": {\n \"x\": -0.12356015000000009,\n \"y\": -0.025075450000000332\n },\n \"right1\": {\n \"x\": 0.37614274999999964,\n \"y\": -0.030008650000000303\n },\n \"right2\": {\n \"x\": 0.11531695000000042,\n \"y\": -0.025075450000000332\n }\n },\n \"bounds\": {\n \"minX\": -0.4043011909999996,\n \"maxX\": 0.4043011909999996,\n \"minY\": -0.4921626499999999,\n \"maxY\": 0.40216264999999995,\n \"width\": 1,\n \"height\": 1,\n \"centerX\": 0,\n \"centerY\": -0.044999999999999984\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/SPST_switch.json\"\nimport { Primitive } 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_bottom\", x: 0 },\n { ...texts.bottom1, anchor: \"middle_top\", x: 0 },\n ] as Primitive[],\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 SPST_switch_horz from \"./SPST_switch_horz\"\n\nconst rotatedSymbol = rotateSymbol(SPST_switch_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")!\n\nconst val = texts.find((t) => t.text === \"{VAL}\")!\n\nval.anchor = \"middle_right\"\nval.x = -0.3\nval.y = 0\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.anchor = \"middle_left\"\nref.x = 0.3\nref.y = 0\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.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\": \"RPM\",\n \"x\": 0,\n \"y\": -0.025\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/tachometer.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.2 },\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 tachometer_horz from \"./tachometer_horz\"\nimport { Primitive } from \"drawing/types\"\n\nconst { 5: letter, ...rest } = tachometer_horz.primitives\n\nfunction isPrimitive(value: any): value is Primitive {\n return typeof value === \"object\"\n}\n\nconst rotatedSymbol = rotateSymbol({\n ...tachometer_horz,\n primitives: Object.values(rest).filter(isPrimitive),\n})\n\nexport default {\n ...rotatedSymbol,\n primitives: [...rotatedSymbol.primitives, letter],\n}\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5176700499999997,\n \"y\": -0.03674505000000039\n },\n {\n \"x\": -0.10888805000000024,\n \"y\": -0.03674505000000039\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1031184499999993,\n \"y\": -0.03674505000000039\n },\n {\n \"x\": 0.5246894499999994,\n \"y\": -0.03674505000000039\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.09343985000000021,\n \"y\": 0.15120634999999893\n },\n {\n \"x\": -0.0930998500000002,\n \"y\": -0.2533405500000008\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.08519034999999908,\n \"y\": 0.15003384999999914\n },\n {\n \"x\": 0.08553034999999909,\n \"y\": -0.2545130500000006\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.08315755000000014,\n \"y\": -0.05093445000000041\n },\n {\n \"x\": -0.08415755000000047,\n \"y\": 0.15178124999999976\n },\n {\n \"x\": 0.08653524999999984,\n \"y\": 0.05604664999999964\n },\n {\n \"x\": -0.08126175000000035,\n \"y\": -0.051477150000000194\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path11-0-9-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07661224999999927,\n \"y\": -0.25165445000000086\n },\n {\n \"x\": 0.07761224999999983,\n \"y\": -0.04893885000000098\n },\n {\n \"x\": -0.0930805500000007,\n \"y\": -0.1446734500000011\n },\n {\n \"x\": 0.07471644999999949,\n \"y\": -0.2521971500000013\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path12-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09001085000000009,\n \"y\": 0.06464874999999926\n },\n {\n \"x\": 0.2707999499999998,\n \"y\": 0.17611474999999932\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-2-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.27291134999999955,\n \"y\": 0.18091894999999947\n },\n {\n \"x\": 0.27124034999999935,\n \"y\": 0.30668314999999935\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17328624999999964,\n \"y\": -0.41183614999999985\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.03022294999999975,\n \"y\": 0.4218361500000001\n }\n },\n \"refblocks\": {\n \"bottom1\": {\n \"x\": 0.27223905000000026,\n \"y\": 0.31379625\n },\n \"left1\": {\n \"x\": -0.54139845,\n \"y\": -0.0358920500000004\n },\n \"right1\": {\n \"x\": 0.5413984499999995,\n \"y\": -0.03688844999999996\n }\n },\n \"bounds\": {\n \"minX\": -0.569556891,\n \"maxX\": 0.5695568909999995,\n \"minY\": -0.5118361499999998,\n \"maxY\": 0.4218361500000001,\n \"width\": 1.1391137819999995,\n \"height\": 0.5836722999999999,\n \"centerX\": -2.220446049250313e-16,\n \"centerY\": -0.04499999999999987\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.0037626500000003116,\n \"y\": -0.04387315000000025,\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.3274461945,\n \"y\": -0.20527883627037657\n },\n {\n \"x\": -0.021085194500000348,\n \"y\": -0.007570136270376837\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2331163055000003,\n \"y\": -0.1251673362703769\n },\n {\n \"x\": 0.2320633055000001,\n \"y\": -0.3759855362703768\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.23221610549999938,\n \"y\": 0.0818845637296235\n },\n {\n \"x\": 0.2311631054999992,\n \"y\": 0.33270276372962315\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.013263894499999873,\n \"y\": 0.1792007637296229\n },\n {\n \"x\": -0.012923894499999866,\n \"y\": -0.2253461362703768\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.23222970550000066,\n \"y\": -0.12047013627037662\n },\n {\n \"x\": -0.011307094499999115,\n \"y\": -0.11996013627037683\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1124341944999998,\n \"y\": -0.131359936270377\n },\n {\n \"x\": -0.16993279449999954,\n \"y\": -0.039004036270377185\n },\n {\n \"x\": -0.05822649449999928,\n \"y\": -0.03212003627037707\n },\n {\n \"x\": -0.11133889449999979,\n \"y\": -0.13104553627037707\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path11-0-3-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.23230320549999983,\n \"y\": 0.08329316372962325\n },\n {\n \"x\": -0.011233594499999944,\n \"y\": 0.07900616372962332\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.19541139450000045,\n \"y\": -0.389088136270376\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.031363394499999364,\n \"y\": 0.42359956372962415\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.2317438004035266,\n \"y\": -0.3954411227296242\n },\n \"bottom1\": {\n \"x\": 0.2308431668082036,\n \"y\": 0.35215823360635445\n },\n \"left1\": {\n \"x\": -0.34055979449999985,\n \"y\": -0.21512343627037622\n }\n },\n \"bounds\": {\n \"minX\": -0.3687182354999998,\n \"maxX\": 0.3687182354999999,\n \"minY\": -0.48908813627037595,\n \"maxY\": 0.42359956372962415,\n \"width\": 0.7374364709999996,\n \"height\": 0.5626877000000001,\n \"centerX\": 2.7755575615628914e-17,\n \"centerY\": -0.0327442862703759\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0.08017610549999987,\n \"y\": -0.006746336270376352,\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.5245830500000004,\n \"y\": 0.00034089999999764586\n },\n {\n \"x\": -0.25999975000000086,\n \"y\": 0.00034089999999764586\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2691672500000002,\n \"y\": 0.00034089999999764586\n },\n {\n \"x\": 0.5337505499999997,\n \"y\": 0.00034089999999764586\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2691672500000002,\n \"y\": 0.23846589999999956\n },\n {\n \"x\": -0.25999974999999953,\n \"y\": -0.2377841000000025\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.37500025000000026,\n \"y\": 0.23846589999999956\n },\n {\n \"x\": 0.2691672500000002,\n \"y\": 0.23846589999999956\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.004585150000000482,\n \"y\": -0.13195090000000143\n },\n {\n \"x\": 0.26916815000000094,\n \"y\": -0.13195090000000143\n },\n {\n \"x\": 0.26916815000000094,\n \"y\": 0.1326324999999997\n },\n {\n \"x\": -0.2599988499999988,\n \"y\": 0.1326324999999997\n },\n {\n \"x\": -0.2599988499999988,\n \"y\": -0.13195090000000143\n },\n {\n \"x\": 0.004585150000001814,\n \"y\": -0.13195090000000143\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.05849044999999986,\n \"y\": -0.24666550000000065\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.008507150000000685,\n \"y\": 0.25666549999999866\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5392315500000002,\n \"y\": 0.0020305999999994384\n },\n \"right1\": {\n \"x\": 0.5392315500000002,\n \"y\": -0.00033980000000077837\n }\n },\n \"bounds\": {\n \"minX\": -0.5673899910000002,\n \"maxX\": 0.5673899910000002,\n \"minY\": -0.3466655000000006,\n \"maxY\": 0.25666549999999866,\n \"width\": 1.1347799820000004,\n \"height\": 0.2533309999999993,\n \"centerX\": 0,\n \"centerY\": -0.045000000000000984\n },\n \"circles\": {}\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\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,\n \"y\": -0.025\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/varmeter.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.2 },\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 varmeter_horz from \"./varmeter_horz\"\nimport { Primitive } from \"drawing/types\"\n\nconst { 5: letter, ...rest } = varmeter_horz.primitives\n\nfunction isPrimitive(value: any): value is Primitive {\n return typeof value === \"object\"\n}\n\nconst rotatedSymbol = rotateSymbol({\n ...varmeter_horz,\n primitives: Object.values(rest).filter(isPrimitive),\n})\n\nexport default {\n ...rotatedSymbol,\n primitives: [...rotatedSymbol.primitives, letter],\n}\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 \"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\": \"Wh\",\n \"x\": 0,\n \"y\": -0.025\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/watt_hour_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 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.2 },\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 watt_hour_meter_horz from \"./watt_hour_meter_horz\"\nimport { Primitive } from \"drawing/types\"\n\nconst { 5: letter, ...rest } = watt_hour_meter_horz.primitives\n\nfunction isPrimitive(value: any): value is Primitive {\n return typeof value === \"object\"\n}\n\nconst rotatedSymbol = rotateSymbol({\n ...watt_hour_meter_horz,\n primitives: Object.values(rest).filter(isPrimitive),\n})\n\nexport default {\n ...rotatedSymbol,\n primitives: [...rotatedSymbol.primitives, letter],\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 },\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\": \"W\",\n \"x\": 0,\n \"y\": -0.025\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/wattmeter.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 wattmeter_horz from \"./wattmeter_horz\"\nimport { Primitive } from \"drawing/types\"\n\nconst { 5: letter, ...rest } = wattmeter_horz.primitives\n\nfunction isPrimitive(value: any): value is Primitive {\n return typeof value === \"object\"\n}\n\nconst rotatedSymbol = rotateSymbol({\n ...wattmeter_horz,\n primitives: Object.values(rest).filter(isPrimitive),\n})\n\nexport default {\n ...rotatedSymbol,\n primitives: [...rotatedSymbol.primitives, letter],\n}\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 _battery_horz from \"./../symbols/battery_horz\"\nimport _battery_vert from \"./../symbols/battery_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 _darlington_pair_transistor_horz from \"./../symbols/darlington_pair_transistor_horz\"\nimport _darlington_pair_transistor_vert from \"./../symbols/darlington_pair_transistor_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_down from \"./../symbols/diode_down\"\nimport _diode_left from \"./../symbols/diode_left\"\nimport _diode_right from \"./../symbols/diode_right\"\nimport _diode_up from \"./../symbols/diode_up\"\nimport _dpst_switch_horz from \"./../symbols/dpst_switch_horz\"\nimport _dpst_switch_vert from \"./../symbols/dpst_switch_vert\"\nimport _filled_diode_horz from \"./../symbols/filled_diode_horz\"\nimport _filled_diode_vert from \"./../symbols/filled_diode_vert\"\nimport _frequency_meter_horz from \"./../symbols/frequency_meter_horz\"\nimport _frequency_meter_vert from \"./../symbols/frequency_meter_vert\"\nimport _fuse_horz from \"./../symbols/fuse_horz\"\nimport _fuse_vert from \"./../symbols/fuse_vert\"\nimport _ground_horz from \"./../symbols/ground_horz\"\nimport _ground_vert from \"./../symbols/ground_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 _illuminated_push_button_normally_open_horz from \"./../symbols/illuminated_push_button_normally_open_horz\"\nimport _illuminated_push_button_normally_open_vert from \"./../symbols/illuminated_push_button_normally_open_vert\"\nimport _inductor_horz from \"./../symbols/inductor_horz\"\nimport _inductor_vert from \"./../symbols/inductor_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 _light_dependent_resistor_horz from \"./../symbols/light_dependent_resistor_horz\"\nimport _light_dependent_resistor_vert from \"./../symbols/light_dependent_resistor_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 _mushroom_head_normally_open_momentary_horz from \"./../symbols/mushroom_head_normally_open_momentary_horz\"\nimport _mushroom_head_normally_open_momentary_vert from \"./../symbols/mushroom_head_normally_open_momentary_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 _n_channel_e_mosfet_transistor_horz from \"./../symbols/n_channel_e_mosfet_transistor_horz\"\nimport _n_channel_e_mosfet_transistor_vert from \"./../symbols/n_channel_e_mosfet_transistor_vert\"\nimport _njfet_transistor_horz from \"./../symbols/njfet_transistor_horz\"\nimport _njfet_transistor_vert from \"./../symbols/njfet_transistor_vert\"\nimport _npn_bipolar_transistor_horz from \"./../symbols/npn_bipolar_transistor_horz\"\nimport _npn_bipolar_transistor_vert from \"./../symbols/npn_bipolar_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 _p_channel_e_mosfet_transistor_horz from \"./../symbols/p_channel_e_mosfet_transistor_horz\"\nimport _p_channel_e_mosfet_transistor_vert from \"./../symbols/p_channel_e_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 _pnp_bipolar_transistor_horz from \"./../symbols/pnp_bipolar_transistor_horz\"\nimport _pnp_bipolar_transistor_vert from \"./../symbols/pnp_bipolar_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 _rectifier_diode_horz from \"./../symbols/rectifier_diode_horz\"\nimport _rectifier_diode_vert from \"./../symbols/rectifier_diode_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 _SPDT_switch_horz from \"./../symbols/SPDT_switch_horz\"\nimport _SPDT_switch_vert from \"./../symbols/SPDT_switch_vert\"\nimport _SPST_switch_horz from \"./../symbols/SPST_switch_horz\"\nimport _SPST_switch_vert from \"./../symbols/SPST_switch_vert\"\nimport _step_recovery_diode_horz from \"./../symbols/step_recovery_diode_horz\"\nimport _step_recovery_diode_vert from \"./../symbols/step_recovery_diode_vert\"\nimport _tachometer_horz from \"./../symbols/tachometer_horz\"\nimport _tachometer_vert from \"./../symbols/tachometer_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 _varmeter_horz from \"./../symbols/varmeter_horz\"\nimport _varmeter_vert from \"./../symbols/varmeter_vert\"\nimport _volt_meter_horz from \"./../symbols/volt_meter_horz\"\nimport _volt_meter_vert from \"./../symbols/volt_meter_vert\"\nimport _watt_hour_meter_horz from \"./../symbols/watt_hour_meter_horz\"\nimport _watt_hour_meter_vert from \"./../symbols/watt_hour_meter_vert\"\nimport _wattmeter_horz from \"./../symbols/wattmeter_horz\"\nimport _wattmeter_vert from \"./../symbols/wattmeter_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 \"battery_horz\": _battery_horz,\n \"battery_vert\": _battery_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 \"darlington_pair_transistor_horz\": _darlington_pair_transistor_horz,\n \"darlington_pair_transistor_vert\": _darlington_pair_transistor_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_down\": _diode_down,\n \"diode_left\": _diode_left,\n \"diode_right\": _diode_right,\n \"diode_up\": _diode_up,\n \"dpst_switch_horz\": _dpst_switch_horz,\n \"dpst_switch_vert\": _dpst_switch_vert,\n \"filled_diode_horz\": _filled_diode_horz,\n \"filled_diode_vert\": _filled_diode_vert,\n \"frequency_meter_horz\": _frequency_meter_horz,\n \"frequency_meter_vert\": _frequency_meter_vert,\n \"fuse_horz\": _fuse_horz,\n \"fuse_vert\": _fuse_vert,\n \"ground_horz\": _ground_horz,\n \"ground_vert\": _ground_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 \"illuminated_push_button_normally_open_horz\": _illuminated_push_button_normally_open_horz,\n \"illuminated_push_button_normally_open_vert\": _illuminated_push_button_normally_open_vert,\n \"inductor_horz\": _inductor_horz,\n \"inductor_vert\": _inductor_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 \"light_dependent_resistor_horz\": _light_dependent_resistor_horz,\n \"light_dependent_resistor_vert\": _light_dependent_resistor_vert,\n \"mosfet_depletion_normally_on_horz\": _mosfet_depletion_normally_on_horz,\n \"mosfet_depletion_normally_on_vert\": _mosfet_depletion_normally_on_vert,\n \"mushroom_head_normally_open_momentary_horz\": _mushroom_head_normally_open_momentary_horz,\n \"mushroom_head_normally_open_momentary_vert\": _mushroom_head_normally_open_momentary_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 \"n_channel_e_mosfet_transistor_horz\": _n_channel_e_mosfet_transistor_horz,\n \"n_channel_e_mosfet_transistor_vert\": _n_channel_e_mosfet_transistor_vert,\n \"njfet_transistor_horz\": _njfet_transistor_horz,\n \"njfet_transistor_vert\": _njfet_transistor_vert,\n \"npn_bipolar_transistor_horz\": _npn_bipolar_transistor_horz,\n \"npn_bipolar_transistor_vert\": _npn_bipolar_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 \"p_channel_e_mosfet_transistor_horz\": _p_channel_e_mosfet_transistor_horz,\n \"p_channel_e_mosfet_transistor_vert\": _p_channel_e_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 \"pnp_bipolar_transistor_horz\": _pnp_bipolar_transistor_horz,\n \"pnp_bipolar_transistor_vert\": _pnp_bipolar_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 \"rectifier_diode_horz\": _rectifier_diode_horz,\n \"rectifier_diode_vert\": _rectifier_diode_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 \"SPDT_switch_horz\": _SPDT_switch_horz,\n \"SPDT_switch_vert\": _SPDT_switch_vert,\n \"SPST_switch_horz\": _SPST_switch_horz,\n \"SPST_switch_vert\": _SPST_switch_vert,\n \"step_recovery_diode_horz\": _step_recovery_diode_horz,\n \"step_recovery_diode_vert\": _step_recovery_diode_vert,\n \"tachometer_horz\": _tachometer_horz,\n \"tachometer_vert\": _tachometer_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 \"varmeter_horz\": _varmeter_horz,\n \"varmeter_vert\": _varmeter_vert,\n \"volt_meter_horz\": _volt_meter_horz,\n \"volt_meter_vert\": _volt_meter_vert,\n \"watt_hour_meter_horz\": _watt_hour_meter_horz,\n \"watt_hour_meter_vert\": _watt_hour_meter_vert,\n \"wattmeter_horz\": _wattmeter_horz,\n \"wattmeter_vert\": _wattmeter_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;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,QAAU;AA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ACL,GAAG;AAAA,UACH,QAAQ,UAAU,OAAO,IAAI,CAAC,OAAO;AAAA,YACnC,GAAG,EAAE,IAAI;AAAA,YACT,GAAG,EAAE,IAAI;AAAA,UACX,EAAE;AAAA,QACJ;AAAA,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","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","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","circles","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","val","ref","paths","texts","bounds","refblocks","circles","paths","texts","bounds","refblocks","circles","letter","rest","isPrimitive","rotatedSymbol","paths","texts","bounds","refblocks","paths","circles","bounds","refblocks","paths","circles","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","val","ref","paths","texts","bounds","refblocks","circles","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","paths","texts","bounds","refblocks","rotated","ref","val","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","val","ref","paths","texts","bounds","refblocks","rotated","ref","val","paths","texts","bounds","refblocks","circles","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","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","circles","rotatedSymbol","texts","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","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","rotatedSymbol","texts","val","ref","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","val","ref","paths","texts","bounds","refblocks","circles","paths","texts","bounds","refblocks","circles","letter","rest","isPrimitive","rotatedSymbol","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","refblocks","circles","letter","rest","isPrimitive","rotatedSymbol","paths","texts","bounds","circles","refblocks","paths","texts","bounds","refblocks","circles","letter","rest","isPrimitive","rotatedSymbol","paths","texts","bounds","refblocks","circles","letter","rest","isPrimitive","rotatedSymbol","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/battery.json","../symbols/battery_horz.ts","../symbols/battery_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/darlington_pair_transistor.json","../symbols/darlington_pair_transistor_horz.ts","../symbols/darlington_pair_transistor_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_right.ts","../symbols/diode_down.ts","../symbols/diode_left.ts","../symbols/diode_up.ts","../assets/generated/dpst_switch.json","../symbols/dpst_switch_horz.ts","../symbols/dpst_switch_vert.ts","../assets/generated/filled_diode.json","../symbols/filled_diode_horz.ts","../symbols/filled_diode_vert.ts","../assets/generated/frequency_meter.json","../symbols/frequency_meter_horz.ts","../symbols/frequency_meter_vert.ts","../assets/generated/fuse.json","../symbols/fuse_horz.ts","../symbols/fuse_vert.ts","../assets/generated/ground.json","../symbols/ground_horz.ts","../symbols/ground_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/illuminated_push_button_normally_open.json","../symbols/illuminated_push_button_normally_open_horz.ts","../symbols/illuminated_push_button_normally_open_vert.ts","../assets/generated/inductor.json","../symbols/inductor_horz.ts","../symbols/inductor_vert.ts","../assets/generated/laser_diode.json","../symbols/laser_diode_horz.ts","../symbols/laser_diode_vert.ts","../assets/generated/led.json","../symbols/led_right.ts","../symbols/led_down.ts","../symbols/led_left.ts","../symbols/led_up.ts","../assets/generated/light_dependent_resistor.json","../symbols/light_dependent_resistor_horz.ts","../symbols/light_dependent_resistor_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/mushroom_head_normally_open_momentary.json","../symbols/mushroom_head_normally_open_momentary_horz.ts","../symbols/mushroom_head_normally_open_momentary_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/n_channel_e_mosfet_transistor.json","../symbols/n_channel_e_mosfet_transistor_horz.ts","../symbols/n_channel_e_mosfet_transistor_vert.ts","../assets/generated/njfet_transistor.json","../symbols/njfet_transistor_horz.ts","../symbols/njfet_transistor_vert.ts","../assets/generated/npn_bipolar_transistor.json","../symbols/npn_bipolar_transistor_horz.ts","../symbols/npn_bipolar_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/p_channel_e_mosfet_transistor.json","../symbols/p_channel_e_mosfet_transistor_horz.ts","../symbols/p_channel_e_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/pnp_bipolar_transistor.json","../symbols/pnp_bipolar_transistor_horz.ts","../symbols/pnp_bipolar_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/rectifier_diode.json","../symbols/rectifier_diode_horz.ts","../symbols/rectifier_diode_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/SPDT_switch.json","../symbols/SPDT_switch_horz.ts","../symbols/SPDT_switch_vert.ts","../assets/generated/SPST_switch.json","../symbols/SPST_switch_horz.ts","../symbols/SPST_switch_vert.ts","../assets/generated/step_recovery_diode.json","../symbols/step_recovery_diode_horz.ts","../symbols/step_recovery_diode_vert.ts","../assets/generated/tachometer.json","../symbols/tachometer_horz.ts","../symbols/tachometer_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/varmeter.json","../symbols/varmeter_horz.ts","../symbols/varmeter_vert.ts","../assets/generated/volt_meter.json","../symbols/volt_meter_horz.ts","../symbols/volt_meter_vert.ts","../assets/generated/watt_hour_meter.json","../symbols/watt_hour_meter_horz.ts","../symbols/watt_hour_meter_vert.ts","../assets/generated/wattmeter.json","../symbols/wattmeter_horz.ts","../symbols/wattmeter_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\n// Update rotateAnchor to handle all anchor rotations based on orientation\nconst rotateAnchor = (\n anchor: NinePointAnchor,\n orientation: \"up\" | \"down\" | \"left\" | \"right\" = \"right\",\n): NinePointAnchor => {\n switch (orientation) {\n case \"up\":\n switch (anchor) {\n case \"middle_top\":\n return \"middle_left\"\n case \"middle_bottom\":\n return \"middle_right\"\n case \"middle_left\":\n return \"middle_bottom\"\n case \"middle_right\":\n return \"middle_top\"\n }\n break\n case \"down\":\n switch (anchor) {\n case \"middle_top\":\n return \"middle_right\"\n case \"middle_bottom\":\n return \"middle_left\"\n case \"middle_left\":\n return \"middle_top\"\n case \"middle_right\":\n return \"middle_bottom\"\n }\n break\n case \"left\":\n switch (anchor) {\n case \"middle_top\":\n return \"middle_bottom\"\n case \"middle_bottom\":\n return \"middle_top\"\n case \"middle_left\":\n return \"middle_right\"\n case \"middle_right\":\n return \"middle_left\"\n }\n break\n case \"right\":\n return anchor // No change if orientation is \"right\"\n }\n return anchor\n}\n\nexport const rotateSymbol = (\n symbol: SchSymbol,\n orientation?: \"up\" | \"down\" | \"left\" | \"right\",\n overrides?: Partial<SchSymbol>,\n): SchSymbol => {\n // Assuming the default orientation is \"right\"\n const angleMap = {\n up: -Math.PI / 2,\n right: 0,\n down: Math.PI / 2,\n left: -Math.PI,\n }\n\n const transform = rotate(\n orientation ? angleMap[orientation] : Math.PI / 2,\n symbol.center.x,\n symbol.center.y,\n )\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(\n primitive.anchor,\n orientation ?? \"right\",\n )\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 size: {\n width:\n orientation === \"up\" || orientation === \"down\"\n ? size.width\n : size.height,\n height:\n orientation === \"up\" || orientation === \"down\"\n ? size.height\n : 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 \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.05901489999999909,\n \"y\": -0.18831315000000015\n },\n {\n \"x\": -0.05869489999999833,\n \"y\": 0.11814524999999954\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.015375000000000805,\n \"y\": -0.12533125000000034\n },\n {\n \"x\": 0.016669000000000933,\n \"y\": 0.05562075000000033\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.06443049999999961,\n \"y\": -0.032673549999999496\n },\n {\n \"x\": -0.4368029,\n \"y\": -0.032673549999999496\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.4350822999999997,\n \"y\": -0.03438825000000034\n },\n {\n \"x\": 0.028285099999999952,\n \"y\": -0.03438825000000034\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.027835099999999446,\n \"y\": -0.26964474999999943\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.028373699999999502,\n \"y\": 0.19564474999999966\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.4458008,\n \"y\": -0.033557849999999334\n },\n \"right1\": {\n \"x\": 0.4458008,\n \"y\": -0.03343344999999931\n }\n },\n \"bounds\": {\n \"minX\": -0.473959241,\n \"maxX\": 0.473959241,\n \"minY\": -0.3656447499999994,\n \"maxY\": 0.27564474999999966,\n \"width\": 0.947918482,\n \"height\": 0.2912894999999991,\n \"centerX\": 0,\n \"centerY\": -0.04499999999999987\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/battery.json\"\nimport { Primitive } 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_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as Primitive[],\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 battery_horz from \"./battery_horz\"\n\nexport default rotateSymbol(battery_horz)\n","{\n \"paths\": {\n \"path1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.511850799999999,\n \"y\": -0.04116140000000179\n },\n {\n \"x\": -0.24726749999999953,\n \"y\": -0.04116140000000179\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2818991000000013,\n \"y\": -0.04116140000000179\n },\n {\n \"x\": 0.5464825000000006,\n \"y\": -0.04116140000000179\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.0173157000000006,\n \"y\": -0.17345310000000147\n },\n {\n \"x\": 0.2818990000000001,\n \"y\": -0.17345310000000147\n },\n {\n \"x\": 0.2818990000000001,\n \"y\": 0.09113029999999789\n },\n {\n \"x\": -0.24726770000000053,\n \"y\": 0.09113029999999789\n },\n {\n \"x\": -0.24726770000000053,\n \"y\": -0.17345310000000147\n },\n {\n \"x\": 0.017315699999998824,\n \"y\": -0.17345310000000147\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.0014247999999992267,\n \"y\": -0.24499800000000072\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0004627999999997634,\n \"y\": 0.2549980000000005\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5337907000000002,\n \"y\": -0.04080519999999943\n },\n \"right1\": {\n \"x\": 0.5337907000000004,\n \"y\": -0.04025870000000076\n }\n },\n \"bounds\": {\n \"minX\": -0.5619491410000002,\n \"maxX\": 0.5619491410000004,\n \"minY\": -0.3449980000000007,\n \"maxY\": 0.2549980000000005,\n \"width\": 1.1238982820000005,\n \"height\": 0.24999600000000122,\n \"centerX\": 1.1102230246251565e-16,\n \"centerY\": -0.045000000000000095\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.5229378000000002,\n \"y\": -0.012283099999995883\n },\n {\n \"x\": 0.07314620000000005,\n \"y\": -0.012283099999995883\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path28\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.08560379999999945,\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.07314620000000005,\n \"y\": -0.2768663999999976\n },\n {\n \"x\": 0.07314620000000005,\n \"y\": 0.2523002000000023\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path30\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.0856037999999999,\n \"y\": -0.2768663999999976\n },\n {\n \"x\": -0.08560379999999945,\n \"y\": 0.2523002000000023\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\": 0.5900173999999989,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": -0.04499999999999832\n },\n \"circles\": {}\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\": 1.9942486145,\n \"y\": 1.6315233295000002\n },\n {\n \"x\": 2.0984258145,\n \"y\": 1.6321433295000003\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 2.1030704145000003,\n \"y\": 1.4702420295\n },\n {\n \"x\": 2.1026604145,\n \"y\": 1.7934203295\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-0-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 2.2218770145,\n \"y\": 1.4862575295\n },\n {\n \"x\": 2.1063461145,\n \"y\": 1.5650515295000003\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-0-5-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 2.2286252145,\n \"y\": 1.7712556295000002\n },\n {\n \"x\": 2.1136540145000002,\n \"y\": 1.6926424295\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 2.2273251145,\n \"y\": 1.4841963295\n },\n {\n \"x\": 2.2284101145,\n \"y\": 1.1411599295000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 2.2276017145,\n \"y\": 1.9460598295\n },\n {\n \"x\": 2.2281317145,\n \"y\": 1.7781501295000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"arrow-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 2.1704797145,\n \"y\": 1.6884541295000002\n },\n {\n \"x\": 2.1275815145,\n \"y\": 1.7497189295000002\n },\n {\n \"x\": 2.1917009144999997,\n \"y\": 1.7494989295000003\n },\n {\n \"x\": 2.1704797145,\n \"y\": 1.6884541295000002\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 1.5978828145000001,\n \"y\": 1.4913252295000001\n },\n {\n \"x\": 1.8597023145000002,\n \"y\": 1.4928722295\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 1.8686937145000002,\n \"y\": 1.3305097295000001\n },\n {\n \"x\": 1.8682837145,\n \"y\": 1.6536880295\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 1.9875004145000004,\n \"y\": 1.3465253295000001\n },\n {\n \"x\": 1.8719693145,\n \"y\": 1.4253192295000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path4\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 1.9942486145,\n \"y\": 1.6315233295000002\n },\n {\n \"x\": 1.8792773145000001,\n \"y\": 1.5529101295000003\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"arrow-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 1.9361028144999999,\n \"y\": 1.5487218295000003\n },\n {\n \"x\": 1.8932048145,\n \"y\": 1.6099866295000003\n },\n {\n \"x\": 1.9573242144999998,\n \"y\": 1.6097666295000004\n },\n {\n \"x\": 1.9361028144999999,\n \"y\": 1.5487218295000003\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 1.9943087144999998,\n \"y\": 1.3432655295000002\n },\n {\n \"x\": 2.2269582145,\n \"y\": 1.3449695295000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 1.8,\n \"y\": 1.8674276295000002\n },\n \"right1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 1.8,\n \"y\": 1.177447295\n }\n },\n \"refblocks\": {\n \"right1\": {\n \"x\": 2.2278680145,\n \"y\": 1.1297132295\n },\n \"right2\": {\n \"x\": 1.5977076145000002,\n \"y\": 1.4920988295000002\n },\n \"right3\": {\n \"x\": 2.2278617145000004,\n \"y\": 1.9544573295000003\n }\n },\n \"bounds\": {\n \"minX\": 1.5810976555000003,\n \"maxX\": 2.3461148445,\n \"minY\": 1.0757447295,\n \"maxY\": 1.9710672885000002,\n \"width\": 1,\n \"height\": 1,\n \"centerX\": 1.9636062500000002,\n \"centerY\": 1.5234060090000001\n },\n \"circles\": {\n \"path1-0\": {\n \"type\": \"circle\",\n \"x\": 2.0463372145000003,\n \"y\": 1.5256545295000001,\n \"radius\": 0.29977763,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/darlington_pair_transistor.json\"\nimport { Primitive } 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.bottom1, anchor: \"middle_top\" },\n { ...texts.right1, anchor: \"middle_bottom\" },\n ] as Primitive[],\n ports: [\n { ...refblocks.right1, labels: [\"3\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right2, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right3, 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 darlington_pair_transistor_horz from \"./darlington_pair_transistor_horz\"\n\nexport default rotateSymbol(darlington_pair_transistor_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.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.5176700499999997,\n \"y\": -0.03674505000000039\n },\n {\n \"x\": -0.10888805000000024,\n \"y\": -0.03674505000000039\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1031184499999993,\n \"y\": -0.03674505000000039\n },\n {\n \"x\": 0.5246894499999994,\n \"y\": -0.03674505000000039\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.09343985000000021,\n \"y\": 0.15120634999999893\n },\n {\n \"x\": -0.0930998500000002,\n \"y\": -0.2533405500000008\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.08519034999999908,\n \"y\": 0.15003384999999914\n },\n {\n \"x\": 0.08553034999999909,\n \"y\": -0.2545130500000006\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.08315755000000014,\n \"y\": -0.05093445000000041\n },\n {\n \"x\": -0.08415755000000047,\n \"y\": 0.15178124999999976\n },\n {\n \"x\": 0.08653524999999984,\n \"y\": 0.05604664999999964\n },\n {\n \"x\": -0.08126175000000035,\n \"y\": -0.051477150000000194\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path11-0-9-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07661224999999927,\n \"y\": -0.25165445000000086\n },\n {\n \"x\": 0.07761224999999983,\n \"y\": -0.04893885000000098\n },\n {\n \"x\": -0.0930805500000007,\n \"y\": -0.1446734500000011\n },\n {\n \"x\": 0.07471644999999949,\n \"y\": -0.2521971500000013\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17328624999999964,\n \"y\": -0.41183614999999985\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.03022294999999975,\n \"y\": 0.4218361500000001\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.54139845,\n \"y\": -0.0358920500000004\n },\n \"right1\": {\n \"x\": 0.5413984499999995,\n \"y\": -0.03688844999999996\n }\n },\n \"bounds\": {\n \"minX\": -0.569556891,\n \"maxX\": 0.5695568909999995,\n \"minY\": -0.5118361499999998,\n \"maxY\": 0.4218361500000001,\n \"width\": 1.1391137819999995,\n \"height\": 0.5836722999999999,\n \"centerX\": -2.220446049250313e-16,\n \"centerY\": -0.04499999999999987\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.0037626500000003116,\n \"y\": -0.04387315000000025,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\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.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 },\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\": 0.29769059999999925,\n \"centerX\": 0,\n \"centerY\": -0.04499999999999921\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/diode.json\"\nimport { Primitive } 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_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as Primitive[],\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_right from \"./diode_right\"\n\nexport default rotateSymbol(diode_right, \"down\")\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport diode_right from \"./diode_right\"\n\nexport default rotateSymbol(diode_right, \"left\")\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport diode_right from \"./diode_right\"\n\nexport default rotateSymbol(diode_right, \"up\")\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3622268000000006,\n \"y\": -0.05787995000000046\n },\n {\n \"x\": -0.1357978000000004,\n \"y\": -0.05787995000000046\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12009950000000069,\n \"y\": -0.0563494500000008\n },\n {\n \"x\": 0.10307889999999986,\n \"y\": -0.19603885000000099\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12795640000000064,\n \"y\": -0.05787995000000046\n },\n {\n \"x\": 0.36869780000000096,\n \"y\": -0.05787995000000046\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3622270999999999,\n \"y\": 0.1736642499999992\n },\n {\n \"x\": -0.1357980999999997,\n \"y\": 0.1736642499999992\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12009979999999998,\n \"y\": 0.17519474999999973\n },\n {\n \"x\": 0.10307860000000058,\n \"y\": 0.035505349999999325\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12795610000000002,\n \"y\": 0.1736642499999992\n },\n {\n \"x\": 0.3686968000000006,\n \"y\": 0.1736642499999992\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.1958158999999995,\n \"y\": -0.39216264999999995\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.029144200000000398,\n \"y\": 0.40216264999999995\n }\n },\n \"refblocks\": {\n \"bottom1\": {\n \"x\": -0.12356020000000001,\n \"y\": 0.17845394999999975\n },\n \"bottom2\": {\n \"x\": 0.1153169000000005,\n \"y\": 0.17845394999999975\n },\n \"left1\": {\n \"x\": -0.37614279999999956,\n \"y\": -0.057027350000000254\n },\n \"left2\": {\n \"x\": -0.12356020000000001,\n \"y\": -0.05309054999999985\n },\n \"left3\": {\n \"x\": -0.37614279999999956,\n \"y\": 0.17451715000000023\n },\n \"right1\": {\n \"x\": 0.37614279999999933,\n \"y\": -0.05802374999999982\n },\n \"right2\": {\n \"x\": 0.1153169000000005,\n \"y\": -0.05309054999999985\n },\n \"right3\": {\n \"x\": 0.37614279999999933,\n \"y\": 0.17352074999999978\n }\n },\n \"bounds\": {\n \"minX\": -0.40430124099999953,\n \"maxX\": 0.4043012409999993,\n \"minY\": -0.4921626499999999,\n \"maxY\": 0.40216264999999995,\n \"width\": 1,\n \"height\": 1,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": -0.044999999999999984\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/dpst_switch.json\"\nimport { Primitive } 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_bottom\", x: 0 },\n { ...texts.bottom1, anchor: \"middle_top\", x: 0 },\n ] as Primitive[],\n ports: [\n { ...refblocks.left1, labels: [\"1\", \"left1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.left3, labels: [\"3\", \"left3\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"2\", \"right1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right3, labels: [\"4\", \"right3\"] }, // 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 dpst_switch_horz from \"./dpst_switch_horz\"\n\nconst rotatedSymbol = rotateSymbol(dpst_switch_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")!\n\nconst val = texts.find((t) => t.text === \"{VAL}\")!\n\nval.anchor = \"middle_right\"\nval.x = -0.35\nval.y = 0\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.anchor = \"middle_left\"\nref.x = 0.3\nref.y = 0\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5464958295000011,\n \"y\": -0.03674480953641934\n },\n {\n \"x\": -0.22498262950000125,\n \"y\": -0.03674480953641934\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13950697049999894,\n \"y\": -0.04461410953641942\n },\n {\n \"x\": 0.45879767049999964,\n \"y\": -0.04461410953641942\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1346534705000002,\n \"y\": 0.1570013904635803\n },\n {\n \"x\": 0.13354747050000015,\n \"y\": -0.24621560953641985\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.2177038295000011,\n \"y\": -0.26567520953641943\n },\n {\n \"x\": -0.2197708295000007,\n \"y\": 0.15700869046358035\n },\n {\n \"x\": 0.13282137049999876,\n \"y\": -0.0426085095364197\n },\n {\n \"x\": -0.21378932950000062,\n \"y\": -0.2668066095364201\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.2435859295000009,\n \"y\": -0.3777354095364187\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.07353149016142102,\n \"y\": 0.3877354095364185\n },\n \"right1\": {\n \"type\": \"text\",\n \"text\": \"\",\n \"x\": 0.5834896704999997,\n \"y\": 0.3364777904635812\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5653312295,\n \"y\": -0.0358920095364188\n },\n \"right1\": {\n \"x\": 0.47024967049999944,\n \"y\": -0.044757709536418666\n }\n },\n \"bounds\": {\n \"minX\": -0.5934896705,\n \"maxX\": 0.6834896704999996,\n \"minY\": -0.4777354095364187,\n \"maxY\": 0.3877354095364185,\n \"width\": 1.2769793409999997,\n \"height\": 1,\n \"centerX\": 0.04499999999999982,\n \"centerY\": -0.045000000000000095\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/filled_diode.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.1,\n y: -0.38,\n anchor: \"middle_bottom\",\n } as TextPrimitive,\n {\n type: \"text\",\n text: \"{VAL}\",\n x: -0.1,\n y: 0.28,\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 filled_diode_horz from \"./filled_diode_horz\"\n\nexport default rotateSymbol(filled_diode_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.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\": \"Hz\",\n \"x\": 0,\n \"y\": -0.035\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/frequency_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 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.2 },\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 frequency_meter_horz from \"./frequency_meter_horz\"\nimport { Primitive } from \"drawing/types\"\n\nconst { 5: letter, ...rest } = frequency_meter_horz.primitives\n\nfunction isPrimitive(value: any): value is Primitive {\n return typeof value === \"object\"\n}\n\nconst rotatedSymbol = rotateSymbol({\n ...frequency_meter_horz,\n primitives: Object.values(rest).filter(isPrimitive),\n})\n\nexport default {\n ...rotatedSymbol,\n primitives: [...rotatedSymbol.primitives, letter],\n}\n","{\n \"paths\": {\n \"path10\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5283037500000001,\n \"y\": -0.03141365000000107\n },\n {\n \"x\": 0.5300302500000003,\n \"y\": -0.03141365000000107\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path14\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.0008652499999994845,\n \"y\": -0.16370535000000075\n },\n {\n \"x\": 0.2654482499999995,\n \"y\": -0.16370535000000075\n },\n {\n \"x\": 0.2654482499999995,\n \"y\": 0.10087804999999861\n },\n {\n \"x\": -0.2637187499999998,\n \"y\": 0.10087804999999861\n },\n {\n \"x\": -0.2637187499999998,\n \"y\": -0.16370535000000075\n },\n {\n \"x\": 0.0008652499999994845,\n \"y\": -0.16370535000000075\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.008263949999999909,\n \"y\": -0.23091725000000096\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.1716539500000005,\n \"y\": 0.24091724999999897\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5345548500000001,\n \"y\": -0.03446055000000037\n },\n \"right1\": {\n \"x\": 0.5345548500000001,\n \"y\": -0.030256149999999593\n }\n },\n \"bounds\": {\n \"minX\": -0.5627132910000001,\n \"maxX\": 0.5627132910000001,\n \"minY\": -0.33091725000000094,\n \"maxY\": 0.24091724999999897,\n \"width\": 1.1254265820000002,\n \"height\": 0.22183449999999993,\n \"centerX\": 0,\n \"centerY\": -0.045000000000000984\n },\n \"circles\": {}\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 \"path1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3449701000000003,\n \"y\": -0.4545300000000001\n },\n {\n \"x\": -0.044970100000000235,\n \"y\": -0.4545300000000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.025322899999999926,\n \"y\": -0.25053000000000014\n },\n {\n \"x\": -0.025322900000000148,\n \"y\": -0.65053\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.04499999999999993,\n \"y\": -0.3005300000000002\n },\n {\n \"x\": 0.04499999999999993,\n \"y\": -0.60053\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path4\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.14499999999999957,\n \"y\": -0.40053000000000005\n },\n {\n \"x\": 0.14499999999999957,\n \"y\": -0.5005300000000001\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.45500000000000007,\n \"y\": 0.6505299999999998\n },\n \"right1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.4449999999999996,\n \"y\": -0.35053\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": -0.3449701000000003,\n \"y\": -0.4545300000000001\n },\n \"top2\": {\n \"x\": 0.16500000000000004,\n \"y\": -0.4535300000000002\n }\n },\n \"bounds\": {\n \"minX\": -0.45500000000000007,\n \"maxX\": 0.5449999999999996,\n \"minY\": -0.65053,\n \"maxY\": 0.6505299999999998,\n \"width\": 0.9999999999999997,\n \"height\": 0.9510599999999999,\n \"centerX\": 0.04499999999999976,\n \"centerY\": -1.1102230246251565e-16\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/ground.json\"\nimport { Primitive } from \"drawing/types\"\nimport { rotateSymbol } from \"drawing/rotateSymbol\"\n\n// Extract paths, bounds, etc.\nconst { paths, circles, bounds, refblocks } = svgJson\n\n// Horizontal orientation symbol\nexport const horizontalSymbol = defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n {\n type: \"text\",\n text: \"{REF}\", // REF label for horizontal\n x: -0.1, // Adjust this for the horizontal positioning of REF\n y: -0.8, // Adjust this for the vertical positioning of REF\n anchor: \"middle_bottom\", // Horizontal anchor for REF\n },\n {\n type: \"text\",\n text: \"{VAL}\", // VAL label for horizontal\n x: -0.1, // Adjust for horizontal positioning of VAL\n y: -0.1, // Adjust for vertical positioning of VAL\n anchor: \"middle_top\", // Horizontal anchor for VAL\n },\n ] as Primitive[],\n ports: [{ ...refblocks.top1, labels: [\"1\"] }],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX - 0.09, y: bounds.centerY - 0.45 },\n})\n\n// Vertical orientation symbol\n\n// Export vertical symbol (rotated 90 degrees from original)\nexport default horizontalSymbol\n","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/ground.json\"\nimport { Primitive } from \"drawing/types\"\nimport { rotateSymbol } from \"drawing/rotateSymbol\"\n\n// Extract paths, bounds, etc.\nconst { paths, circles, bounds, refblocks } = svgJson\n\nexport const verticalSymbol = defineSymbol({\n primitives: [\n ...Object.values(paths),\n ...Object.values(circles),\n {\n type: \"text\",\n text: \"{REF}\", // REF label for vertical\n x: -0.015, // Adjust this for the horizontal positioning of REF\n y: -0.75, // Adjust this for the vertical positioning of REF\n anchor: \"middle_bottom\", // Vertical anchor for REF\n },\n {\n type: \"text\",\n text: \"{VAL}\", // VAL label for vertical\n x: -0.015, // Adjust for horizontal positioning of VAL\n y: -0.12, // Adjust for vertical positioning of VAL\n anchor: \"middle_top\", // Vertical anchor for VAL\n },\n ] as Primitive[],\n ports: [{ ...refblocks.top1, labels: [\"1\"] }],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX, y: bounds.centerY - 0.45 },\n})\n\n// Export vertical symbol (rotated 90 degrees from original)\nexport default rotateSymbol(verticalSymbol)\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 \"path12-1-8-6-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.023137150000000162,\n \"y\": 0.024940499999996035\n },\n {\n \"x\": 0.023137150000000162,\n \"y\": 0.10494049999999788\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.48740694999999956,\n \"y\": 0.18801149999999645\n },\n {\n \"x\": -0.1731006500000003,\n \"y\": 0.18801149999999645\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-6-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.023792949999999813,\n \"y\": -0.1693045000000044\n },\n {\n \"x\": 0.023792949999999813,\n \"y\": -0.1026565000000037\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.14922445000000018,\n \"y\": 0.035203499999997945\n },\n {\n \"x\": 0.19549865000000022,\n \"y\": 0.18762249999999803\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.19549885000000078,\n \"y\": 0.18762249999999803\n },\n {\n \"x\": 0.4881437499999999,\n \"y\": 0.18762249999999803\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-6-9-4\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.023137150000000162,\n \"y\": -0.11686550000000295\n },\n {\n \"x\": 0.023137150000000162,\n \"y\": -0.015065500000002174\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-6-9-4-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.08312335000000015,\n \"y\": -0.10471550000000285\n },\n {\n \"x\": 0.08312335000000015,\n \"y\": -0.047931500000004235\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-6-9-4-3-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.03684904999999983,\n \"y\": -0.10471550000000285\n },\n {\n \"x\": -0.03684904999999983,\n \"y\": -0.047931500000004235\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-6-9-4-4\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.08312335000000015,\n \"y\": -0.10471550000000285\n },\n {\n \"x\": -0.03684904999999983,\n \"y\": -0.10471550000000285\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path14-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.011640198644880861,\n \"y\": -0.2799169119921796\n },\n {\n \"x\": 0.01182744133211866,\n \"y\": -0.2516822395036833\n },\n {\n \"x\": 0.035295081309120846,\n \"y\": -0.22344756701517987\n },\n {\n \"x\": 0.05876272128612037,\n \"y\": -0.19521289452668178\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path14-5-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.011818241440559873,\n \"y\": -0.1952224926985373\n },\n {\n \"x\": 0.01171692178543804,\n \"y\": -0.22339535480803718\n },\n {\n \"x\": 0.03525208501144128,\n \"y\": -0.2515682169175424\n },\n {\n \"x\": 0.058787248237439194,\n \"y\": -0.27974107902703693\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.010987250000000337,\n \"y\": -0.37833950000000094\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.1564439499999999,\n \"y\": 0.3883394999999972\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.4717985499999999,\n \"y\": 0.18798249999999506\n },\n \"right1\": {\n \"x\": 0.4717985499999999,\n \"y\": 0.1880084999999987\n }\n },\n \"bounds\": {\n \"minX\": -0.4999569909999999,\n \"maxX\": 0.4999569909999999,\n \"minY\": -0.4783395000000009,\n \"maxY\": 0.3883394999999972,\n \"width\": 0.9999139819999998,\n \"height\": 0.5166789999999981,\n \"centerX\": 0,\n \"centerY\": -0.04500000000000187\n },\n \"circles\": {\n \"path9\": {\n \"type\": \"circle\",\n \"x\": 0.02379285000000042,\n \"y\": -0.23747350000000367,\n \"radius\": 0.059920847,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/illuminated_push_button_normally_open.json\"\nimport { Primitive } 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_right\", x: 0, y: -0.4 },\n { ...texts.bottom1, anchor: \"middle_right\", x: 0 },\n ] as Primitive[],\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 illuminated_push_button_normally_open_horz from \"./illuminated_push_button_normally_open_horz\"\n\nconst rotatedSymbol = rotateSymbol(illuminated_push_button_normally_open_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 \"path8698\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.20003504999999944,\n \"y\": 0.028826854587890027\n },\n {\n \"x\": -0.2033544366666661,\n \"y\": 0.022384739650748782\n },\n {\n \"x\": -0.20667382333333278,\n \"y\": 0.015976838014532466\n },\n {\n \"x\": -0.20999320999999949,\n \"y\": 0.009636988132081447\n },\n {\n \"x\": -0.21331259666666616,\n \"y\": 0.003398282866981144\n },\n {\n \"x\": -0.21663198333333286,\n \"y\": -0.002707293078776634\n },\n {\n \"x\": -0.21995136999999956,\n \"y\": -0.008649213595881871\n },\n {\n \"x\": -0.2232707566666662,\n \"y\": -0.014398745618147975\n },\n {\n \"x\": -0.2265901433333329,\n \"y\": -0.019929263927997674\n },\n {\n \"x\": -0.22990952999999958,\n \"y\": -0.02521654286791855\n },\n {\n \"x\": -0.23322891666666629,\n \"y\": -0.030239021761836165\n },\n {\n \"x\": -0.23654830333333293,\n \"y\": -0.03497804113839313\n },\n {\n \"x\": -0.23986768999999963,\n \"y\": -0.039418047168021914\n },\n {\n \"x\": -0.24318707666666634,\n \"y\": -0.04354676207395655\n },\n {\n \"x\": -0.246506463333333,\n \"y\": -0.047355318650124094\n },\n {\n \"x\": -0.24982584999999968,\n \"y\": -0.05083835741210997\n },\n {\n \"x\": -0.25314523666666633,\n \"y\": -0.05399408531679076\n },\n {\n \"x\": -0.25646462333333303,\n \"y\": -0.056824295407289886\n },\n {\n \"x\": -0.25978400999999973,\n \"y\": -0.05933434716802191\n },\n {\n \"x\": -0.26310339666666643,\n \"y\": -0.061533107805059786\n },\n {\n \"x\": -0.2664227833333331,\n \"y\": -0.0634328550951695\n },\n {\n \"x\": -0.2697421699999998,\n \"y\": -0.06504914286791855\n },\n {\n \"x\": -0.2730615566666664,\n \"y\": -0.06640063059466435\n },\n {\n \"x\": -0.2763809433333332,\n \"y\": -0.0675088789514813\n },\n {\n \"x\": -0.27970032999999983,\n \"y\": -0.06839811359588187\n },\n {\n \"x\": -0.28301971666666653,\n \"y\": -0.0690949597454433\n },\n {\n \"x\": -0.28633910333333323,\n \"y\": -0.06962815046635218\n },\n {\n \"x\": -0.2896584899999999,\n \"y\": -0.07002821186791855\n },\n {\n \"x\": -0.2929778766666666,\n \"y\": -0.07032712865213421\n },\n {\n \"x\": -0.2962972633333332,\n \"y\": -0.07055799368258454\n },\n {\n \"x\": -0.29961664999999993,\n \"y\": -0.07075464541210996\n },\n {\n \"x\": -0.30293603333333324,\n \"y\": -0.07055799368258453\n },\n {\n \"x\": -0.30625541666666656,\n \"y\": -0.07032712865213421\n },\n {\n \"x\": -0.30957479999999993,\n \"y\": -0.07002821186791855\n },\n {\n \"x\": -0.31289418333333324,\n \"y\": -0.06962815046635219\n },\n {\n \"x\": -0.31621356666666656,\n \"y\": -0.0690949597454433\n },\n {\n \"x\": -0.31953294999999987,\n \"y\": -0.06839811359588187\n },\n {\n \"x\": -0.32285233333333313,\n \"y\": -0.0675088789514813\n },\n {\n \"x\": -0.3261717166666665,\n \"y\": -0.06640063059466433\n },\n {\n \"x\": -0.32949109999999976,\n \"y\": -0.06504914286791855\n },\n {\n \"x\": -0.33281048333333313,\n \"y\": -0.06343285509516951\n },\n {\n \"x\": -0.33612986666666644,\n \"y\": -0.061533107805059786\n },\n {\n \"x\": -0.33944924999999976,\n \"y\": -0.05933434716802191\n },\n {\n \"x\": -0.3427686333333331,\n \"y\": -0.056824295407289886\n },\n {\n \"x\": -0.3460880166666664,\n \"y\": -0.05399408531679075\n },\n {\n \"x\": -0.3494073999999997,\n \"y\": -0.05083835741210997\n },\n {\n \"x\": -0.352726783333333,\n \"y\": -0.0473553186501241\n },\n {\n \"x\": -0.35604616666666633,\n \"y\": -0.04354676207395655\n },\n {\n \"x\": -0.35936554999999964,\n \"y\": -0.039418047168021914\n },\n {\n \"x\": -0.362684933333333,\n \"y\": -0.03497804113839313\n },\n {\n \"x\": -0.36600431666666633,\n \"y\": -0.030239021761836175\n },\n {\n \"x\": -0.3693236999999996,\n \"y\": -0.025216542867918555\n },\n {\n \"x\": -0.3726430833333329,\n \"y\": -0.01992926392799769\n },\n {\n \"x\": -0.3759624666666663,\n \"y\": -0.014398745618147961\n },\n {\n \"x\": -0.3792818499999996,\n \"y\": -0.008649213595881871\n },\n {\n \"x\": -0.38260123333333285,\n \"y\": -0.0027072930787766323\n },\n {\n \"x\": -0.38592061666666616,\n \"y\": 0.003398282866981149\n },\n {\n \"x\": -0.38923999999999953,\n \"y\": 0.009636988132081444\n },\n {\n \"x\": -0.39255938333333285,\n \"y\": 0.015976838014532466\n },\n {\n \"x\": -0.39587876666666616,\n \"y\": 0.022384739650748775\n },\n {\n \"x\": -0.3991981499999995,\n \"y\": 0.028826854587890027\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path8700\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.000872049999999458,\n \"y\": 0.028826154587890507\n },\n {\n \"x\": -0.004191433333332769,\n \"y\": 0.022384036317415937\n },\n {\n \"x\": -0.00751081666666608,\n \"y\": 0.01597613134786629\n },\n {\n \"x\": -0.010830199999999391,\n \"y\": 0.009636278132081942\n },\n {\n \"x\": -0.014149583333332702,\n \"y\": 0.003397569533648309\n },\n {\n \"x\": -0.01746896666666601,\n \"y\": -0.0027080097454427934\n },\n {\n \"x\": -0.020788349999999324,\n \"y\": -0.008649933595881358\n },\n {\n \"x\": -0.02410773333333263,\n \"y\": -0.014399468951480792\n },\n {\n \"x\": -0.027427116666665946,\n \"y\": -0.019929990594663816\n },\n {\n \"x\": -0.030746499999999254,\n \"y\": -0.025217272867918025\n },\n {\n \"x\": -0.03406588333333256,\n \"y\": -0.030239755095168967\n },\n {\n \"x\": -0.037385266666665876,\n \"y\": -0.03497877780505925\n },\n {\n \"x\": -0.04070464999999919,\n \"y\": -0.03941878716802137\n },\n {\n \"x\": -0.0440240333333325,\n \"y\": -0.04354750540728934\n },\n {\n \"x\": -0.047343416666665805,\n \"y\": -0.0473560653167902\n },\n {\n \"x\": -0.05066279999999912,\n \"y\": -0.05083910741210941\n },\n {\n \"x\": -0.053982183333332434,\n \"y\": -0.05399483865012353\n },\n {\n \"x\": -0.05730156666666574,\n \"y\": -0.05682505207395598\n },\n {\n \"x\": -0.06062094999999905,\n \"y\": -0.05933510716802134\n },\n {\n \"x\": -0.06394033333333236,\n \"y\": -0.06153387113839254\n },\n {\n \"x\": -0.06725971666666566,\n \"y\": -0.06343362176183558\n },\n {\n \"x\": -0.07057909999999898,\n \"y\": -0.06504991286791795\n },\n {\n \"x\": -0.0738984833333323,\n \"y\": -0.06640140392799708\n },\n {\n \"x\": -0.07721786666666561,\n \"y\": -0.06750965561814737\n },\n {\n \"x\": -0.08053724999999892,\n \"y\": -0.06839889359588126\n },\n {\n \"x\": -0.08385663333333224,\n \"y\": -0.06909574307877601\n },\n {\n \"x\": -0.08717601666666554,\n \"y\": -0.06962893713301824\n },\n {\n \"x\": -0.09049539999999885,\n \"y\": -0.07002900186791793\n },\n {\n \"x\": -0.09381478333333215,\n \"y\": -0.0703279219854669\n },\n {\n \"x\": -0.09713416666666547,\n \"y\": -0.07055879034925058\n },\n {\n \"x\": -0.10045354999999878,\n \"y\": -0.07075544541210932\n },\n {\n \"x\": -0.10377293666666547,\n \"y\": -0.07055879034925057\n },\n {\n \"x\": -0.10709232333333214,\n \"y\": -0.0703279219854669\n },\n {\n \"x\": -0.11041170999999883,\n \"y\": -0.07002900186791793\n },\n {\n \"x\": -0.1137310966666655,\n \"y\": -0.06962893713301824\n },\n {\n \"x\": -0.1170504833333322,\n \"y\": -0.06909574307877601\n },\n {\n \"x\": -0.1203698699999989,\n \"y\": -0.06839889359588126\n },\n {\n \"x\": -0.12368925666666555,\n \"y\": -0.06750965561814737\n },\n {\n \"x\": -0.12700864333333226,\n \"y\": -0.06640140392799707\n },\n {\n \"x\": -0.13032802999999893,\n \"y\": -0.06504991286791795\n },\n {\n \"x\": -0.13364741666666563,\n \"y\": -0.06343362176183559\n },\n {\n \"x\": -0.13696680333333228,\n \"y\": -0.06153387113839254\n },\n {\n \"x\": -0.14028618999999898,\n \"y\": -0.05933510716802133\n },\n {\n \"x\": -0.14360557666666568,\n \"y\": -0.05682505207395598\n },\n {\n \"x\": -0.14692496333333235,\n \"y\": -0.05399483865012352\n },\n {\n \"x\": -0.15024434999999903,\n \"y\": -0.05083910741210941\n },\n {\n \"x\": -0.1535637366666657,\n \"y\": -0.04735606531679021\n },\n {\n \"x\": -0.15688312333333237,\n \"y\": -0.04354750540728934\n },\n {\n \"x\": -0.16020250999999908,\n \"y\": -0.03941878716802137\n },\n {\n \"x\": -0.16352189666666575,\n \"y\": -0.03497877780505926\n },\n {\n \"x\": -0.16684128333333245,\n \"y\": -0.030239755095168977\n },\n {\n \"x\": -0.1701606699999991,\n \"y\": -0.025217272867918028\n },\n {\n \"x\": -0.1734800566666658,\n \"y\": -0.019929990594663834\n },\n {\n \"x\": -0.1767994433333325,\n \"y\": -0.014399468951480778\n },\n {\n \"x\": -0.1801188299999992,\n \"y\": -0.008649933595881358\n },\n {\n \"x\": -0.18343821666666585,\n \"y\": -0.0027080097454427916\n },\n {\n \"x\": -0.18675760333333255,\n \"y\": 0.0033975695336483144\n },\n {\n \"x\": -0.19007698999999922,\n \"y\": 0.009636278132081942\n },\n {\n \"x\": -0.19339637666666593,\n \"y\": 0.01597613134786629\n },\n {\n \"x\": -0.19671576333333257,\n \"y\": 0.02238403631741593\n },\n {\n \"x\": -0.20003514999999927,\n \"y\": 0.028826154587890507\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path8702\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.19829105000000036,\n \"y\": 0.028826154587890507\n },\n {\n \"x\": 0.19497166333333366,\n \"y\": 0.022384036317415937\n },\n {\n \"x\": 0.191652276666667,\n \"y\": 0.01597613134786629\n },\n {\n \"x\": 0.1883328900000003,\n \"y\": 0.009636278132081942\n },\n {\n \"x\": 0.18501350333333363,\n \"y\": 0.003397569533648309\n },\n {\n \"x\": 0.18169411666666693,\n \"y\": -0.0027080097454427934\n },\n {\n \"x\": 0.1783747300000003,\n \"y\": -0.008649933595881358\n },\n {\n \"x\": 0.17505534333333356,\n \"y\": -0.014399468951480792\n },\n {\n \"x\": 0.1717359566666669,\n \"y\": -0.019929990594663816\n },\n {\n \"x\": 0.16841657000000018,\n \"y\": -0.025217272867918025\n },\n {\n \"x\": 0.16509718333333356,\n \"y\": -0.030239755095168967\n },\n {\n \"x\": 0.16177779666666683,\n \"y\": -0.03497877780505925\n },\n {\n \"x\": 0.15845841000000016,\n \"y\": -0.03941878716802137\n },\n {\n \"x\": 0.15513902333333346,\n \"y\": -0.04354750540728934\n },\n {\n \"x\": 0.15181963666666679,\n \"y\": -0.0473560653167902\n },\n {\n \"x\": 0.1485002500000001,\n \"y\": -0.05083910741210941\n },\n {\n \"x\": 0.14518086333333344,\n \"y\": -0.05399483865012353\n },\n {\n \"x\": 0.14186147666666676,\n \"y\": -0.05682505207395598\n },\n {\n \"x\": 0.13854209000000006,\n \"y\": -0.05933510716802134\n },\n {\n \"x\": 0.1352227033333334,\n \"y\": -0.06153387113839254\n },\n {\n \"x\": 0.13190331666666671,\n \"y\": -0.06343362176183558\n },\n {\n \"x\": 0.12858393,\n \"y\": -0.06504991286791795\n },\n {\n \"x\": 0.12526454333333334,\n \"y\": -0.06640140392799708\n },\n {\n \"x\": 0.12194515666666664,\n \"y\": -0.06750965561814737\n },\n {\n \"x\": 0.11862576999999996,\n \"y\": -0.06839889359588126\n },\n {\n \"x\": 0.11530638333333329,\n \"y\": -0.06909574307877601\n },\n {\n \"x\": 0.11198699666666659,\n \"y\": -0.06962893713301824\n },\n {\n \"x\": 0.10866760999999991,\n \"y\": -0.07002900186791793\n },\n {\n \"x\": 0.10534822333333323,\n \"y\": -0.0703279219854669\n },\n {\n \"x\": 0.10202883666666655,\n \"y\": -0.07055879034925058\n },\n {\n \"x\": 0.09870944999999987,\n \"y\": -0.07075544541210932\n },\n {\n \"x\": 0.09539006666666656,\n \"y\": -0.07055879034925057\n },\n {\n \"x\": 0.09207068333333325,\n \"y\": -0.0703279219854669\n },\n {\n \"x\": 0.08875129999999994,\n \"y\": -0.07002900186791793\n },\n {\n \"x\": 0.08543191666666662,\n \"y\": -0.06962893713301824\n },\n {\n \"x\": 0.08211253333333332,\n \"y\": -0.06909574307877601\n },\n {\n \"x\": 0.07879315,\n \"y\": -0.06839889359588126\n },\n {\n \"x\": 0.07547376666666669,\n \"y\": -0.06750965561814737\n },\n {\n \"x\": 0.07215438333333338,\n \"y\": -0.06640140392799707\n },\n {\n \"x\": 0.06883500000000006,\n \"y\": -0.06504991286791795\n },\n {\n \"x\": 0.06551561666666676,\n \"y\": -0.06343362176183559\n },\n {\n \"x\": 0.06219623333333345,\n \"y\": -0.06153387113839254\n },\n {\n \"x\": 0.05887685000000013,\n \"y\": -0.05933510716802133\n },\n {\n \"x\": 0.055557466666666826,\n \"y\": -0.05682505207395598\n },\n {\n \"x\": 0.05223808333333351,\n \"y\": -0.05399483865012352\n },\n {\n \"x\": 0.048918700000000204,\n \"y\": -0.05083910741210941\n },\n {\n \"x\": 0.045599316666666896,\n \"y\": -0.04735606531679021\n },\n {\n \"x\": 0.04227993333333358,\n \"y\": -0.04354750540728934\n },\n {\n \"x\": 0.038960550000000274,\n \"y\": -0.03941878716802137\n },\n {\n \"x\": 0.03564116666666696,\n \"y\": -0.03497877780505926\n },\n {\n \"x\": 0.03232178333333365,\n \"y\": -0.030239755095168977\n },\n {\n \"x\": 0.02900240000000034,\n \"y\": -0.025217272867918028\n },\n {\n \"x\": 0.025683016666667034,\n \"y\": -0.019929990594663834\n },\n {\n \"x\": 0.022363633333333712,\n \"y\": -0.014399468951480778\n },\n {\n \"x\": 0.019044250000000405,\n \"y\": -0.008649933595881358\n },\n {\n \"x\": 0.015724866666667094,\n \"y\": -0.0027080097454427916\n },\n {\n \"x\": 0.01240548333333378,\n \"y\": 0.0033975695336483144\n },\n {\n \"x\": 0.009086100000000473,\n \"y\": 0.009636278132081942\n },\n {\n \"x\": 0.0057667166666671614,\n \"y\": 0.01597613134786629\n },\n {\n \"x\": 0.002447333333333852,\n \"y\": 0.02238403631741593\n },\n {\n \"x\": -0.000872049999999458,\n \"y\": 0.028826154587890507\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path8704\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.39745405000000034,\n \"y\": 0.028826154587890507\n },\n {\n \"x\": 0.3941346666666671,\n \"y\": 0.022384036317415937\n },\n {\n \"x\": 0.3908152833333337,\n \"y\": 0.01597613134786629\n },\n {\n \"x\": 0.38749590000000045,\n \"y\": 0.009636278132081942\n },\n {\n \"x\": 0.3841765166666671,\n \"y\": 0.003397569533648309\n },\n {\n \"x\": 0.3808571333333338,\n \"y\": -0.0027080097454427934\n },\n {\n \"x\": 0.3775377500000005,\n \"y\": -0.008649933595881358\n },\n {\n \"x\": 0.37421836666666713,\n \"y\": -0.014399468951480792\n },\n {\n \"x\": 0.3708989833333339,\n \"y\": -0.019929990594663816\n },\n {\n \"x\": 0.3675796000000005,\n \"y\": -0.025217272867918025\n },\n {\n \"x\": 0.36426021666666725,\n \"y\": -0.030239755095168967\n },\n {\n \"x\": 0.36094083333333393,\n \"y\": -0.03497877780505925\n },\n {\n \"x\": 0.35762145000000056,\n \"y\": -0.03941878716802137\n },\n {\n \"x\": 0.3543020666666673,\n \"y\": -0.04354750540728934\n },\n {\n \"x\": 0.350982683333334,\n \"y\": -0.0473560653167902\n },\n {\n \"x\": 0.3476633000000007,\n \"y\": -0.05083910741210941\n },\n {\n \"x\": 0.34434391666666736,\n \"y\": -0.05399483865012353\n },\n {\n \"x\": 0.34102453333333405,\n \"y\": -0.05682505207395598\n },\n {\n \"x\": 0.3377051500000008,\n \"y\": -0.05933510716802134\n },\n {\n \"x\": 0.3343857666666674,\n \"y\": -0.06153387113839254\n },\n {\n \"x\": 0.33106638333333416,\n \"y\": -0.06343362176183558\n },\n {\n \"x\": 0.3277470000000008,\n \"y\": -0.06504991286791795\n },\n {\n \"x\": 0.32442761666666753,\n \"y\": -0.06640140392799708\n },\n {\n \"x\": 0.32110823333333416,\n \"y\": -0.06750965561814737\n },\n {\n \"x\": 0.3177888500000009,\n \"y\": -0.06839889359588126\n },\n {\n \"x\": 0.31446946666666753,\n \"y\": -0.06909574307877601\n },\n {\n \"x\": 0.31115008333333427,\n \"y\": -0.06962893713301824\n },\n {\n \"x\": 0.30783070000000096,\n \"y\": -0.07002900186791793\n },\n {\n \"x\": 0.30451131666666764,\n \"y\": -0.0703279219854669\n },\n {\n \"x\": 0.3011919333333343,\n \"y\": -0.07055879034925058\n },\n {\n \"x\": 0.297872550000001,\n \"y\": -0.07075544541210932\n },\n {\n \"x\": 0.29455316333333437,\n \"y\": -0.07055879034925057\n },\n {\n \"x\": 0.29123377666666767,\n \"y\": -0.0703279219854669\n },\n {\n \"x\": 0.287914390000001,\n \"y\": -0.07002900186791793\n },\n {\n \"x\": 0.28459500333333426,\n \"y\": -0.06962893713301824\n },\n {\n \"x\": 0.2812756166666676,\n \"y\": -0.06909574307877601\n },\n {\n \"x\": 0.2779562300000009,\n \"y\": -0.06839889359588126\n },\n {\n \"x\": 0.2746368433333342,\n \"y\": -0.06750965561814737\n },\n {\n \"x\": 0.27131745666666757,\n \"y\": -0.06640140392799707\n },\n {\n \"x\": 0.26799807000000087,\n \"y\": -0.06504991286791795\n },\n {\n \"x\": 0.2646786833333342,\n \"y\": -0.06343362176183559\n },\n {\n \"x\": 0.26135929666666746,\n \"y\": -0.06153387113839254\n },\n {\n \"x\": 0.2580399100000008,\n \"y\": -0.05933510716802133\n },\n {\n \"x\": 0.2547205233333341,\n \"y\": -0.05682505207395598\n },\n {\n \"x\": 0.25140113666666747,\n \"y\": -0.05399483865012352\n },\n {\n \"x\": 0.24808175000000077,\n \"y\": -0.05083910741210941\n },\n {\n \"x\": 0.24476236333333407,\n \"y\": -0.04735606531679021\n },\n {\n \"x\": 0.24144297666666742,\n \"y\": -0.04354750540728934\n },\n {\n \"x\": 0.23812359000000072,\n \"y\": -0.03941878716802137\n },\n {\n \"x\": 0.23480420333333404,\n \"y\": -0.03497877780505926\n },\n {\n \"x\": 0.23148481666666734,\n \"y\": -0.030239755095168977\n },\n {\n \"x\": 0.22816543000000067,\n \"y\": -0.025217272867918028\n },\n {\n \"x\": 0.224846043333334,\n \"y\": -0.019929990594663834\n },\n {\n \"x\": 0.2215266566666673,\n \"y\": -0.014399468951480778\n },\n {\n \"x\": 0.21820727000000062,\n \"y\": -0.008649933595881358\n },\n {\n \"x\": 0.21488788333333395,\n \"y\": -0.0027080097454427916\n },\n {\n \"x\": 0.21156849666666724,\n \"y\": 0.0033975695336483144\n },\n {\n \"x\": 0.20824911000000057,\n \"y\": 0.009636278132081942\n },\n {\n \"x\": 0.2049297233333339,\n \"y\": 0.01597613134786629\n },\n {\n \"x\": 0.2016103366666672,\n \"y\": 0.02238403631741593\n },\n {\n \"x\": 0.19829095000000052,\n \"y\": 0.028826154587890507\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path8706\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.4023286499999996,\n \"y\": 0.02754405458789022\n },\n {\n \"x\": -0.5293590499999994,\n \"y\": 0.02754405458789022\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path8706-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5261604500000003,\n \"y\": 0.03211105458789021\n },\n {\n \"x\": 0.39913004999999946,\n \"y\": 0.03211105458789021\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.0040821499999992295,\n \"y\": -0.22497364541210985\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.004252755294839927,\n \"y\": 0.23497364541211008\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5504428500000003,\n \"y\": 0.02627215458789056\n },\n \"right1\": {\n \"x\": 0.5504428500000005,\n \"y\": 0.03152125458789001\n }\n },\n \"bounds\": {\n \"minX\": -0.5786012910000002,\n \"maxX\": 0.5786012910000005,\n \"minY\": -0.3249736454121098,\n \"maxY\": 0.23497364541211008,\n \"width\": 1.1572025820000007,\n \"height\": 0.20994729082421992,\n \"centerX\": 1.1102230246251565e-16,\n \"centerY\": -0.04499999999999987\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/inductor.json\"\nimport { Primitive } 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_bottom\" },\n { ...texts.bottom1, anchor: \"middle_top\" },\n ] as Primitive[],\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 inductor_horz from \"./inductor_horz\"\n\nexport default rotateSymbol(inductor_horz)\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.13585750000000063,\n \"y\": 0.003696399999999045\n },\n {\n \"x\": -0.12872579999999934,\n \"y\": 0.13598810000000228\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path1-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12763670000000094,\n \"y\": 0.003920199999999596\n },\n {\n \"x\": 0.5265564000000009,\n \"y\": 0.003920199999999596\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path46\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12872579999999934,\n \"y\": -0.12859530000000063\n },\n {\n \"x\": 0.13585750000000063,\n \"y\": 0.003696399999999045\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path47\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12872579999999934,\n \"y\": 0.13598810000000228\n },\n {\n \"x\": -0.12872579999999934,\n \"y\": -0.12859530000000063\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path48\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13585750000000063,\n \"y\": -0.12859530000000063\n },\n {\n \"x\": 0.13585750000000063,\n \"y\": 0.13598810000000228\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path49\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.13076959999999938,\n \"y\": 0.003696399999999045\n },\n {\n \"x\": -0.5256007999999994,\n \"y\": 0.003696399999999045\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1557438999999996,\n \"y\": -0.28545279999999806\n },\n {\n \"x\": -0.2530861999999994,\n \"y\": -0.3023319999999998\n },\n {\n \"x\": -0.21878339999999952,\n \"y\": -0.20956920000000068\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.08000449999999937,\n \"y\": -0.16590799999999817\n },\n {\n \"x\": -0.09202799999999911,\n \"y\": -0.1748410000000007\n },\n {\n \"x\": -0.2137844999999996,\n \"y\": -0.26529680000000155\n },\n {\n \"x\": -0.2144144999999993,\n \"y\": -0.2662468000000011\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.021722400000000697,\n \"y\": -0.30658939999999646\n },\n {\n \"x\": -0.07561989999999952,\n \"y\": -0.3234685999999982\n },\n {\n \"x\": -0.04131709999999922,\n \"y\": -0.23070579999999907\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09746180000000093,\n \"y\": -0.18704459999999656\n },\n {\n \"x\": 0.08543830000000074,\n \"y\": -0.19597759999999909\n },\n {\n \"x\": -0.0363181999999993,\n \"y\": -0.28643339999999995\n },\n {\n \"x\": -0.03694819999999943,\n \"y\": -0.2873833999999995\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.009561699999999451,\n \"y\": 0.3234685999999982\n },\n \"right1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.31464070000000044,\n \"y\": -0.22386570000000106\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5362092999999997,\n \"y\": 0.004432900000001183\n },\n \"right1\": {\n \"x\": 0.5362093000000003,\n \"y\": 0.004886400000003732\n }\n },\n \"bounds\": {\n \"minX\": -0.5643677409999996,\n \"maxX\": 0.5643677410000003,\n \"minY\": -0.32386570000000103,\n \"maxY\": 0.3234685999999982,\n \"width\": 1.128735482,\n \"height\": 0.2973342999999993,\n \"centerX\": 3.3306690738754696e-16,\n \"centerY\": -0.00019855000000140732\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/led.json\"\nimport { Primitive } 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.bottom1, anchor: \"middle_top\" },\n { ...texts.right1, anchor: \"middle_bottom\" },\n ] as Primitive[],\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 led_right from \"./led_right\"\n\nexport default rotateSymbol(led_right, \"down\")\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport led_right from \"./led_right\"\n\nexport default rotateSymbol(led_right, \"left\")\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport led_right from \"./led_right\"\n\nexport default rotateSymbol(led_right, \"up\")\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5053201665812097,\n \"y\": -0.010839730805804138\n },\n {\n \"x\": -0.1829962316128657,\n \"y\": -0.010839730805804138\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1674747072814866,\n \"y\": -0.11471502212593476\n },\n {\n \"x\": -0.1674747072814866,\n \"y\": 0.07736981415388478\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1674747072814866,\n \"y\": -0.11632056223474518\n },\n {\n \"x\": 0.16018133830019532,\n \"y\": -0.11632056223474518\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-5-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1674747072814866,\n \"y\": 0.07736981415388478\n },\n {\n \"x\": 0.16018133830019532,\n \"y\": 0.07736981415388478\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.17205869804197382,\n \"y\": -0.010839950577224311\n },\n {\n \"x\": 0.5116721586832798,\n \"y\": -0.010839950577224311\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-2-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.16064490317338742,\n \"y\": -0.11622177498145403\n },\n {\n \"x\": 0.16064490317338742,\n \"y\": 0.07727135655772521\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.40391896081308554,\n \"y\": -0.2111951150487743\n },\n {\n \"x\": -0.32538818309991635,\n \"y\": -0.1776462385858042\n },\n {\n \"x\": -0.33843942905204627,\n \"y\": -0.26928059146906413\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78-6-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.4470989190253618,\n \"y\": -0.3351265263866847\n },\n {\n \"x\": -0.4385525777085817,\n \"y\": -0.32468848279378437\n },\n {\n \"x\": -0.3520048317368336,\n \"y\": -0.21897414423109507\n },\n {\n \"x\": -0.3516268465799328,\n \"y\": -0.21798517284109487\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path25-0-9-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.30220674110432255,\n \"y\": -0.3403193953841548\n },\n {\n \"x\": -0.22367596339115314,\n \"y\": -0.30677051892118534\n },\n {\n \"x\": -0.23672720934328306,\n \"y\": -0.3984048718044453\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path78-6-5-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3453866993165988,\n \"y\": -0.464250806722065\n },\n {\n \"x\": -0.3368403579998187,\n \"y\": -0.45381276312916397\n },\n {\n \"x\": -0.2502926120280704,\n \"y\": -0.34809842456647466\n },\n {\n \"x\": -0.24991462687116983,\n \"y\": -0.34710945317647446\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.1679477702432366,\n \"y\": -0.40859918889256375\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.006410773639930811,\n \"y\": 0.464250806722065\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5247194309452994,\n \"y\": -0.009902515585214156\n },\n \"right1\": {\n \"x\": 0.5247194309452992,\n \"y\": -0.010997416799653603\n }\n },\n \"bounds\": {\n \"minX\": -0.5520103866874645,\n \"maxX\": 0.5520103866874643,\n \"minY\": -0.5085991888925637,\n \"maxY\": 0.464250806722065,\n \"width\": 1.1040207733749288,\n \"height\": 0.6228499956146287,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": -0.022174191085249373\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.003646732950281173,\n \"y\": -0.018672603986024328,\n \"radius\": 0.2796529289238723,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/light_dependent_resistor.json\"\nimport { Primitive } 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\", x: 0 },\n { ...texts.bottom1, anchor: \"middle_left\", x: 0 },\n ] as Primitive[],\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 light_dependent_resistor_horz from \"./light_dependent_resistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(light_dependent_resistor_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 \"path208\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3793021704999999,\n \"y\": -0.13154093999999894\n },\n {\n \"x\": 0.5115938705000005,\n \"y\": 0.13304206000000107\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path209\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.24701047050000025,\n \"y\": 0.13304206000000107\n },\n {\n \"x\": 0.3793021704999999,\n \"y\": -0.13154093999999894\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path210\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5115938705000005,\n \"y\": 0.13304206000000107\n },\n {\n \"x\": 0.24701047050000025,\n \"y\": 0.13304206000000107\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path211\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.24701047050000025,\n \"y\": -0.13154093999999894\n },\n {\n \"x\": 0.5115938705000005,\n \"y\": -0.13154093999999894\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path212\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.11471887050000085,\n \"y\": 0.39762406000000006\n },\n {\n \"x\": 0.3793021704999999,\n \"y\": 0.39762406000000006\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path213\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3793021704999999,\n \"y\": -0.39612494\n },\n {\n \"x\": 0.11471887050000085,\n \"y\": -0.39612494\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path214\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.11471887050000085,\n \"y\": -0.5284169399999996\n },\n {\n \"x\": 0.11471887050000085,\n \"y\": -0.18445994\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path215\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.11471887050000085,\n \"y\": 0.5299150600000004\n },\n {\n \"x\": 0.11471887050000085,\n \"y\": 0.0007480600000011606\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path216\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3793021704999999,\n \"y\": 0.39762469000000067\n },\n {\n \"x\": 0.3793021704999999,\n \"y\": -0.3961256399999993\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path217\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1498644295,\n \"y\": -0.2638359399999999\n },\n {\n \"x\": -0.1498644295,\n \"y\": 0.26533006000000015\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path218\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.22923942949999887,\n \"y\": 0.2653310599999994\n },\n {\n \"x\": -0.22923942949999887,\n \"y\": -0.26383493999999885\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path219\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5467394294999997,\n \"y\": 0.26533006000000015\n },\n {\n \"x\": -0.22923942949999887,\n \"y\": 0.2653320600000004\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path220\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1498644295,\n \"y\": 0.18595506000000128\n },\n {\n \"x\": 0.11471897050000024,\n \"y\": 0.18595506000000128\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path221\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1498644295,\n \"y\": -0.18446093999999924\n },\n {\n \"x\": 0.11471897050000024,\n \"y\": -0.18446093999999924\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path222\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.07048942950000026,\n \"y\": 0.0007480600000011606\n },\n {\n \"x\": 0.11471887050000085,\n \"y\": 0.0007480600000011606\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"right1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.5651646705000006,\n \"y\": -0.2085436499999993\n },\n \"right2\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.5665500705,\n \"y\": -0.02044358999999929\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.11518067050000003,\n \"y\": -0.5432738300000004\n },\n \"bottom1\": {\n \"x\": 0.11482247050000094,\n \"y\": 0.5432738300000004\n },\n \"left1\": {\n \"x\": -0.5483916295000002,\n \"y\": 0.2663988600000007\n }\n },\n \"bounds\": {\n \"minX\": -0.5765500705000002,\n \"maxX\": 0.6665500704999999,\n \"minY\": -0.5714322710000004,\n \"maxY\": 0.5714322710000004,\n \"width\": 1.2431001410000002,\n \"height\": 0.7928645420000008,\n \"centerX\": 0.04499999999999987,\n \"centerY\": 0\n },\n \"circles\": {}\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 \"path12-1-8-6-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.005962250000000502,\n \"y\": -0.06421149999999898\n },\n {\n \"x\": 0.005962250000000502,\n \"y\": 0.010086499999999887\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.48740705000000073,\n \"y\": 0.0979945000000022\n },\n {\n \"x\": -0.17310075000000058,\n \"y\": 0.0979945000000022\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.16008695000000017,\n \"y\": 0.015660500000000965\n },\n {\n \"x\": 0.1719709499999995,\n \"y\": 0.015660500000000965\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1954987499999996,\n \"y\": 0.09760550000000023\n },\n {\n \"x\": 0.4881436499999996,\n \"y\": 0.09760550000000023\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.09950044999999985,\n \"y\": -0.05339449999999957\n },\n {\n \"x\": -0.09950104999999976,\n \"y\": -0.05697449999999904\n },\n {\n \"x\": -0.09932044999999956,\n \"y\": -0.06050449999999863\n },\n {\n \"x\": -0.09896044999999987,\n \"y\": -0.06401049999999842\n },\n {\n \"x\": -0.09860045000000017,\n \"y\": -0.06750049999999774\n },\n {\n \"x\": -0.09806045000000019,\n \"y\": -0.07093049999999756\n },\n {\n \"x\": -0.09735344999999995,\n \"y\": -0.07429949999999863\n },\n {\n \"x\": -0.09663345000000056,\n \"y\": -0.07765949999999933\n },\n {\n \"x\": -0.09578045000000035,\n \"y\": -0.080999499999999\n },\n {\n \"x\": -0.09475245000000054,\n \"y\": -0.08424949999999853\n },\n {\n \"x\": -0.09379245000000047,\n \"y\": -0.08755949999999757\n },\n {\n \"x\": -0.09254545000000025,\n \"y\": -0.09067949999999847\n },\n {\n \"x\": -0.09120844999999989,\n \"y\": -0.09377950000000013\n },\n {\n \"x\": -0.08986644999999971,\n \"y\": -0.09686950000000039\n },\n {\n \"x\": -0.08839545000000015,\n \"y\": -0.09992949999999823\n },\n {\n \"x\": -0.08675845000000049,\n \"y\": -0.1028394999999982\n },\n {\n \"x\": -0.08506245000000057,\n \"y\": -0.10569950000000006\n },\n {\n \"x\": -0.08334244999999996,\n \"y\": -0.10860950000000003\n },\n {\n \"x\": -0.08146945000000017,\n \"y\": -0.11138949999999781\n },\n {\n \"x\": -0.0795824500000002,\n \"y\": -0.11416949999999915\n },\n {\n \"x\": -0.07752845000000086,\n \"y\": -0.11680949999999868\n },\n {\n \"x\": -0.07546944999999994,\n \"y\": -0.11942949999999897\n },\n {\n \"x\": -0.07325945000000011,\n \"y\": -0.12193949999999987\n },\n {\n \"x\": -0.07104145000000006,\n \"y\": -0.12444949999999722\n },\n {\n \"x\": -0.06867544999999975,\n \"y\": -0.12682949999999948\n },\n {\n \"x\": -0.06628845000000005,\n \"y\": -0.12916949999999972\n },\n {\n \"x\": -0.06379544999999975,\n \"y\": -0.13141949999999802\n },\n {\n \"x\": -0.06114145000000004,\n \"y\": -0.1334894999999996\n },\n {\n \"x\": -0.05848745000000033,\n \"y\": -0.135569499999999\n },\n {\n \"x\": -0.05584345000000024,\n \"y\": -0.13761949999999956\n },\n {\n \"x\": -0.05306845000000049,\n \"y\": -0.13949949999999944\n },\n {\n \"x\": -0.05029345000000074,\n \"y\": -0.14139950000000034\n },\n {\n \"x\": -0.04738844999999969,\n \"y\": -0.14311950000000095\n },\n {\n \"x\": -0.04437445000000029,\n \"y\": -0.14469949999999798\n },\n {\n \"x\": -0.04134744999999995,\n \"y\": -0.14631949999999883\n },\n {\n \"x\": -0.038316449999999946,\n \"y\": -0.1477594999999976\n },\n {\n \"x\": -0.03515645000000056,\n \"y\": -0.14907949999999914\n },\n {\n \"x\": -0.03204444999999989,\n \"y\": -0.15036950000000004\n },\n {\n \"x\": -0.028770450000000558,\n \"y\": -0.1515594999999994\n },\n {\n \"x\": -0.025468450000000864,\n \"y\": -0.1525794999999981\n },\n {\n \"x\": -0.02213745000000067,\n \"y\": -0.1536395000000006\n },\n {\n \"x\": -0.018790450000000014,\n \"y\": -0.15442949999999733\n },\n {\n \"x\": -0.01536325000000005,\n \"y\": -0.15512949999999748\n },\n {\n \"x\": -0.011980249999999693,\n \"y\": -0.1558294999999994\n },\n {\n \"x\": -0.008442250000000762,\n \"y\": -0.15641949999999838\n },\n {\n \"x\": -0.004890650000000107,\n \"y\": -0.15674949999999832\n },\n {\n \"x\": -0.0013406500000003874,\n \"y\": -0.15704949999999585\n },\n {\n \"x\": 0.002252350000000014,\n \"y\": -0.1571494999999974\n },\n {\n \"x\": 0.005893849999999645,\n \"y\": -0.1571494999999974\n },\n {\n \"x\": 0.009534849999998762,\n \"y\": -0.1571494999999974\n },\n {\n \"x\": 0.013136849999999534,\n \"y\": -0.15704949999999585\n },\n {\n \"x\": 0.016683149999999536,\n \"y\": -0.15674949999999832\n },\n {\n \"x\": 0.020231149999998976,\n \"y\": -0.15644949999999902\n },\n {\n \"x\": 0.023727149999999142,\n \"y\": -0.15604949999999818\n },\n {\n \"x\": 0.02715474999999934,\n \"y\": -0.15512949999999748\n },\n {\n \"x\": 0.03057874999999921,\n \"y\": -0.15452949999999888\n },\n {\n \"x\": 0.03395574999999962,\n \"y\": -0.15367949999999908\n },\n {\n \"x\": 0.03725995000000015,\n \"y\": -0.1525894999999995\n },\n {\n \"x\": 0.0405679499999998,\n \"y\": -0.15152949999999876\n },\n {\n \"x\": 0.04379994999999948,\n \"y\": -0.15041949999999815\n },\n {\n \"x\": 0.04695294999999966,\n \"y\": -0.14909950000000016\n },\n {\n \"x\": 0.050101949999999285,\n \"y\": -0.14780949999999926\n },\n {\n \"x\": 0.053191949999999544,\n \"y\": -0.14631949999999883\n },\n {\n \"x\": 0.05617794999999948,\n \"y\": -0.14473950000000002\n },\n {\n \"x\": 0.05916694999999983,\n \"y\": -0.14311950000000095\n },\n {\n \"x\": 0.06206694999999929,\n \"y\": -0.14139950000000034\n },\n {\n \"x\": 0.06487294999999982,\n \"y\": -0.13955950000000072\n },\n {\n \"x\": 0.06767095000000012,\n \"y\": -0.13769950000000186\n },\n {\n \"x\": 0.07038294999999994,\n \"y\": -0.1356995000000012\n },\n {\n \"x\": 0.07299194999999958,\n \"y\": -0.13357950000000152\n },\n {\n \"x\": 0.07560095000000011,\n \"y\": -0.13145950000000184\n },\n {\n \"x\": 0.07809294999999938,\n \"y\": -0.12920950000000175\n },\n {\n \"x\": 0.08047994999999997,\n \"y\": -0.12687950000000114\n },\n {\n \"x\": 0.08287894999999956,\n \"y\": -0.12453950000000091\n },\n {\n \"x\": 0.08515495000000062,\n \"y\": -0.12206950000000028\n },\n {\n \"x\": 0.08729294999999926,\n \"y\": -0.11951950000000089\n },\n {\n \"x\": 0.08944594999999911,\n \"y\": -0.11692950000000124\n },\n {\n \"x\": 0.0914679499999993,\n \"y\": -0.11430950000000095\n },\n {\n \"x\": 0.09337295000000001,\n \"y\": -0.11152949999999962\n },\n {\n \"x\": 0.0971669499999992,\n \"y\": -0.1060194999999986\n },\n {\n \"x\": 0.10043494999999947,\n \"y\": -0.1001245000000015\n },\n {\n \"x\": 0.10311494999999926,\n \"y\": -0.09390950000000053\n },\n {\n \"x\": 0.10444094999999987,\n \"y\": -0.09081950000000028\n },\n {\n \"x\": 0.10564094999999973,\n \"y\": -0.08762950000000025\n },\n {\n \"x\": 0.10667494999999949,\n \"y\": -0.08435950000000147\n },\n {\n \"x\": 0.10769994999999977,\n \"y\": -0.08110950000000194\n },\n {\n \"x\": 0.1085699499999997,\n \"y\": -0.07779950000000291\n },\n {\n \"x\": 0.10927795000000007,\n \"y\": -0.07442950000000259\n },\n {\n \"x\": 0.10999794999999946,\n \"y\": -0.0710595000000005\n },\n {\n \"x\": 0.11051994999999959,\n \"y\": -0.06762950000000068\n },\n {\n \"x\": 0.11088394999999984,\n \"y\": -0.06413950000000135\n },\n {\n \"x\": 0.11124394999999954,\n \"y\": -0.06064950000000202\n },\n {\n \"x\": 0.11142394999999983,\n \"y\": -0.05709950000000141\n },\n {\n \"x\": 0.11142394999999983,\n \"y\": -0.053543499999999966\n },\n {\n \"x\": 0.10483595000000001,\n \"y\": -0.05353049999999904\n },\n {\n \"x\": 0.0982479500000002,\n \"y\": -0.05351650000000063\n },\n {\n \"x\": 0.09164495000000006,\n \"y\": -0.05351850000000091\n },\n {\n \"x\": 0.08505695000000024,\n \"y\": -0.05350850000000129\n },\n {\n \"x\": 0.078453950000001,\n \"y\": -0.05350950000000054\n },\n {\n \"x\": 0.07186595000000029,\n \"y\": -0.053496499999999614\n },\n {\n \"x\": 0.06526295000000104,\n \"y\": -0.05349750000000064\n },\n {\n \"x\": 0.058674950000001225,\n \"y\": -0.053485499999998964\n },\n {\n \"x\": 0.05208695000000052,\n \"y\": -0.05347349999999906\n },\n {\n \"x\": 0.04548395000000127,\n \"y\": -0.05347549999999934\n },\n {\n \"x\": 0.038895950000001456,\n \"y\": -0.05346150000000094\n },\n {\n \"x\": 0.03230795000000075,\n \"y\": -0.053448499999998234\n },\n {\n \"x\": 0.025704950000001503,\n \"y\": -0.053453499999998044\n },\n {\n \"x\": 0.019101950000001366,\n \"y\": -0.053454499999997296\n },\n {\n \"x\": 0.01251395000000155,\n \"y\": -0.05344149999999637\n },\n {\n \"x\": 0.005925950000001734,\n \"y\": -0.05342749999999796\n },\n {\n \"x\": -0.0006560499999990199,\n \"y\": -0.0534214999999989\n },\n {\n \"x\": -0.007240049999999165,\n \"y\": -0.05341449999999881\n },\n {\n \"x\": -0.01382404999999931,\n \"y\": -0.05340849999999975\n },\n {\n \"x\": -0.020406049999999176,\n \"y\": -0.053402500000000686\n },\n {\n \"x\": -0.02699004999999932,\n \"y\": -0.053394500000001344\n },\n {\n \"x\": -0.03357404999999947,\n \"y\": -0.05338950000000331\n },\n {\n \"x\": -0.04015604999999933,\n \"y\": -0.05338350000000425\n },\n {\n \"x\": -0.04674004999999948,\n \"y\": -0.05337450000000388\n },\n {\n \"x\": -0.05332205000000023,\n \"y\": -0.053368500000004815\n },\n {\n \"x\": -0.05990605000000038,\n \"y\": -0.05336050000000547\n },\n {\n \"x\": -0.06649005000000052,\n \"y\": -0.05335550000000566\n },\n {\n \"x\": -0.07307205000000039,\n \"y\": -0.0533495000000066\n },\n {\n \"x\": -0.07965605000000053,\n \"y\": -0.05334150000000726\n },\n {\n \"x\": -0.08624005000000068,\n \"y\": -0.053335500000008196\n },\n {\n \"x\": -0.09282205000000143,\n \"y\": -0.05333050000001016\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.01254745000000046,\n \"y\": -0.26112850000000165\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.16130964999999975,\n \"y\": 0.27112849999999966\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.4717985499999999,\n \"y\": 0.0979675000000011\n },\n \"right1\": {\n \"x\": 0.4717985499999999,\n \"y\": 0.09799250000000015\n }\n },\n \"bounds\": {\n \"minX\": -0.4999569909999999,\n \"maxX\": 0.4999569909999999,\n \"minY\": -0.36112850000000163,\n \"maxY\": 0.27112849999999966,\n \"width\": 1,\n \"height\": 1,\n \"centerX\": 0,\n \"centerY\": -0.045000000000000984\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/mushroom_head_normally_open_momentary.json\"\nimport { Primitive } 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_bottom\", x: 0 },\n { ...texts.bottom1, anchor: \"middle_top\", x: 0 },\n ] as Primitive[],\n ports: [\n { ...refblocks.left1, labels: [\"1\"] },\n { ...refblocks.right1, labels: [\"2\"] },\n ],\n size: { width: bounds.width, height: bounds.height },\n center: { x: bounds.centerX + 0.006, y: bounds.centerY + 0.06 },\n})\n","import { rotateSymbol } from \"drawing/rotateSymbol\"\nimport mushroom_head_normally_open_momentary_horz from \"./mushroom_head_normally_open_momentary_horz\"\nimport type { TextPrimitive } from \"drawing\"\n\nconst rotated = rotateSymbol(mushroom_head_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.03\nref.y = ref.y\n\nval.x = val.x\nval.y = 0\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.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 \"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-8-3-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09448295549999952,\n \"y\": -0.14677165000000048\n },\n {\n \"x\": 0.09319295549999951,\n \"y\": -0.06899565000000041\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 \"path2-8-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09440455549999993,\n \"y\": 0.07703174999999951\n },\n {\n \"x\": 0.09311455549999992,\n \"y\": 0.15480774999999958\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2-8-3-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09448295549999952,\n \"y\": -0.03486995000000048\n },\n {\n \"x\": 0.09319295549999951,\n \"y\": 0.042906049999999585\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path15\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2741991554999996,\n \"y\": 0.040776550000000134\n },\n {\n \"x\": 0.2741991554999996,\n \"y\": -0.030615549999999825\n },\n {\n \"x\": 0.2024441554999994,\n \"y\": 0.004662350000000037\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.10847375000000059\n },\n {\n \"x\": 0.05111245550000065,\n \"y\": 0.1059225499999994\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_e_mosfet_transistor.json\"\nimport { Primitive } 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_right\", x: 0 },\n { ...texts.bottom1, anchor: \"middle_right\", x: 0 },\n ] as Primitive[],\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_e_mosfet_transistor_horz from \"./n_channel_e_mosfet_transistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(n_channel_e_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.3850939444999988,\n \"y\": 0.0036735999999999436\n },\n {\n \"x\": 0.0587620555000008,\n \"y\": 0.0062965999999997635\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07400475550000118,\n \"y\": -0.2689528999999997\n },\n {\n \"x\": 0.07335475550000092,\n \"y\": 0.2789230000000007\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-0-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2754149555000005,\n \"y\": -0.24180210000000013\n },\n {\n \"x\": 0.07955815550000045,\n \"y\": -0.10822479999999968\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-0-5-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2868554555000009,\n \"y\": 0.24134789999999984\n },\n {\n \"x\": 0.09194705550000082,\n \"y\": 0.10807689999999992\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2851204555,\n \"y\": -0.25311099999999964\n },\n {\n \"x\": 0.2860204555000001,\n \"y\": -0.5377640999999995\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2851204555,\n \"y\": 0.5376890000000012\n },\n {\n \"x\": 0.2860204555000001,\n \"y\": 0.25303590000000065\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path15\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1882816555000013,\n \"y\": 0.10097660000000008\n },\n {\n \"x\": 0.11555775550000158,\n \"y\": 0.20483720000000027\n },\n {\n \"x\": 0.22425775550000182,\n \"y\": 0.20446720000000007\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.22497334449999973,\n \"y\": -0.3596647999999991\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0679100444999996,\n \"y\": 0.4129789000000006\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.28556045550000064,\n \"y\": -0.5519250999999994\n },\n \"bottom1\": {\n \"x\": 0.285560455500002,\n \"y\": 0.5519250999999992\n },\n \"left1\": {\n \"x\": -0.3990097444999998,\n \"y\": 0.004526300000000871\n }\n },\n \"bounds\": {\n \"minX\": -0.4271681854999998,\n \"maxX\": 0.4271681855000001,\n \"minY\": -0.5800835409999994,\n \"maxY\": 0.5800835409999991,\n \"width\": 1,\n \"height\": 1.1601670819999985,\n \"centerX\": 1.3877787807814457e-16,\n \"centerY\": -1.1102230246251565e-16\n },\n \"circles\": {\n \"path1-0\": {\n \"type\": \"circle\",\n \"x\": 0.13862605550000007,\n \"y\": -0.003454799999999203,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import svgJson from \"assets/generated/npn_bipolar_transistor.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\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.07,\n y: -0.3596647999999991,\n anchor: \"middle_right\",\n },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: -0.0679100444999996,\n y: 0.4129789000000006,\n anchor: \"middle_right\",\n },\n ] as any,\n ports: [\n { ...refblocks.top1, labels: [\"1\", \"collector\"] },\n { ...refblocks.bottom1, labels: [\"2\", \"emitter\"] },\n { ...refblocks.left1, labels: [\"3\", \"base\"] },\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 npn_bipolar_transistor_horz from \"./npn_bipolar_transistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(npn_bipolar_transistor_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\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.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 \"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-8-3-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09448295549999952,\n \"y\": -0.14677165000000048\n },\n {\n \"x\": 0.09319295549999951,\n \"y\": -0.06899565000000041\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 \"path2-8-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09440455549999993,\n \"y\": 0.07703174999999951\n },\n {\n \"x\": 0.09311455549999992,\n \"y\": 0.15480774999999958\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2-8-3-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09448295549999952,\n \"y\": -0.03486995000000048\n },\n {\n \"x\": 0.09319295549999951,\n \"y\": 0.042906049999999585\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.10847375000000059\n },\n {\n \"x\": 0.05111245550000065,\n \"y\": 0.1059225499999994\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_e_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_e_mosfet_transistor_horz from \"./p_channel_e_mosfet_transistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(p_channel_e_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.3850939444999988,\n \"y\": 0.0036735999999999436\n },\n {\n \"x\": 0.0587620555000008,\n \"y\": 0.0062965999999997635\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07400475550000118,\n \"y\": -0.2689528999999997\n },\n {\n \"x\": 0.07335475550000092,\n \"y\": 0.2789230000000007\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-0-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2754149555000005,\n \"y\": -0.24180210000000013\n },\n {\n \"x\": 0.07955815550000045,\n \"y\": -0.10822479999999968\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-0-5-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2868554555000009,\n \"y\": 0.24134789999999984\n },\n {\n \"x\": 0.09194705550000082,\n \"y\": 0.10807689999999992\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2851204555,\n \"y\": -0.25311099999999964\n },\n {\n \"x\": 0.2860204555000001,\n \"y\": -0.5377640999999995\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2851204555,\n \"y\": 0.5376890000000012\n },\n {\n \"x\": 0.2860204555000001,\n \"y\": 0.25303590000000065\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path15\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.15155145550000038,\n \"y\": 0.2268796000000004\n },\n {\n \"x\": 0.2242753555000001,\n \"y\": 0.12301900000000021\n },\n {\n \"x\": 0.11557535549999942,\n \"y\": 0.12338900000000042\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.22497334449999973,\n \"y\": -0.3596647999999991\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.0679100444999996,\n \"y\": 0.4129789000000006\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.28556045550000064,\n \"y\": -0.5519250999999994\n },\n \"bottom1\": {\n \"x\": 0.285560455500002,\n \"y\": 0.5519250999999992\n },\n \"left1\": {\n \"x\": -0.3990097444999998,\n \"y\": 0.004526300000000871\n }\n },\n \"bounds\": {\n \"minX\": -0.4271681854999998,\n \"maxX\": 0.4271681855000001,\n \"minY\": -0.5800835409999994,\n \"maxY\": 0.5800835409999991,\n \"width\": 1,\n \"height\": 1.1601670819999985,\n \"centerX\": 1.3877787807814457e-16,\n \"centerY\": -1.1102230246251565e-16\n },\n \"circles\": {\n \"path1-0\": {\n \"type\": \"circle\",\n \"x\": 0.13862605550000007,\n \"y\": -0.003454799999999203,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\n }\n}","import svgJson from \"assets/generated/pnp_bipolar_transistor.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\nimport { Primitive } 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.07,\n y: -0.3596647999999991,\n anchor: \"middle_right\",\n },\n {\n type: \"text\",\n text: \"{VAL}\",\n x: -0.0679100444999996,\n y: 0.4129789000000006,\n anchor: \"middle_right\",\n },\n ] as Primitive[],\n ports: [\n { ...refblocks.top1, labels: [\"1\", \"collector\"] },\n { ...refblocks.bottom1, labels: [\"2\", \"emitter\"] },\n { ...refblocks.left1, labels: [\"3\", \"base\"] },\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 pnp_bipolar_transistor_horz from \"./pnp_bipolar_transistor_horz\"\n\nconst rotatedSymbol = rotateSymbol(pnp_bipolar_transistor_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.anchor = \"middle_left\"\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5274831500000005,\n \"y\": -0.03018695000000049\n },\n {\n \"x\": -0.30105415000000013,\n \"y\": -0.03018695000000049\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2932119499999999,\n \"y\": -0.03018695000000049\n },\n {\n \"x\": 0.5339524499999997,\n \"y\": -0.03018695000000049\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-5-5\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09765764999999949,\n \"y\": -0.12845085000000034\n },\n {\n \"x\": -0.0011297500000011507,\n \"y\": 0.06303624999999946\n },\n {\n \"x\": -0.10778645000000164,\n \"y\": -0.12845085000000034\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12123945000000003,\n \"y\": 0.14031524999999934\n },\n {\n \"x\": 0.11950104999999955,\n \"y\": 0.14031524999999934\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17328624999999942,\n \"y\": -0.39216264999999995\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.00661455000000033,\n \"y\": 0.40216264999999995\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5413984499999998,\n \"y\": -0.029334149999999948\n },\n \"right1\": {\n \"x\": 0.54139845,\n \"y\": -0.030330549999999734\n }\n },\n \"bounds\": {\n \"minX\": -0.5695568909999997,\n \"maxX\": 0.569556891,\n \"minY\": -0.4921626499999999,\n \"maxY\": 0.40216264999999995,\n \"width\": 1.1391137819999997,\n \"height\": 0.5443252999999999,\n \"centerX\": 1.1102230246251565e-16,\n \"centerY\": -0.044999999999999984\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.0037626500000000895,\n \"y\": -0.03731525000000002,\n \"radius\": 0.28854213,\n \"color\": \"primary\",\n \"fill\": false\n }\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.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 + 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.53224045,\n \"y\": 0.0008545000000008685\n },\n {\n \"x\": -0.26765715000000023,\n \"y\": 0.0008545000000008685\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path19\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2615098499999995,\n \"y\": 0.0008545000000008685\n },\n {\n \"x\": 0.5260934499999994,\n \"y\": 0.0008545000000008685\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path20\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.0030722500000006647,\n \"y\": -0.1314371999999988\n },\n {\n \"x\": 0.2615107499999998,\n \"y\": -0.1314371999999988\n },\n {\n \"x\": 0.2615107499999998,\n \"y\": 0.13314619999999877\n },\n {\n \"x\": -0.26765624999999993,\n \"y\": 0.13314619999999877\n },\n {\n \"x\": -0.26765624999999993,\n \"y\": -0.1314371999999988\n },\n {\n \"x\": -0.0030722499999988884,\n \"y\": -0.1314371999999988\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path23\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2782993499999993,\n \"y\": 0.2822274\n },\n {\n \"x\": 0.17598844999999885,\n \"y\": 0.25486950000000164\n },\n {\n \"x\": 0.25094144999999823,\n \"y\": 0.1799165000000027\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path24\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2882692499999995,\n \"y\": 0.2921307000000013\n },\n {\n \"x\": 0.25467554999999953,\n \"y\": 0.16634940000000142\n },\n {\n \"x\": 0.16229264999999948,\n \"y\": 0.25853690000000284\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path26\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.2985911500000009,\n \"y\": -0.2921307000000013\n },\n {\n \"x\": 0.22988164999999938,\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.055041669999999154,\n \"y\": -0.2009376800000009\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.10019643000000089,\n \"y\": 0.27857531999999985\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5346914500000006,\n \"y\": 0.0013439000000019519\n },\n \"right1\": {\n \"x\": 0.5346914500000004,\n \"y\": 0.001956599999999753\n }\n },\n \"bounds\": {\n \"minX\": -0.5628498910000006,\n \"maxX\": 0.5628498910000004,\n \"minY\": -0.3009376800000009,\n \"maxY\": 0.2921307000000013,\n \"width\": 1.125699782000001,\n \"height\": 0.2430683800000022,\n \"centerX\": -1.1102230246251565e-16,\n \"centerY\": -0.004403489999999788\n },\n \"circles\": {}\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_top\" },\n { ...texts.top1, 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 potentiometer2_horz from \"./potentiometer2_horz\"\n\nconst rotated = rotateSymbol(potentiometer2_horz)\n\nconst texts = rotated.primitives.filter((p) => p.type === \"text\")!\n\nconst val = texts.find((t) => t.text === \"{VAL}\")!\nval.anchor = \"middle_right\"\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\nref.anchor = \"middle_left\"\n\nexport default rotated\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.010157449999999457,\n \"y\": -0.07203999999999766\n },\n {\n \"x\": 0.010157449999999457,\n \"y\": 0.04317300000000124\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.48740705000000073,\n \"y\": 0.024894000000003302\n },\n {\n \"x\": -0.17310075000000147,\n \"y\": 0.024894000000003302\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.17515525000000043,\n \"y\": 0.04869000000000234\n },\n {\n \"x\": 0.1954249499999996,\n \"y\": 0.04869000000000234\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1954987499999996,\n \"y\": 0.02450500000000133\n },\n {\n \"x\": 0.4881436499999996,\n \"y\": 0.02450500000000133\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.009807749999999338,\n \"y\": -0.252520999999998\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.157175650000001,\n \"y\": 0.26252100000000134\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.4717985500000008,\n \"y\": 0.02486700000000397\n },\n \"right1\": {\n \"x\": 0.4717985499999999,\n \"y\": 0.024892000000003023\n }\n },\n \"bounds\": {\n \"minX\": -0.4999569910000008,\n \"maxX\": 0.4999569909999999,\n \"minY\": -0.352520999999998,\n \"maxY\": 0.26252100000000134,\n \"width\": 0.9999139820000007,\n \"height\": 0.26504199999999933,\n \"centerX\": -4.440892098500626e-16,\n \"centerY\": -0.04499999999999832\n },\n \"circles\": {}\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.005962250000000502,\n \"y\": -0.14781649999999757\n },\n {\n \"x\": 0.005962250000000502,\n \"y\": -0.03142349999999894\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-5-6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.48740705000000073,\n \"y\": 0.05648450000000338\n },\n {\n \"x\": -0.17310075000000058,\n \"y\": 0.05648450000000338\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-8-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.16008695000000017,\n \"y\": -0.02584949999999786\n },\n {\n \"x\": 0.1719709499999995,\n \"y\": -0.02584949999999786\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-1-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1954987499999996,\n \"y\": 0.05609550000000141\n },\n {\n \"x\": 0.4881436499999996,\n \"y\": 0.05609550000000141\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": 0.006701050000000208,\n \"y\": -0.2196184999999975\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.16130964999999975,\n \"y\": 0.22961850000000084\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.4717985499999999,\n \"y\": 0.05645750000000227\n },\n \"right1\": {\n \"x\": 0.4717985499999999,\n \"y\": 0.05648250000000132\n }\n },\n \"bounds\": {\n \"minX\": -0.4999569909999999,\n \"maxX\": 0.4999569909999999,\n \"minY\": -0.3196184999999975,\n \"maxY\": 0.22961850000000084,\n \"width\": 0.9999139819999998,\n \"height\": 0.19923699999999833,\n \"centerX\": 0,\n \"centerY\": -0.04499999999999832\n },\n \"circles\": {}\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 \"path40\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.19250837381256392,\n \"y\": -0.32749349347032286\n },\n {\n \"x\": -0.25568957329611974,\n \"y\": -0.13794979950157282\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.38205206778131373,\n \"y\": -0.26431229398676837\n },\n {\n \"x\": -0.19250837381256392,\n \"y\": -0.32749349347032286\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.2556895732961204,\n \"y\": -0.13794979950157416\n },\n {\n \"x\": -0.38205206778131373,\n \"y\": -0.26431229398676837\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.2556896210551609,\n \"y\": -0.39067474071292196\n },\n {\n \"x\": -0.12932712656996737,\n \"y\": -0.26431224622772653\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3199237641156438,\n \"y\": -0.2000781031672434\n },\n {\n \"x\": -0.5084145145074668,\n \"y\": -0.011587352775420667\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.011560829633404435,\n \"y\": -0.5083596562436202\n },\n {\n \"x\": -0.19004023433272543,\n \"y\": -0.3298802515442989\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-4\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.19250813152967883,\n \"y\": 0.3220463011874377\n },\n {\n \"x\": -0.38205182549842887,\n \"y\": 0.2588651017038819\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.2556893310132333,\n \"y\": 0.13250260721868767\n },\n {\n \"x\": -0.19250813152967883,\n \"y\": 0.3220463011874377\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.38205182549842753,\n \"y\": 0.258865101703881\n },\n {\n \"x\": -0.2556893310132333,\n \"y\": 0.13250260721868767\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12932688428707984,\n \"y\": 0.2588650539448407\n },\n {\n \"x\": -0.25568937877227516,\n \"y\": 0.38522754843003404\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3199235218327583,\n \"y\": 0.19463091088435758\n },\n {\n \"x\": -0.508414272224581,\n \"y\": 0.006140160492534852\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.011641968756381349,\n \"y\": 0.5029938453665972\n },\n {\n \"x\": -0.1901213734557028,\n \"y\": 0.3245144406672762\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-4-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.322578868470321,\n \"y\": -0.19315369881256328\n },\n {\n \"x\": 0.13303517450157099,\n \"y\": -0.2563348982961191\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41-1-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2593976689867663,\n \"y\": -0.3826973927813131\n },\n {\n \"x\": 0.322578868470321,\n \"y\": -0.19315369881256328\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42-7-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13303517450157232,\n \"y\": -0.2563348982961198\n },\n {\n \"x\": 0.2593976689867663,\n \"y\": -0.3826973927813131\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-1-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.38576011571292,\n \"y\": -0.2563349460551603\n },\n {\n \"x\": 0.2593976212277247,\n \"y\": -0.12997245156996673\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-8-7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.19516347816724133,\n \"y\": -0.3205690891156432\n },\n {\n \"x\": 0.006672727775418608,\n \"y\": -0.509059839507466\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0-7-1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5034450312436185,\n \"y\": -0.012206154633403798\n },\n {\n \"x\": 0.32496562654429706,\n \"y\": -0.19068555933272457\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path40-4-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.3220220261874358,\n \"y\": 0.19326390652967795\n },\n {\n \"x\": 0.25884082670387976,\n \"y\": 0.382807600498428\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path41-1-4\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.13247833221868577,\n \"y\": 0.25644510601323245\n },\n {\n \"x\": 0.3220220261874358,\n \"y\": 0.19326390652967795\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path42-7-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2588408267038793,\n \"y\": 0.38280760049842666\n },\n {\n \"x\": 0.13247833221868577,\n \"y\": 0.25644510601323245\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path43-1-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2588407789448386,\n \"y\": 0.13008265928707896\n },\n {\n \"x\": 0.38520327343003213,\n \"y\": 0.2564451537722743\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-8-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.19460663588435567,\n \"y\": 0.3206792968327574\n },\n {\n \"x\": 0.0061158854925329464,\n \"y\": 0.5091700472245801\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path44-0-7-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.5029695703665951,\n \"y\": 0.012397743756380697\n },\n {\n \"x\": 0.3244901656672745,\n \"y\": 0.19087714845570192\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.2872803000000015,\n \"y\": -0.4564494249999992\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.2872803000000015,\n \"y\": 0.4960514750000007\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.0005126999999993664,\n \"y\": -0.5191475\n },\n \"bottom1\": {\n \"x\": -0.0005123000000009093,\n \"y\": 0.5191475000000001\n },\n \"left1\": {\n \"x\": -0.5191472999999998,\n \"y\": -0.0005123250000014234\n },\n \"right1\": {\n \"x\": 0.5191473000000002,\n \"y\": 0.0005123749999977889\n }\n },\n \"bounds\": {\n \"minX\": -0.5473057409999997,\n \"maxX\": 0.5473057410000002,\n \"minY\": -0.5564494249999992,\n \"maxY\": 0.5473059410000001,\n \"width\": 1.094611482,\n \"height\": 1.1037553659999992,\n \"centerX\": 2.220446049250313e-16,\n \"centerY\": -0.004571741999999546\n },\n \"circles\": {}\n}","import svgJson from \"assets/generated/rectifier_diode.json\"\nimport { defineSymbol } from \"drawing/defineSymbol\"\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\" },\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 { ...refblocks.right1, labels: [\"4\"] }, // 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 type { TextPrimitive } from \"drawing\"\nimport { rotateSymbol } from \"drawing/rotateSymbol\"\nimport rectifier_diode_horz from \"./rectifier_diode_horz\"\n\nconst rotated = rotateSymbol(rectifier_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 \"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 \"path1\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3543583500000005,\n \"y\": -0.027043850000000758\n },\n {\n \"x\": -0.12792935000000005,\n \"y\": -0.027043850000000758\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path-1-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1133669500000003,\n \"y\": -0.027198750000000382\n },\n {\n \"x\": 0.11208324999999997,\n \"y\": -0.14100155000000036\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1043477500000003,\n \"y\": 0.06951304999999941\n },\n {\n \"x\": 0.34508875000000017,\n \"y\": 0.06951304999999941\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12008575000000055,\n \"y\": -0.1671466500000005\n },\n {\n \"x\": 0.3608267500000004,\n \"y\": -0.1671466500000005\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17853294999999947,\n \"y\": -0.39216264999999995\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.011861250000000378,\n \"y\": 0.40216264999999995\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.10744654999999947,\n \"y\": -0.16714664999999962\n },\n \"left1\": {\n \"x\": -0.3682737499999995,\n \"y\": -0.02704385000000009\n },\n \"left2\": {\n \"x\": -0.11569114999999996,\n \"y\": -0.02704385000000009\n },\n \"right1\": {\n \"x\": 0.3682737499999995,\n \"y\": -0.16714664999999962\n },\n \"right2\": {\n \"x\": 0.3682737499999995,\n \"y\": 0.06951305000000008\n },\n \"right3\": {\n \"x\": 0.10744725000000055,\n \"y\": 0.06951305000000008\n }\n },\n \"bounds\": {\n \"minX\": -0.3964321909999995,\n \"maxX\": 0.3964321909999995,\n \"minY\": -0.4921626499999999,\n \"maxY\": 0.40216264999999995,\n \"width\": 0.792864381999999,\n \"height\": 0.5443252999999999,\n \"centerX\": 0,\n \"centerY\": -0.044999999999999984\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/SPDT_switch.json\"\nimport { Primitive } 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_bottom\", x: -0.01 },\n { ...texts.bottom1, anchor: \"middle_top\", x: -0.01 },\n ] as Primitive[],\n ports: [\n { ...refblocks.left1, labels: [\"1\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right1, labels: [\"3\"] }, // TODO add more \"standard\" labels\n { ...refblocks.right2, 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 SPDT_switch_horz from \"./SPDT_switch_horz\"\n\nconst rotatedSymbol = rotateSymbol(SPDT_switch_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")!\n\nconst val = texts.find((t) => t.text === \"{VAL}\")!\n\nval.anchor = \"middle_right\"\nval.x = -0.3\nval.y = 0\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.anchor = \"middle_left\"\nref.x = 0.3\nref.y = 0\n\nexport default rotatedSymbol\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.3622273500000006,\n \"y\": -0.029865150000000895\n },\n {\n \"x\": -0.13579835000000018,\n \"y\": -0.029865150000000895\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.12010005000000046,\n \"y\": -0.02833465000000035\n },\n {\n \"x\": 0.10307834999999987,\n \"y\": -0.16802405000000076\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.12795584999999932,\n \"y\": -0.029865150000000895\n },\n {\n \"x\": 0.3686967499999996,\n \"y\": -0.029865150000000895\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.1864019499999996,\n \"y\": -0.39216264999999995\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.019730250000000504,\n \"y\": 0.40216264999999995\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.37614274999999964,\n \"y\": -0.02901224999999985\n },\n \"left2\": {\n \"x\": -0.12356015000000009,\n \"y\": -0.025075450000000332\n },\n \"right1\": {\n \"x\": 0.37614274999999964,\n \"y\": -0.030008650000000303\n },\n \"right2\": {\n \"x\": 0.11531695000000042,\n \"y\": -0.025075450000000332\n }\n },\n \"bounds\": {\n \"minX\": -0.4043011909999996,\n \"maxX\": 0.4043011909999996,\n \"minY\": -0.4921626499999999,\n \"maxY\": 0.40216264999999995,\n \"width\": 1,\n \"height\": 1,\n \"centerX\": 0,\n \"centerY\": -0.044999999999999984\n },\n \"circles\": {}\n}","import { defineSymbol } from \"drawing/defineSymbol\"\nimport svgJson from \"assets/generated/SPST_switch.json\"\nimport { Primitive } 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_bottom\", x: 0 },\n { ...texts.bottom1, anchor: \"middle_top\", x: 0 },\n ] as Primitive[],\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 SPST_switch_horz from \"./SPST_switch_horz\"\n\nconst rotatedSymbol = rotateSymbol(SPST_switch_horz)\n\nconst texts = rotatedSymbol.primitives.filter((p) => p.type === \"text\")!\n\nconst val = texts.find((t) => t.text === \"{VAL}\")!\n\nval.anchor = \"middle_right\"\nval.x = -0.3\nval.y = 0\n\nconst ref = texts.find((t) => t.text === \"{REF}\")!\n\nref.anchor = \"middle_left\"\nref.x = 0.3\nref.y = 0\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.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\": \"RPM\",\n \"x\": 0,\n \"y\": -0.025\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/tachometer.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.2 },\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 tachometer_horz from \"./tachometer_horz\"\nimport { Primitive } from \"drawing/types\"\n\nconst { 5: letter, ...rest } = tachometer_horz.primitives\n\nfunction isPrimitive(value: any): value is Primitive {\n return typeof value === \"object\"\n}\n\nconst rotatedSymbol = rotateSymbol({\n ...tachometer_horz,\n primitives: Object.values(rest).filter(isPrimitive),\n})\n\nexport default {\n ...rotatedSymbol,\n primitives: [...rotatedSymbol.primitives, letter],\n}\n","{\n \"paths\": {\n \"path11\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.5176700499999997,\n \"y\": -0.03674505000000039\n },\n {\n \"x\": -0.10888805000000024,\n \"y\": -0.03674505000000039\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.1031184499999993,\n \"y\": -0.03674505000000039\n },\n {\n \"x\": 0.5246894499999994,\n \"y\": -0.03674505000000039\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.09343985000000021,\n \"y\": 0.15120634999999893\n },\n {\n \"x\": -0.0930998500000002,\n \"y\": -0.2533405500000008\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.08519034999999908,\n \"y\": 0.15003384999999914\n },\n {\n \"x\": 0.08553034999999909,\n \"y\": -0.2545130500000006\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.08315755000000014,\n \"y\": -0.05093445000000041\n },\n {\n \"x\": -0.08415755000000047,\n \"y\": 0.15178124999999976\n },\n {\n \"x\": 0.08653524999999984,\n \"y\": 0.05604664999999964\n },\n {\n \"x\": -0.08126175000000035,\n \"y\": -0.051477150000000194\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path11-0-9-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.07661224999999927,\n \"y\": -0.25165445000000086\n },\n {\n \"x\": 0.07761224999999983,\n \"y\": -0.04893885000000098\n },\n {\n \"x\": -0.0930805500000007,\n \"y\": -0.1446734500000011\n },\n {\n \"x\": 0.07471644999999949,\n \"y\": -0.2521971500000013\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path12-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.09001085000000009,\n \"y\": 0.06464874999999926\n },\n {\n \"x\": 0.2707999499999998,\n \"y\": 0.17611474999999932\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-2-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.27291134999999955,\n \"y\": 0.18091894999999947\n },\n {\n \"x\": 0.27124034999999935,\n \"y\": 0.30668314999999935\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.17328624999999964,\n \"y\": -0.41183614999999985\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.03022294999999975,\n \"y\": 0.4218361500000001\n }\n },\n \"refblocks\": {\n \"bottom1\": {\n \"x\": 0.27223905000000026,\n \"y\": 0.31379625\n },\n \"left1\": {\n \"x\": -0.54139845,\n \"y\": -0.0358920500000004\n },\n \"right1\": {\n \"x\": 0.5413984499999995,\n \"y\": -0.03688844999999996\n }\n },\n \"bounds\": {\n \"minX\": -0.569556891,\n \"maxX\": 0.5695568909999995,\n \"minY\": -0.5118361499999998,\n \"maxY\": 0.4218361500000001,\n \"width\": 1.1391137819999995,\n \"height\": 0.5836722999999999,\n \"centerX\": -2.220446049250313e-16,\n \"centerY\": -0.04499999999999987\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": -0.0037626500000003116,\n \"y\": -0.04387315000000025,\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.3274461945,\n \"y\": -0.20527883627037657\n },\n {\n \"x\": -0.021085194500000348,\n \"y\": -0.007570136270376837\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2331163055000003,\n \"y\": -0.1251673362703769\n },\n {\n \"x\": 0.2320633055000001,\n \"y\": -0.3759855362703768\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path12-2\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.23221610549999938,\n \"y\": 0.0818845637296235\n },\n {\n \"x\": 0.2311631054999992,\n \"y\": 0.33270276372962315\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.013263894499999873,\n \"y\": 0.1792007637296229\n },\n {\n \"x\": -0.012923894499999866,\n \"y\": -0.2253461362703768\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-3\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.23222970550000066,\n \"y\": -0.12047013627037662\n },\n {\n \"x\": -0.011307094499999115,\n \"y\": -0.11996013627037683\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path11-0-9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": -0.1124341944999998,\n \"y\": -0.131359936270377\n },\n {\n \"x\": -0.16993279449999954,\n \"y\": -0.039004036270377185\n },\n {\n \"x\": -0.05822649449999928,\n \"y\": -0.03212003627037707\n },\n {\n \"x\": -0.11133889449999979,\n \"y\": -0.13104553627037707\n }\n ],\n \"color\": \"primary\",\n \"fill\": true\n },\n \"path11-0-3-8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.23230320549999983,\n \"y\": 0.08329316372962325\n },\n {\n \"x\": -0.011233594499999944,\n \"y\": 0.07900616372962332\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.19541139450000045,\n \"y\": -0.389088136270376\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": -0.031363394499999364,\n \"y\": 0.42359956372962415\n }\n },\n \"refblocks\": {\n \"top1\": {\n \"x\": 0.2317438004035266,\n \"y\": -0.3954411227296242\n },\n \"bottom1\": {\n \"x\": 0.2308431668082036,\n \"y\": 0.35215823360635445\n },\n \"left1\": {\n \"x\": -0.34055979449999985,\n \"y\": -0.21512343627037622\n }\n },\n \"bounds\": {\n \"minX\": -0.3687182354999998,\n \"maxX\": 0.3687182354999999,\n \"minY\": -0.48908813627037595,\n \"maxY\": 0.42359956372962415,\n \"width\": 0.7374364709999996,\n \"height\": 0.5626877000000001,\n \"centerX\": 2.7755575615628914e-17,\n \"centerY\": -0.0327442862703759\n },\n \"circles\": {\n \"path1\": {\n \"type\": \"circle\",\n \"x\": 0.08017610549999987,\n \"y\": -0.006746336270376352,\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.5245830500000004,\n \"y\": 0.00034089999999764586\n },\n {\n \"x\": -0.25999975000000086,\n \"y\": 0.00034089999999764586\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path6\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2691672500000002,\n \"y\": 0.00034089999999764586\n },\n {\n \"x\": 0.5337505499999997,\n \"y\": 0.00034089999999764586\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path7\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.2691672500000002,\n \"y\": 0.23846589999999956\n },\n {\n \"x\": -0.25999974999999953,\n \"y\": -0.2377841000000025\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path8\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.37500025000000026,\n \"y\": 0.23846589999999956\n },\n {\n \"x\": 0.2691672500000002,\n \"y\": 0.23846589999999956\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n },\n \"path9\": {\n \"type\": \"path\",\n \"points\": [\n {\n \"x\": 0.004585150000000482,\n \"y\": -0.13195090000000143\n },\n {\n \"x\": 0.26916815000000094,\n \"y\": -0.13195090000000143\n },\n {\n \"x\": 0.26916815000000094,\n \"y\": 0.1326324999999997\n },\n {\n \"x\": -0.2599988499999988,\n \"y\": 0.1326324999999997\n },\n {\n \"x\": -0.2599988499999988,\n \"y\": -0.13195090000000143\n },\n {\n \"x\": 0.004585150000001814,\n \"y\": -0.13195090000000143\n }\n ],\n \"color\": \"primary\",\n \"fill\": false\n }\n },\n \"texts\": {\n \"top1\": {\n \"type\": \"text\",\n \"text\": \"{REF}\",\n \"x\": -0.05849044999999986,\n \"y\": -0.24666550000000065\n },\n \"bottom1\": {\n \"type\": \"text\",\n \"text\": \"{VAL}\",\n \"x\": 0.008507150000000685,\n \"y\": 0.25666549999999866\n }\n },\n \"refblocks\": {\n \"left1\": {\n \"x\": -0.5392315500000002,\n \"y\": 0.0020305999999994384\n },\n \"right1\": {\n \"x\": 0.5392315500000002,\n \"y\": -0.00033980000000077837\n }\n },\n \"bounds\": {\n \"minX\": -0.5673899910000002,\n \"maxX\": 0.5673899910000002,\n \"minY\": -0.3466655000000006,\n \"maxY\": 0.25666549999999866,\n \"width\": 1.1347799820000004,\n \"height\": 0.2533309999999993,\n \"centerX\": 0,\n \"centerY\": -0.045000000000000984\n },\n \"circles\": {}\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\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,\n \"y\": -0.025\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/varmeter.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.2 },\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 varmeter_horz from \"./varmeter_horz\"\nimport { Primitive } from \"drawing/types\"\n\nconst { 5: letter, ...rest } = varmeter_horz.primitives\n\nfunction isPrimitive(value: any): value is Primitive {\n return typeof value === \"object\"\n}\n\nconst rotatedSymbol = rotateSymbol({\n ...varmeter_horz,\n primitives: Object.values(rest).filter(isPrimitive),\n})\n\nexport default {\n ...rotatedSymbol,\n primitives: [...rotatedSymbol.primitives, letter],\n}\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 \"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\": \"Wh\",\n \"x\": 0,\n \"y\": -0.025\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/watt_hour_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 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.2 },\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 watt_hour_meter_horz from \"./watt_hour_meter_horz\"\nimport { Primitive } from \"drawing/types\"\n\nconst { 5: letter, ...rest } = watt_hour_meter_horz.primitives\n\nfunction isPrimitive(value: any): value is Primitive {\n return typeof value === \"object\"\n}\n\nconst rotatedSymbol = rotateSymbol({\n ...watt_hour_meter_horz,\n primitives: Object.values(rest).filter(isPrimitive),\n})\n\nexport default {\n ...rotatedSymbol,\n primitives: [...rotatedSymbol.primitives, letter],\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 },\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\": \"W\",\n \"x\": 0,\n \"y\": -0.025\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/wattmeter.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 wattmeter_horz from \"./wattmeter_horz\"\nimport { Primitive } from \"drawing/types\"\n\nconst { 5: letter, ...rest } = wattmeter_horz.primitives\n\nfunction isPrimitive(value: any): value is Primitive {\n return typeof value === \"object\"\n}\n\nconst rotatedSymbol = rotateSymbol({\n ...wattmeter_horz,\n primitives: Object.values(rest).filter(isPrimitive),\n})\n\nexport default {\n ...rotatedSymbol,\n primitives: [...rotatedSymbol.primitives, letter],\n}\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 _battery_horz from \"./../symbols/battery_horz\"\nimport _battery_vert from \"./../symbols/battery_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 _darlington_pair_transistor_horz from \"./../symbols/darlington_pair_transistor_horz\"\nimport _darlington_pair_transistor_vert from \"./../symbols/darlington_pair_transistor_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_down from \"./../symbols/diode_down\"\nimport _diode_left from \"./../symbols/diode_left\"\nimport _diode_right from \"./../symbols/diode_right\"\nimport _diode_up from \"./../symbols/diode_up\"\nimport _dpst_switch_horz from \"./../symbols/dpst_switch_horz\"\nimport _dpst_switch_vert from \"./../symbols/dpst_switch_vert\"\nimport _filled_diode_horz from \"./../symbols/filled_diode_horz\"\nimport _filled_diode_vert from \"./../symbols/filled_diode_vert\"\nimport _frequency_meter_horz from \"./../symbols/frequency_meter_horz\"\nimport _frequency_meter_vert from \"./../symbols/frequency_meter_vert\"\nimport _fuse_horz from \"./../symbols/fuse_horz\"\nimport _fuse_vert from \"./../symbols/fuse_vert\"\nimport _ground_horz from \"./../symbols/ground_horz\"\nimport _ground_vert from \"./../symbols/ground_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 _illuminated_push_button_normally_open_horz from \"./../symbols/illuminated_push_button_normally_open_horz\"\nimport _illuminated_push_button_normally_open_vert from \"./../symbols/illuminated_push_button_normally_open_vert\"\nimport _inductor_horz from \"./../symbols/inductor_horz\"\nimport _inductor_vert from \"./../symbols/inductor_vert\"\nimport _laser_diode_horz from \"./../symbols/laser_diode_horz\"\nimport _laser_diode_vert from \"./../symbols/laser_diode_vert\"\nimport _led_down from \"./../symbols/led_down\"\nimport _led_left from \"./../symbols/led_left\"\nimport _led_right from \"./../symbols/led_right\"\nimport _led_up from \"./../symbols/led_up\"\nimport _light_dependent_resistor_horz from \"./../symbols/light_dependent_resistor_horz\"\nimport _light_dependent_resistor_vert from \"./../symbols/light_dependent_resistor_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 _mushroom_head_normally_open_momentary_horz from \"./../symbols/mushroom_head_normally_open_momentary_horz\"\nimport _mushroom_head_normally_open_momentary_vert from \"./../symbols/mushroom_head_normally_open_momentary_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 _n_channel_e_mosfet_transistor_horz from \"./../symbols/n_channel_e_mosfet_transistor_horz\"\nimport _n_channel_e_mosfet_transistor_vert from \"./../symbols/n_channel_e_mosfet_transistor_vert\"\nimport _njfet_transistor_horz from \"./../symbols/njfet_transistor_horz\"\nimport _njfet_transistor_vert from \"./../symbols/njfet_transistor_vert\"\nimport _npn_bipolar_transistor_horz from \"./../symbols/npn_bipolar_transistor_horz\"\nimport _npn_bipolar_transistor_vert from \"./../symbols/npn_bipolar_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 _p_channel_e_mosfet_transistor_horz from \"./../symbols/p_channel_e_mosfet_transistor_horz\"\nimport _p_channel_e_mosfet_transistor_vert from \"./../symbols/p_channel_e_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 _pnp_bipolar_transistor_horz from \"./../symbols/pnp_bipolar_transistor_horz\"\nimport _pnp_bipolar_transistor_vert from \"./../symbols/pnp_bipolar_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 _rectifier_diode_horz from \"./../symbols/rectifier_diode_horz\"\nimport _rectifier_diode_vert from \"./../symbols/rectifier_diode_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 _SPDT_switch_horz from \"./../symbols/SPDT_switch_horz\"\nimport _SPDT_switch_vert from \"./../symbols/SPDT_switch_vert\"\nimport _SPST_switch_horz from \"./../symbols/SPST_switch_horz\"\nimport _SPST_switch_vert from \"./../symbols/SPST_switch_vert\"\nimport _step_recovery_diode_horz from \"./../symbols/step_recovery_diode_horz\"\nimport _step_recovery_diode_vert from \"./../symbols/step_recovery_diode_vert\"\nimport _tachometer_horz from \"./../symbols/tachometer_horz\"\nimport _tachometer_vert from \"./../symbols/tachometer_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 _varmeter_horz from \"./../symbols/varmeter_horz\"\nimport _varmeter_vert from \"./../symbols/varmeter_vert\"\nimport _volt_meter_horz from \"./../symbols/volt_meter_horz\"\nimport _volt_meter_vert from \"./../symbols/volt_meter_vert\"\nimport _watt_hour_meter_horz from \"./../symbols/watt_hour_meter_horz\"\nimport _watt_hour_meter_vert from \"./../symbols/watt_hour_meter_vert\"\nimport _wattmeter_horz from \"./../symbols/wattmeter_horz\"\nimport _wattmeter_vert from \"./../symbols/wattmeter_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 \"battery_horz\": _battery_horz,\n \"battery_vert\": _battery_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 \"darlington_pair_transistor_horz\": _darlington_pair_transistor_horz,\n \"darlington_pair_transistor_vert\": _darlington_pair_transistor_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_down\": _diode_down,\n \"diode_left\": _diode_left,\n \"diode_right\": _diode_right,\n \"diode_up\": _diode_up,\n \"dpst_switch_horz\": _dpst_switch_horz,\n \"dpst_switch_vert\": _dpst_switch_vert,\n \"filled_diode_horz\": _filled_diode_horz,\n \"filled_diode_vert\": _filled_diode_vert,\n \"frequency_meter_horz\": _frequency_meter_horz,\n \"frequency_meter_vert\": _frequency_meter_vert,\n \"fuse_horz\": _fuse_horz,\n \"fuse_vert\": _fuse_vert,\n \"ground_horz\": _ground_horz,\n \"ground_vert\": _ground_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 \"illuminated_push_button_normally_open_horz\": _illuminated_push_button_normally_open_horz,\n \"illuminated_push_button_normally_open_vert\": _illuminated_push_button_normally_open_vert,\n \"inductor_horz\": _inductor_horz,\n \"inductor_vert\": _inductor_vert,\n \"laser_diode_horz\": _laser_diode_horz,\n \"laser_diode_vert\": _laser_diode_vert,\n \"led_down\": _led_down,\n \"led_left\": _led_left,\n \"led_right\": _led_right,\n \"led_up\": _led_up,\n \"light_dependent_resistor_horz\": _light_dependent_resistor_horz,\n \"light_dependent_resistor_vert\": _light_dependent_resistor_vert,\n \"mosfet_depletion_normally_on_horz\": _mosfet_depletion_normally_on_horz,\n \"mosfet_depletion_normally_on_vert\": _mosfet_depletion_normally_on_vert,\n \"mushroom_head_normally_open_momentary_horz\": _mushroom_head_normally_open_momentary_horz,\n \"mushroom_head_normally_open_momentary_vert\": _mushroom_head_normally_open_momentary_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 \"n_channel_e_mosfet_transistor_horz\": _n_channel_e_mosfet_transistor_horz,\n \"n_channel_e_mosfet_transistor_vert\": _n_channel_e_mosfet_transistor_vert,\n \"njfet_transistor_horz\": _njfet_transistor_horz,\n \"njfet_transistor_vert\": _njfet_transistor_vert,\n \"npn_bipolar_transistor_horz\": _npn_bipolar_transistor_horz,\n \"npn_bipolar_transistor_vert\": _npn_bipolar_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 \"p_channel_e_mosfet_transistor_horz\": _p_channel_e_mosfet_transistor_horz,\n \"p_channel_e_mosfet_transistor_vert\": _p_channel_e_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 \"pnp_bipolar_transistor_horz\": _pnp_bipolar_transistor_horz,\n \"pnp_bipolar_transistor_vert\": _pnp_bipolar_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 \"rectifier_diode_horz\": _rectifier_diode_horz,\n \"rectifier_diode_vert\": _rectifier_diode_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 \"SPDT_switch_horz\": _SPDT_switch_horz,\n \"SPDT_switch_vert\": _SPDT_switch_vert,\n \"SPST_switch_horz\": _SPST_switch_horz,\n \"SPST_switch_vert\": _SPST_switch_vert,\n \"step_recovery_diode_horz\": _step_recovery_diode_horz,\n \"step_recovery_diode_vert\": _step_recovery_diode_vert,\n \"tachometer_horz\": _tachometer_horz,\n \"tachometer_vert\": _tachometer_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 \"varmeter_horz\": _varmeter_horz,\n \"varmeter_vert\": _varmeter_vert,\n \"volt_meter_horz\": _volt_meter_horz,\n \"volt_meter_vert\": _volt_meter_vert,\n \"watt_hour_meter_horz\": _watt_hour_meter_horz,\n \"watt_hour_meter_vert\": _watt_hour_meter_vert,\n \"wattmeter_horz\": _wattmeter_horz,\n \"wattmeter_vert\": _wattmeter_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;A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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","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","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","circles","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","val","ref","paths","texts","bounds","refblocks","circles","paths","texts","bounds","refblocks","circles","letter","rest","isPrimitive","rotatedSymbol","paths","texts","bounds","refblocks","paths","circles","bounds","refblocks","paths","circles","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","val","ref","paths","texts","bounds","refblocks","circles","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","ref","paths","texts","bounds","refblocks","circles","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","val","ref","paths","texts","bounds","refblocks","rotated","ref","val","paths","texts","bounds","refblocks","circles","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","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","circles","rotatedSymbol","texts","ref","paths","texts","bounds","refblocks","rotated","paths","texts","bounds","refblocks","rotated","texts","val","ref","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","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","rotatedSymbol","texts","val","ref","paths","texts","bounds","refblocks","circles","rotatedSymbol","texts","val","ref","paths","texts","bounds","refblocks","circles","paths","texts","bounds","refblocks","circles","letter","rest","isPrimitive","rotatedSymbol","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","refblocks","circles","letter","rest","isPrimitive","rotatedSymbol","paths","texts","bounds","circles","refblocks","paths","texts","bounds","refblocks","circles","letter","rest","isPrimitive","rotatedSymbol","paths","texts","bounds","refblocks","circles","letter","rest","isPrimitive","rotatedSymbol","paths","texts","bounds","refblocks","circles","rotated","ref","val"]}