@tscircuit/schematic-trace-solver 0.0.148 → 0.0.150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/schematic-trace-visualization/SKILL.md +7 -2
- package/dist/index.d.ts +31 -2
- package/dist/index.js +127 -46
- package/lib/solvers/InlineNetLabelSolver/InlineNetLabelSolver.ts +115 -6
- package/lib/solvers/NetLabelPlacementSolver/NetLabelPlacementSolver.ts +17 -1
- package/lib/solvers/NetLabelPlacementSolver/SingleNetLabelPlacementSolver/SingleNetLabelPlacementSolver.ts +2 -0
- package/lib/solvers/NetLabelPlacementSolver/SingleNetLabelPlacementSolver/solvePortOnlyPin.ts +2 -0
- package/lib/types/InputProblem.ts +27 -1
- package/package.json +8 -1
- package/site/examples/example51.page.tsx +4 -0
- package/tests/assets/example51.json +5102 -0
- package/tests/bug-reports/bug-report-20260706T213649Z/__snapshots__/bug-report-20260706T213649Z.snap.svg +751 -5
- package/tests/bug-reports/bug-report-20260706T220324Z/__snapshots__/bug-report-20260706T220324Z.snap.svg +660 -5
- package/tests/bug-reports/bug-report-20260707T020342Z/__snapshots__/bug-report-20260707T020342Z.snap.svg +44 -5
- package/tests/bug-reports/bug-report-20260707T092615Z/__snapshots__/bug-report-20260707T092615Z.snap.svg +394 -5
- package/tests/bug-reports/bug-report-20260707T134549Z/__snapshots__/bug-report-20260707T134549Z.snap.svg +170 -5
- package/tests/bug-reports/bug-report-20260707T134722Z/__snapshots__/bug-report-20260707T134722Z.snap.svg +79 -5
- package/tests/bug-reports/bug-report-20260707T140410Z/__snapshots__/bug-report-20260707T140410Z.snap.svg +219 -5
- package/tests/bug-reports/bug-report-20260707T141025Z/__snapshots__/bug-report-20260707T141025Z.snap.svg +65 -5
- package/tests/bug-reports/bug-report-20260707T141421Z/__snapshots__/bug-report-20260707T141421Z.snap.svg +142 -5
- package/tests/bug-reports/bug-report-20260707T230831Z/__snapshots__/bug-report-20260707T230831Z.snap.svg +100 -5
- package/tests/bug-reports/bug-report-20260708T053736Z/__snapshots__/bug-report-20260708T053736Z.snap.svg +23 -5
- package/tests/bug-reports/bug-report-20260708T055430Z/__snapshots__/bug-report-20260708T055430Z.snap.svg +58 -5
- package/tests/bug-reports/bug-report-20260708T095725Z/__snapshots__/bug-report-20260708T095725Z.snap.svg +86 -5
- package/tests/bug-reports/bug-report-20260716T144856Z/__snapshots__/bug-report-20260716T144856Z.snap.svg +226 -5
- package/tests/bug-reports/bug-report-20260717T022934Z/__snapshots__/bug-report-20260717T022934Z.snap.svg +191 -5
- package/tests/bug-reports/bug-report-20260717T031704Z/__snapshots__/bug-report-20260717T031704Z.snap.svg +30 -5
- package/tests/bug-reports/bug-report-20260717T042845Z/__snapshots__/bug-report-20260717T042845Z.snap.svg +37 -5
- package/tests/bug-reports/bug-report-20260721T221026Z/__snapshots__/bug-report-20260721T221026Z.snap.svg +580 -2
- package/tests/bug-reports/bug-report-20260724T175257Z/__snapshots__/bug-report-20260724T175257Z.snap.svg +44 -5
- package/tests/bug-reports/bug-report-20260728T144234Z/__snapshots__/bug-report-20260728T144234Z.snap.svg +107 -5
- package/tests/bug-reports/bug-report-20260728T225606Z/__snapshots__/bug-report-20260728T225606Z.snap.svg +114 -5
- package/tests/bug-reports/bug-report-20260730T061837Z/__snapshots__/bug-report-20260730T061837Z.snap.svg +121 -5
- package/tests/bug-reports/bug-report-20260731T052229Z/__snapshots__/bug-report-20260731T052229Z.snap.svg +51 -5
- package/tests/bug-reports/bug-report-20260804T095800Z/__snapshots__/bug-report-20260804T095800Z.snap.svg +212 -5
- package/tests/bug-reports/bug-report-20260804T171919Z/__snapshots__/bug-report-20260804T171919Z.snap.svg +569 -5
- package/tests/bug-reports/bug-report-20260804T225912Z/__snapshots__/bug-report-20260804T225912Z.snap.svg +37 -5
- package/tests/bug-reports/bug-report-20260805T061316Z/__snapshots__/bug-report-20260805T061316Z.snap.svg +289 -5
- package/tests/bug-reports/bug-report-20260806T061548Z/__snapshots__/bug-report-20260806T061548Z.snap.svg +289 -5
- package/tests/bug-reports/bug-report-20260806T093501Z/__snapshots__/bug-report-20260806T093501Z.snap.svg +149 -5
- package/tests/bug-reports/bug-report-20260811T075142Z/__snapshots__/bug-report-20260811T075142Z.snap.svg +93 -5
- package/tests/bug-reports/bug-report-20260815T073240Z/__snapshots__/bug-report-20260815T073240Z.snap.svg +79 -5
- package/tests/bug-reports/bug-report-20260819T091818Z/__snapshots__/bug-report-20260819T091818Z.snap.svg +244 -2
- package/tests/examples/__snapshots__/example01.snap.svg +44 -5
- package/tests/examples/__snapshots__/example02.snap.svg +51 -5
- package/tests/examples/__snapshots__/example03.snap.svg +86 -5
- package/tests/examples/__snapshots__/example04.snap.svg +30 -5
- package/tests/examples/__snapshots__/example05.snap.svg +30 -5
- package/tests/examples/__snapshots__/example06.snap.svg +30 -5
- package/tests/examples/__snapshots__/example07.snap.svg +58 -5
- package/tests/examples/__snapshots__/example08.snap.svg +37 -5
- package/tests/examples/__snapshots__/example09.snap.svg +149 -5
- package/tests/examples/__snapshots__/example10.snap.svg +65 -5
- package/tests/examples/__snapshots__/example11.snap.svg +51 -5
- package/tests/examples/__snapshots__/example12.snap.svg +51 -5
- package/tests/examples/__snapshots__/example13.snap.svg +72 -5
- package/tests/examples/__snapshots__/example14.snap.svg +79 -5
- package/tests/examples/__snapshots__/example15.snap.svg +86 -5
- package/tests/examples/__snapshots__/example16.snap.svg +51 -5
- package/tests/examples/__snapshots__/example17.snap.svg +51 -5
- package/tests/examples/__snapshots__/example18.snap.svg +58 -5
- package/tests/examples/__snapshots__/example19.snap.svg +44 -5
- package/tests/examples/__snapshots__/example20.snap.svg +44 -5
- package/tests/examples/__snapshots__/example21.snap.svg +72 -5
- package/tests/examples/__snapshots__/example22.snap.svg +51 -5
- package/tests/examples/__snapshots__/example23.snap.svg +51 -5
- package/tests/examples/__snapshots__/example24.snap.svg +51 -5
- package/tests/examples/__snapshots__/example25.snap.svg +86 -5
- package/tests/examples/__snapshots__/example26.snap.svg +51 -5
- package/tests/examples/__snapshots__/example27.snap.svg +72 -5
- package/tests/examples/__snapshots__/example28.snap.svg +44 -5
- package/tests/examples/__snapshots__/example29.snap.svg +324 -5
- package/tests/examples/__snapshots__/example30.snap.svg +107 -5
- package/tests/examples/__snapshots__/example31.snap.svg +37 -5
- package/tests/examples/__snapshots__/example32.snap.svg +149 -5
- package/tests/examples/__snapshots__/example33.snap.svg +93 -5
- package/tests/examples/__snapshots__/example34.snap.svg +51 -5
- package/tests/examples/__snapshots__/example35.snap.svg +58 -5
- package/tests/examples/__snapshots__/example36.snap.svg +44 -5
- package/tests/examples/__snapshots__/example37.snap.svg +72 -5
- package/tests/examples/__snapshots__/example38.snap.svg +30 -5
- package/tests/examples/__snapshots__/example39.snap.svg +37 -5
- package/tests/examples/__snapshots__/example40.snap.svg +100 -5
- package/tests/examples/__snapshots__/example41.snap.svg +44 -5
- package/tests/examples/__snapshots__/example42.snap.svg +65 -5
- package/tests/examples/__snapshots__/example43.snap.svg +58 -5
- package/tests/examples/__snapshots__/example44.snap.svg +107 -5
- package/tests/examples/__snapshots__/example45.snap.svg +51 -5
- package/tests/examples/__snapshots__/example46.snap.svg +93 -5
- package/tests/examples/__snapshots__/example47.snap.svg +93 -5
- package/tests/examples/__snapshots__/example48.snap.svg +65 -5
- package/tests/examples/__snapshots__/example49.snap.svg +177 -5
- package/tests/examples/__snapshots__/example50.snap.svg +93 -5
- package/tests/examples/__snapshots__/example51.snap.svg +952 -0
- package/tests/examples/example51.test.ts +12 -0
- package/tests/fixtures/convertSolverOutputToCircuitJson.test.ts +219 -0
- package/tests/fixtures/convertSolverOutputToCircuitJson.ts +1058 -0
- package/tests/fixtures/matcher.ts +45 -8
- package/tests/repros/__snapshots__/board-1273-trace-overlap-cycle.snap.svg +762 -2
- package/tests/repros/__snapshots__/board-15984-same-net-junction.snap.svg +111 -2
- package/tests/repros/__snapshots__/board1096-usb-label-overlap-iteration.snap.svg +167 -2
- package/tests/repros/__snapshots__/bugreport-001-gnd-overlap.snap.svg +65 -5
- package/tests/repros/__snapshots__/manufacturePartNumber-text-box.snap.svg +30 -5
- package/tests/repros/__snapshots__/netlabel-connector-through-rail-label.snap.svg +79 -5
- package/tests/repros/__snapshots__/repro-atmega328p-fault-pullup.snap.svg +65 -5
- package/tests/repros/__snapshots__/repro-atmega328p-missing-gnd-netlabel.snap.svg +149 -5
- package/tests/repros/__snapshots__/repro-board-589-regulator-section.snap.svg +55 -2
- package/tests/repros/__snapshots__/repro-board-648-esp12f-section.snap.svg +160 -2
- package/tests/repros/__snapshots__/repro-bq24074-battery-charger.snap.svg +135 -5
- package/tests/repros/__snapshots__/repro-bq25895-cross-net-trace-overlap.snap.svg +69 -2
- package/tests/repros/__snapshots__/repro-cc2340r5.snap.svg +86 -5
- package/tests/repros/__snapshots__/repro-core-555-power-cross-net-overlap.snap.svg +44 -5
- package/tests/repros/__snapshots__/repro-core-subcircuit-missing-ground.snap.svg +44 -5
- package/tests/repros/__snapshots__/repro-core-tb67s579ftg-inline-label-routing.snap.svg +260 -0
- package/tests/repros/__snapshots__/repro-example35-minimize-trace-crossing.snap.svg +335 -2
- package/tests/repros/__snapshots__/repro-ground-label-on-lower-rail-end.snap.svg +48 -2
- package/tests/repros/__snapshots__/repro-ina237-current-monitor.snap.svg +149 -5
- package/tests/repros/__snapshots__/repro-missing-trace-netlabel.snap.svg +72 -5
- package/tests/repros/__snapshots__/repro-netlabel-collision-687.snap.svg +100 -5
- package/tests/repros/__snapshots__/repro-netlabel-overlap-trace.snap.svg +51 -5
- package/tests/repros/__snapshots__/repro-nrf52810-clock-routing.snap.svg +90 -2
- package/tests/repros/__snapshots__/repro-power-group-rail-labels.snap.svg +37 -5
- package/tests/repros/__snapshots__/repro-rectifier-trace-overlap.snap.svg +44 -5
- package/tests/repros/__snapshots__/repro-rp2040-gamepad-trace-alignment.snap.svg +237 -2
- package/tests/repros/__snapshots__/repro-rp2040-usb-cc2-ground-overlap.snap.svg +72 -5
- package/tests/repros/__snapshots__/repro-rp2040-v3v3-label-placement.snap.svg +51 -5
- package/tests/repros/__snapshots__/repro-rp2040-zero-crystal-fallback-netlabels.snap.svg +30 -5
- package/tests/repros/__snapshots__/repro-ti-power-output-section.snap.svg +79 -5
- package/tests/repros/__snapshots__/repro-tida010076-j4-ground-bus.snap.svg +27 -2
- package/tests/repros/__snapshots__/repro-tida010076-page02.snap.svg +1150 -5
- package/tests/repros/__snapshots__/repro-tps61222-trace-intersection.snap.svg +51 -5
- package/tests/repros/__snapshots__/repro-type-c-16pin-self-connection.snap.svg +30 -5
- package/tests/repros/__snapshots__/repro-type-c-16pin-to-resistor.snap.svg +30 -5
- package/tests/repros/__snapshots__/repro-type-c-vbus-led-ground-label.snap.svg +44 -5
- package/tests/repros/__snapshots__/repro-usb-power-vbus-label-detour.snap.svg +685 -2
- package/tests/repros/__snapshots__/repro-vcc-pin1-detour.snap.svg +27 -2
- package/tests/repros/__snapshots__/repro129-host-custom-symbol-passives.snap.svg +51 -5
- package/tests/repros/__snapshots__/repro130-bq27441-fuel-gauge-trace-through-c1.snap.svg +100 -5
- package/tests/repros/__snapshots__/repro161-power-section-autolayout.snap.svg +107 -5
- package/tests/repros/__snapshots__/repro47-endpoint-obstacle-detour.snap.svg +51 -5
- package/tests/repros/__snapshots__/repro48-555-timer-vcc-rail-label.snap.svg +104 -2
- package/tests/repros/__snapshots__/repro5-escape-padded-text-obstacles.snap.svg +30 -5
- package/tests/repros/__snapshots__/repro51-overlap-junction-crossing.snap.svg +65 -5
- package/tests/repros/__snapshots__/repro84-stacked-gnd-label-orientation.snap.svg +27 -2
- package/tests/repros/__snapshots__/small-variant-resistor-facing-direction.snap.svg +58 -5
- package/tests/repros/__snapshots__/trace-overlap-box-resistor.snap.svg +37 -5
- package/tests/repros/assets/repro-core-tb67s579ftg-inline-label-routing.input.json +900 -0
- package/tests/repros/repro-core-tb67s579ftg-inline-label-routing.test.ts +40 -0
- package/tests/solvers/InlineNetLabelSolver/__snapshots__/fallback-net-label-width.snap.svg +25 -7
- package/tests/solvers/InlineNetLabelSolver/__snapshots__/inline-net-label-anchored-label-clearance.snap.svg +34 -2
- package/tests/solvers/InlineNetLabelSolver/__snapshots__/inline-net-label-port-stub.snap.svg +23 -5
- package/tests/solvers/InlineNetLabelSolver/__snapshots__/inline-net-label-two-pin-net.snap.svg +23 -5
- package/tests/solvers/InlineNetLabelSolver/__snapshots__/inline-net-label01.snap.svg +23 -5
- package/tests/solvers/InlineNetLabelSolver/__snapshots__/inline-net-label02.snap.svg +23 -5
- package/tests/solvers/InlineNetLabelSolver/__snapshots__/terminal-stub-trace-clearance.snap.svg +71 -0
- package/tests/solvers/InlineNetLabelSolver/fallback-net-label-width.test.ts +10 -1
- package/tests/solvers/InlineNetLabelSolver/terminal-stub-trace-clearance.test.ts +102 -0
- package/tests/solvers/SchematicTraceSingleLineSolver2/__snapshots__/SchematicTraceSingleLineSolver2_01-example17-d1_1-u1_1.snap.svg +23 -5
- package/tests/solvers/SchematicTraceSingleLineSolver2/__snapshots__/SchematicTraceSingleLineSolver2_repro47-short-opposing-pins.snap.svg +20 -2
- package/tests/solvers/TraceCleanupSolver/__snapshots__/TraceCleanupSolver.snap.svg +44 -5
- package/tests/solvers/TraceLabelOverlapAvoidanceSolver/__snapshots__/TraceLabelOverlapAvoidanceSolver.snap.svg +79 -5
- package/tests/solvers/TraceLabelOverlapAvoidanceSolver/sub-solver/__snapshots__/MergedNetLabelObstacles.snap.svg +44 -5
- package/tests/solvers/TraceLabelOverlapAvoidanceSolver/sub-solver/__snapshots__/OverlapAvoidanceStepSolver.snap.svg +23 -5
- package/tests/solvers/TraceLabelOverlapAvoidanceSolver/sub-solver/__snapshots__/SingleOverlapSolver.snap.svg +30 -5
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
<svg width="
|
|
1
|
+
<svg width="2416" height="1200" viewBox="0 0 2416 1200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Solver debug visualization on the left and Circuit JSON schematic on the right">
|
|
2
|
+
<g transform="translate(0, 0) scale(1.875, 1.875) translate(0, 0)">
|
|
3
|
+
<rect width="100%" height="100%" fill="white"/><g><polyline data-points="0.4,1.5 2.5,1.5" data-type="line" data-label="" points="339.77220956719816,237.08428246013665 473.71298405466973,237.08428246013665" fill="none" stroke="hsl(238, 100%, 50%, 0.8)" stroke-width="1px"/></g><g><polyline data-points="-1.7,1.65 -1.7,1.3499999999999999" data-type="line" data-label="" points="205.83143507972665,227.51708428246013 205.83143507972665,246.65148063781322" fill="none" stroke="hsl(170, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-1.7,1.65 -0.4,1.5" data-type="line" data-label="" points="205.83143507972665,227.51708428246013 288.74715261959,237.08428246013665" fill="none" stroke="hsl(170, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-1.7,1.3499999999999999 -0.4,1.5" data-type="line" data-label="" points="205.83143507972665,246.65148063781322 288.74715261959,237.08428246013665" fill="none" stroke="hsl(170, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-1.7,-1.35 -1.7,-1.65" data-type="line" data-label="" points="205.83143507972665,418.8610478359909 205.83143507972665,437.99544419134395" fill="none" stroke="hsl(124, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-1.7,-1.35 3.5,1.5" data-type="line" data-label="" points="205.83143507972665,418.8610478359909 537.49430523918,237.08428246013665" fill="none" stroke="hsl(124, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="-1.7,-1.65 3.5,1.5" data-type="line" data-label="" points="205.83143507972665,437.99544419134395 537.49430523918,237.08428246013665" fill="none" stroke="hsl(124, 100%, 50%, 0.8)" stroke-width="1px" stroke-dasharray="4 2"/></g><g><polyline data-points="0.4,1.5 2.5,1.5" data-type="line" data-label="" points="339.77220956719816,237.08428246013665 473.71298405466973,237.08428246013665" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="-1.7,1.3499999999999999 -1.5,1.3499999999999999 -1.5,1.65 -1.7,1.65" data-type="line" data-label="" points="205.83143507972665,246.65148063781322 218.5876993166287,246.65148063781322 218.5876993166287,227.51708428246013 205.83143507972665,227.51708428246013" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="-1.7,-1.65 -1.5,-1.65 -1.5,-1.35 -1.7,-1.35" data-type="line" data-label="" points="205.83143507972665,437.99544419134395 218.5876993166287,437.99544419134395 218.5876993166287,418.8610478359909 205.83143507972665,418.8610478359909" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="3.5,1.5 3.7,1.5 3.7,-1.35 -1.5,-1.35" data-type="line" data-label="" points="537.49430523918,237.08428246013665 550.2505694760821,237.08428246013665 550.2505694760821,418.8610478359909 218.5876993166287,418.8610478359909" fill="none" stroke="purple" stroke-width="1px"/></g><g><polyline data-points="-0.4,1.5 -1.5,1.5" data-type="line" data-label="" points="288.74715261959,237.08428246013665 218.5876993166287,237.08428246013665" fill="none" stroke="purple" stroke-width="1px"/></g><g><rect data-type="rect" data-label="J1" data-x="-3" data-y="0" x="40" y="205.19362186788152" width="165.83143507972665" height="255.12528473804105" fill="hsl(183, 100%, 50%, 0.8)" stroke="black" stroke-width="0.015678571428571427"/></g><g><rect data-type="rect" data-label="R1" data-x="0" data-y="1.5" x="288.74715261959" y="221.13895216400908" width="51.025056947608164" height="31.89066059225513" fill="hsl(71, 100%, 50%, 0.8)" stroke="black" stroke-width="0.015678571428571427"/></g><g><rect data-type="rect" data-label="D1" data-x="3" data-y="1.5" x="473.71298405466973" y="211.57175398633254" width="63.78132118451026" height="51.02505694760822" fill="hsl(357, 100%, 50%, 0.8)" stroke="black" stroke-width="0.015678571428571427"/></g><g><rect data-type="rect" data-label="J1 TYPE-C-31-M-12" data-x="-3" data-y="2.3" x="71.89066059225513" y="179.68109339407744" width="102.05011389521638" height="12.75626423690207" fill="rgba(160, 0, 220, 0.14)" stroke="black" stroke-width="0.015678571428571427"/></g><g><rect data-type="rect" data-label="R1 1kΩ" data-x="0" data-y="1.95" x="301.50341685649204" y="202.004555808656" width="25.512528473804082" height="12.75626423690207" fill="rgba(160, 0, 220, 0.14)" stroke="black" stroke-width="0.015678571428571427"/></g><g><rect data-type="rect" data-label="D1 white" data-x="3" data-y="2.15" x="489.6583143507973" y="189.24829157175398" width="31.89066059225513" height="12.756264236902041" fill="rgba(160, 0, 220, 0.14)" stroke="black" stroke-width="0.015678571428571427"/></g><g><rect data-type="rect" data-label="netId: VBUS
|
|
2
4
|
globalConnNetId: connectivity_net1" data-x="-0.95" data-y="1.74" x="238.3599088838269" y="206.46924829157177" width="30.615034168564904" height="30.615034168564904" fill="#ef444466" stroke="#ef4444" stroke-width="0.015678571428571427"/></g><g><rect data-type="rect" data-label="netId: J1_GND1
|
|
3
5
|
globalConnNetId: connectivity_net2" data-x="4.09" data-y="1.5" x="550.2505694760821" y="221.7767653758542" width="49.74943052391802" height="30.615034168564904" fill="#00000066" stroke="#000000" stroke-width="0.015678571428571427"/></g><g><rect data-type="rect" data-label="netId: VBUS_LED
|
|
4
6
|
globalConnNetId: connectivity_net0" data-x="1.45" data-y="1.725" x="400.3644646924829" y="208.38268792710704" width="12.756264236902098" height="28.701594533029606" fill="hsl(40, 100%, 50%, 0.35)" stroke="black" stroke-width="0.015678571428571427"/></g><g><circle data-type="point" data-label="J1.VBUS1
|
|
@@ -30,7 +32,7 @@ orientation: y+" data-x="1.45" data-y="1.5" cx="406.74259681093395" cy="237.0842
|
|
|
30
32
|
const h = svg.getElementById('crosshair-h');
|
|
31
33
|
const v = svg.getElementById('crosshair-v');
|
|
32
34
|
const coords = svg.getElementById('coordinates');
|
|
33
|
-
|
|
35
|
+
|
|
34
36
|
crosshair.style.display = 'block';
|
|
35
37
|
h.setAttribute('x1', '0');
|
|
36
38
|
h.setAttribute('x2', '640');
|
|
@@ -49,13 +51,13 @@ orientation: y+" data-x="1.45" data-y="1.5" cx="406.74259681093395" cy="237.0842
|
|
|
49
51
|
// y' = (y - ty) / sy
|
|
50
52
|
const sx = matrix.a;
|
|
51
53
|
const sy = matrix.d;
|
|
52
|
-
const tx = matrix.e;
|
|
54
|
+
const tx = matrix.e;
|
|
53
55
|
const ty = matrix.f;
|
|
54
56
|
const realPoint = {
|
|
55
57
|
x: (x - tx) / sx,
|
|
56
58
|
y: (y - ty) / sy // Flip y back since we used negative scale
|
|
57
59
|
}
|
|
58
|
-
|
|
60
|
+
|
|
59
61
|
coords.textContent = `(${realPoint.x.toFixed(2)}, ${realPoint.y.toFixed(2)})`;
|
|
60
62
|
coords.setAttribute('x', (x + 5).toString());
|
|
61
63
|
coords.setAttribute('y', (y - 5).toString());
|
|
@@ -63,4 +65,41 @@ orientation: y+" data-x="1.45" data-y="1.5" cx="406.74259681093395" cy="237.0842
|
|
|
63
65
|
document.currentScript.parentElement.addEventListener('mouseleave', () => {
|
|
64
66
|
document.currentScript.parentElement.getElementById('crosshair').style.display = 'none';
|
|
65
67
|
});
|
|
66
|
-
]]></script
|
|
68
|
+
]]></script>
|
|
69
|
+
</g>
|
|
70
|
+
<g transform="translate(1216, 200)">
|
|
71
|
+
<style>
|
|
72
|
+
.boundary { fill: rgb(245, 241, 237); }
|
|
73
|
+
.schematic-boundary { fill: none; stroke: #fff; }
|
|
74
|
+
.component { fill: none; stroke: rgb(132, 0, 0); }
|
|
75
|
+
.chip { fill: rgb(255, 255, 194); stroke: rgb(132, 0, 0); }
|
|
76
|
+
.component-pin { fill: none; stroke: rgb(132, 0, 0); }
|
|
77
|
+
.text { font-family: sans-serif; fill: rgb(0, 150, 0); }
|
|
78
|
+
.pin-number { fill: rgb(169, 0, 0); }
|
|
79
|
+
.port-label { fill: rgb(0, 100, 100); }
|
|
80
|
+
.component-name { fill: rgb(0, 100, 100); }
|
|
81
|
+
|
|
82
|
+
</style><rect class="boundary" x="0" y="0" width="1200" height="800"/><g class="trace sch-trace" data-layer="base" data-circuit-json-type="schematic_trace" data-schematic-trace-id="schematic_trace_0__stack1"><path d="M 652.94942881962 243.67693232679997 L 905.4713073687001 243.67693232679997" class="trace-invisible-hover-outline sch-trace-hitbox" stroke="rgb(0, 150, 0)" fill="none" stroke-width="19.239762175168px" stroke-linecap="round" opacity="0" stroke-linejoin="round"/><path class="sch-trace-path" d="M 652.94942881962 243.67693232679997 L 905.4713073687001 243.67693232679997" stroke="rgb(0, 150, 0)" fill="none" stroke-width="2.404970271896px" stroke-linecap="round" stroke-linejoin="round"/></g><g class="trace sch-trace" data-layer="base" data-circuit-json-type="schematic_trace" data-schematic-trace-id="schematic_trace_1__stack1"><path d="M 400.42755027054 261.71420936602 L 424.4772529895 261.71420936602 L 424.4772529895 225.63965528757998 L 400.42755027054 225.63965528757998" class="trace-invisible-hover-outline sch-trace-hitbox" stroke="rgb(0, 150, 0)" fill="none" stroke-width="19.239762175168px" stroke-linecap="round" opacity="0" stroke-linejoin="round"/><path class="sch-trace-path" d="M 400.42755027054 261.71420936602 L 424.4772529895 261.71420936602 L 424.4772529895 225.63965528757998 L 400.42755027054 225.63965528757998" stroke="rgb(0, 150, 0)" fill="none" stroke-width="2.404970271896px" stroke-linecap="round" stroke-linejoin="round"/></g><g class="trace sch-trace" data-layer="base" data-circuit-json-type="schematic_trace" data-schematic-trace-id="schematic_trace_2__stack1"><path d="M 400.42755027054 622.45975015042 L 424.4772529895 622.45975015042 L 424.4772529895 586.38519607198 L 400.42755027054 586.38519607198" class="trace-invisible-hover-outline sch-trace-hitbox" stroke="rgb(0, 150, 0)" fill="none" stroke-width="19.239762175168px" stroke-linecap="round" opacity="0" stroke-linejoin="round"/><path class="sch-trace-path" d="M 400.42755027054 622.45975015042 L 424.4772529895 622.45975015042 L 424.4772529895 586.38519607198 L 400.42755027054 586.38519607198" stroke="rgb(0, 150, 0)" fill="none" stroke-width="2.404970271896px" stroke-linecap="round" stroke-linejoin="round"/></g><g class="trace sch-trace" data-layer="base" data-circuit-json-type="schematic_trace" data-schematic-trace-id="schematic_trace_3__stack1"><path d="M 1025.7198209635 243.67693232679997 L 1049.76952368246 243.67693232679997 L 1049.76952368246 586.38519607198 L 424.4772529895 586.38519607198" class="trace-invisible-hover-outline sch-trace-hitbox" stroke="rgb(0, 150, 0)" fill="none" stroke-width="19.239762175168px" stroke-linecap="round" opacity="0" stroke-linejoin="round"/><path class="sch-trace-path" d="M 1025.7198209635 243.67693232679997 L 1049.76952368246 243.67693232679997 L 1049.76952368246 586.38519607198 L 424.4772529895 586.38519607198" stroke="rgb(0, 150, 0)" fill="none" stroke-width="2.404970271896px" stroke-linecap="round" stroke-linejoin="round"/></g><g class="trace sch-trace" data-layer="base" data-circuit-json-type="schematic_trace" data-schematic-trace-id="schematic_trace_4__stack1"><path d="M 556.75061794378 243.67693232679997 L 424.4772529895 243.67693232679997" class="trace-invisible-hover-outline sch-trace-hitbox" stroke="rgb(0, 150, 0)" fill="none" stroke-width="19.239762175168px" stroke-linecap="round" opacity="0" stroke-linejoin="round"/><path class="sch-trace-path" d="M 556.75061794378 243.67693232679997 L 424.4772529895 243.67693232679997" stroke="rgb(0, 150, 0)" fill="none" stroke-width="2.404970271896px" stroke-linecap="round" stroke-linejoin="round"/></g><g class="trace-overlays sch-trace-overlays" data-layer="overlay" data-circuit-json-type="schematic_trace" data-schematic-trace-id="schematic_trace_0__stack1"/><g class="trace-overlays sch-trace-overlays" data-layer="overlay" data-circuit-json-type="schematic_trace" data-schematic-trace-id="schematic_trace_1__stack1"/><g class="trace-overlays sch-trace-overlays" data-layer="overlay" data-circuit-json-type="schematic_trace" data-schematic-trace-id="schematic_trace_2__stack1"><circle cx="424.4772529895" cy="586.38519607198" r="3.6074554078439998" class="trace-junction sch-trace-junction" fill="rgb(0, 150, 0)"/></g><g class="trace-overlays sch-trace-overlays" data-layer="overlay" data-circuit-json-type="schematic_trace" data-schematic-trace-id="schematic_trace_3__stack1"/><g class="trace-overlays sch-trace-overlays" data-layer="overlay" data-circuit-json-type="schematic_trace" data-schematic-trace-id="schematic_trace_4__stack1"/><g class="sch-component" data-circuit-json-type="schematic_component" data-schematic-component-id="schematic_component_0__stack1"><rect class="component chip sch-component-body" x="135.88082036198" y="183.55267552939998" width="216.44732447063996" height="480.99405437920007" stroke-width="2.404970271896px" fill="rgb(255, 255, 194)" stroke="rgb(132, 0, 0)"/><rect class="component-overlay sch-component-overlay" x="135.88082036198" y="183.55267552939998" width="216.44732447063996" height="480.99405437920007" fill="transparent"/><text class="sch-text" x="244.10448259729998" y="424.049702719" fill="#0f172a" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="21.644732447064px" transform="rotate(0, 244.10448259729998, 424.049702719)">J1</text><line class="component-pin sch-component-pin sch-port-line" x1="352.32814483261996" y1="225.63965528757998" x2="400.42755027054" y2="225.63965528757998" stroke-width="2.404970271896px"/><g class="sch-port" data-schematic-port-id="source_port_0_0__stack1"><rect x="398.022579998644" y="223.234685015684" width="4.809940543792" height="4.809940543792" opacity="0"/></g><text class="pin-number sch-pin-number" x="376.37784755158" y="223.234685015684" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="middle" dominant-baseline="auto" font-size="18.03727703922px" transform=""></text><text class="pin-number sch-pin-label" x="340.30329347313995" y="225.63965528757998" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="end" dominant-baseline="middle" font-size="18.03727703922px" transform="">VBUS1</text><line class="component-pin sch-component-pin sch-port-line" x1="352.32814483261996" y1="261.71420936602" x2="400.42755027054" y2="261.71420936602" stroke-width="2.404970271896px"/><g class="sch-port" data-schematic-port-id="source_port_0_1__stack1"><rect x="398.022579998644" y="259.309239094124" width="4.809940543792" height="4.809940543792" opacity="0"/></g><text class="pin-number sch-pin-number" x="376.37784755158" y="259.309239094124" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="middle" dominant-baseline="auto" font-size="18.03727703922px" transform=""></text><text class="pin-number sch-pin-label" x="340.30329347313995" y="261.71420936602" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="end" dominant-baseline="middle" font-size="18.03727703922px" transform="">VBUS2</text><line class="component-pin sch-component-pin sch-port-line" x1="352.32814483261996" y1="297.78876344446" x2="398.022579998644" y2="297.78876344446" stroke-width="2.404970271896px"/><g class="sch-port" data-schematic-port-id="source_port_0_2__stack1"><circle class="component-pin sch-component-pin sch-port-terminal" cx="400.42755027054" cy="297.78876344446" r="2.404970271896" stroke-width="2.404970271896px"/><rect x="398.022579998644" y="295.383793172564" width="4.809940543792" height="4.809940543792" opacity="0"/></g><text class="pin-number sch-pin-number" x="376.37784755158" y="295.38379317256397" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="middle" dominant-baseline="auto" font-size="18.03727703922px" transform=""></text><text class="pin-number sch-pin-label" x="340.30329347313995" y="297.78876344446" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="end" dominant-baseline="middle" font-size="18.03727703922px" transform="">CC1</text><line class="component-pin sch-component-pin sch-port-line" x1="352.32814483261996" y1="333.8633175229" x2="398.022579998644" y2="333.8633175229" stroke-width="2.404970271896px"/><g class="sch-port" data-schematic-port-id="source_port_0_3__stack1"><circle class="component-pin sch-component-pin sch-port-terminal" cx="400.42755027054" cy="333.8633175229" r="2.404970271896" stroke-width="2.404970271896px"/><rect x="398.022579998644" y="331.458347251004" width="4.809940543792" height="4.809940543792" opacity="0"/></g><text class="pin-number sch-pin-number" x="376.37784755158" y="331.45834725100394" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="middle" dominant-baseline="auto" font-size="18.03727703922px" transform=""></text><text class="pin-number sch-pin-label" x="340.30329347313995" y="333.8633175229" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="end" dominant-baseline="middle" font-size="18.03727703922px" transform="">CC2</text><line class="component-pin sch-component-pin sch-port-line" x1="352.32814483261996" y1="369.93787160133996" x2="398.022579998644" y2="369.93787160133996" stroke-width="2.404970271896px"/><g class="sch-port" data-schematic-port-id="source_port_0_4__stack1"><circle class="component-pin sch-component-pin sch-port-terminal" cx="400.42755027054" cy="369.93787160133996" r="2.404970271896" stroke-width="2.404970271896px"/><rect x="398.022579998644" y="367.532901329444" width="4.809940543792" height="4.809940543792" opacity="0"/></g><text class="pin-number sch-pin-number" x="376.37784755158" y="367.532901329444" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="middle" dominant-baseline="auto" font-size="18.03727703922px" transform=""></text><text class="pin-number sch-pin-label" x="340.30329347313995" y="369.93787160133996" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="end" dominant-baseline="middle" font-size="18.03727703922px" transform="">DP1</text><line class="component-pin sch-component-pin sch-port-line" x1="352.32814483261996" y1="406.01242567978" x2="398.022579998644" y2="406.01242567978" stroke-width="2.404970271896px"/><g class="sch-port" data-schematic-port-id="source_port_0_5__stack1"><circle class="component-pin sch-component-pin sch-port-terminal" cx="400.42755027054" cy="406.01242567978" r="2.404970271896" stroke-width="2.404970271896px"/><rect x="398.022579998644" y="403.607455407884" width="4.809940543792" height="4.809940543792" opacity="0"/></g><text class="pin-number sch-pin-number" x="376.37784755158" y="403.607455407884" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="middle" dominant-baseline="auto" font-size="18.03727703922px" transform=""></text><text class="pin-number sch-pin-label" x="340.30329347313995" y="406.01242567978" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="end" dominant-baseline="middle" font-size="18.03727703922px" transform="">DP2</text><line class="component-pin sch-component-pin sch-port-line" x1="352.32814483261996" y1="442.08697975821997" x2="398.022579998644" y2="442.08697975821997" stroke-width="2.404970271896px"/><g class="sch-port" data-schematic-port-id="source_port_0_6__stack1"><circle class="component-pin sch-component-pin sch-port-terminal" cx="400.42755027054" cy="442.08697975821997" r="2.404970271896" stroke-width="2.404970271896px"/><rect x="398.022579998644" y="439.682009486324" width="4.809940543792" height="4.809940543792" opacity="0"/></g><text class="pin-number sch-pin-number" x="376.37784755158" y="439.682009486324" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="middle" dominant-baseline="auto" font-size="18.03727703922px" transform=""></text><text class="pin-number sch-pin-label" x="340.30329347313995" y="442.08697975821997" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="end" dominant-baseline="middle" font-size="18.03727703922px" transform="">DM1</text><line class="component-pin sch-component-pin sch-port-line" x1="352.32814483261996" y1="478.16153383666" x2="398.022579998644" y2="478.16153383666" stroke-width="2.404970271896px"/><g class="sch-port" data-schematic-port-id="source_port_0_7__stack1"><circle class="component-pin sch-component-pin sch-port-terminal" cx="400.42755027054" cy="478.16153383666" r="2.404970271896" stroke-width="2.404970271896px"/><rect x="398.022579998644" y="475.756563564764" width="4.809940543792" height="4.809940543792" opacity="0"/></g><text class="pin-number sch-pin-number" x="376.37784755158" y="475.756563564764" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="middle" dominant-baseline="auto" font-size="18.03727703922px" transform=""></text><text class="pin-number sch-pin-label" x="340.30329347313995" y="478.16153383666" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="end" dominant-baseline="middle" font-size="18.03727703922px" transform="">DM2</text><line class="component-pin sch-component-pin sch-port-line" x1="352.32814483261996" y1="514.2360879151" x2="398.022579998644" y2="514.2360879151" stroke-width="2.404970271896px"/><g class="sch-port" data-schematic-port-id="source_port_0_8__stack1"><circle class="component-pin sch-component-pin sch-port-terminal" cx="400.42755027054" cy="514.2360879151" r="2.404970271896" stroke-width="2.404970271896px"/><rect x="398.022579998644" y="511.83111764320404" width="4.809940543792" height="4.809940543792" opacity="0"/></g><text class="pin-number sch-pin-number" x="376.37784755158" y="511.831117643204" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="middle" dominant-baseline="auto" font-size="18.03727703922px" transform=""></text><text class="pin-number sch-pin-label" x="340.30329347313995" y="514.2360879151" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="end" dominant-baseline="middle" font-size="18.03727703922px" transform="">SBU1</text><line class="component-pin sch-component-pin sch-port-line" x1="352.32814483261996" y1="550.31064199354" x2="398.022579998644" y2="550.31064199354" stroke-width="2.404970271896px"/><g class="sch-port" data-schematic-port-id="source_port_0_9__stack1"><circle class="component-pin sch-component-pin sch-port-terminal" cx="400.42755027054" cy="550.31064199354" r="2.404970271896" stroke-width="2.404970271896px"/><rect x="398.022579998644" y="547.905671721644" width="4.809940543792" height="4.809940543792" opacity="0"/></g><text class="pin-number sch-pin-number" x="376.37784755158" y="547.905671721644" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="middle" dominant-baseline="auto" font-size="18.03727703922px" transform=""></text><text class="pin-number sch-pin-label" x="340.30329347313995" y="550.31064199354" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="end" dominant-baseline="middle" font-size="18.03727703922px" transform="">SBU2</text><line class="component-pin sch-component-pin sch-port-line" x1="352.32814483261996" y1="586.38519607198" x2="400.42755027054" y2="586.38519607198" stroke-width="2.404970271896px"/><g class="sch-port" data-schematic-port-id="source_port_0_10__stack1"><rect x="398.022579998644" y="583.980225800084" width="4.809940543792" height="4.809940543792" opacity="0"/></g><text class="pin-number sch-pin-number" x="376.37784755158" y="583.980225800084" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="middle" dominant-baseline="auto" font-size="18.03727703922px" transform=""></text><text class="pin-number sch-pin-label" x="340.30329347313995" y="586.38519607198" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="end" dominant-baseline="middle" font-size="18.03727703922px" transform="">GND1</text><line class="component-pin sch-component-pin sch-port-line" x1="352.32814483261996" y1="622.45975015042" x2="400.42755027054" y2="622.45975015042" stroke-width="2.404970271896px"/><g class="sch-port" data-schematic-port-id="source_port_0_11__stack1"><rect x="398.022579998644" y="620.054779878524" width="4.809940543792" height="4.809940543792" opacity="0"/></g><text class="pin-number sch-pin-number" x="376.37784755158" y="620.054779878524" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="middle" dominant-baseline="auto" font-size="18.03727703922px" transform=""></text><text class="pin-number sch-pin-label" x="340.30329347313995" y="622.45975015042" style="font-family: sans-serif;" fill="rgb(169, 0, 0)" text-anchor="end" dominant-baseline="middle" font-size="18.03727703922px" transform="">GND2</text></g><g class="sch-component" data-circuit-json-type="schematic_component" data-schematic-component-id="schematic_component_1__stack1"><rect class="component-overlay sch-component-overlay" x="556.75061794378" y="230.8536308370505" width="96.19881087584008" height="25.646602979498937" fill="transparent"/><path class="sch-component-symbol-path" d="M 556.75061794378 243.67693232679997 L 572.7869597167826 243.67693232679997" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.404970271896px" stroke-linecap="round"/><path class="sch-component-symbol-path" d="M 636.9130870466174 243.67693232679997 L 652.94942881962 243.67693232679997" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.404970271896px" stroke-linecap="round"/><path class="sch-component-symbol-path" d="M 572.7869597167826 230.8536308370505 L 636.9130870466174 230.8536308370505 L 636.9130870466174 256.50023381654944 L 572.7869597167826 256.50023381654944 L 572.7869597167826 230.8536308370505" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.404970271896px" stroke-linecap="round"/><text class="sch-component-name sch-component-text" x="604.8500233817" y="218.02391609324263" stroke="rgb(245, 241, 237)" stroke-width="2.404970271896px" paint-order="stroke" fill="rgb(15, 15, 15)" font-family="sans-serif" text-anchor="middle" dominant-baseline="ideographic" font-size="21.644732447064px">R1</text><text class="sch-component-text" x="604.8500233817" y="269.3299485603573" fill="rgb(15, 15, 15)" font-family="sans-serif" text-anchor="middle" dominant-baseline="hanging" font-size="21.644732447064px"></text></g><g class="sch-component" data-circuit-json-type="schematic_component" data-schematic-component-id="schematic_component_2__stack1"><rect class="component-overlay sch-component-overlay" x="905.4713073687001" y="227.48963241980766" width="120.24851359479999" height="31.218364106342335" fill="transparent"/><path class="sch-component-symbol-path" d="M 981.7828640730924 243.67693232679997 L 951.7207356743924 258.70799652615" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.404970271896px" stroke-linecap="round"/><path class="sch-component-symbol-path" d="M 951.7207356743924 227.48963241980766 L 981.7828640730924 243.67693232679997" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.404970271896px" stroke-linecap="round"/><path class="sch-component-symbol-path" d="M 951.7207356743924 258.70799652615 L 951.7207356743924 227.48963241980766" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.404970271896px" stroke-linecap="round"/><path class="sch-component-symbol-path" d="M 981.7828640730924 227.48963241980766 L 981.7828640730924 258.70799652615" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.404970271896px" stroke-linecap="round"/><path class="sch-component-symbol-path" d="M 951.7207356743924 243.67693232679997 L 905.4713073687001 243.67693232679997" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.404970271896px" stroke-linecap="round"/><path class="sch-component-symbol-path" d="M 1025.7198209635 243.67693232679997 L 982.9390997807346 243.67693232679997" stroke="rgb(132, 0, 0)" fill="none" stroke-width="2.404970271896px" stroke-linecap="round"/><text class="sch-component-name sch-component-text" x="964.4393284584578" y="217.0835110510269" stroke="rgb(245, 241, 237)" stroke-width="2.404970271896px" paint-order="stroke" fill="rgb(15, 15, 15)" font-family="sans-serif" text-anchor="middle" dominant-baseline="ideographic" font-size="21.644732447064px">D1</text><text class="sch-component-text" x="965.5955641661001" y="279.5202392637115" fill="rgb(15, 15, 15)" font-family="sans-serif" text-anchor="middle" dominant-baseline="hanging" font-size="21.644732447064px"></text></g><g class="schematic-port-hover sch-port-hover" data-schematic-port-id="source_port_0_0__stack1"><circle cx="400.42755027054" cy="225.63965528757998" r="4.809940543792" fill="red" opacity="0"/></g><g class="schematic-port-hover sch-port-hover" data-schematic-port-id="source_port_0_1__stack1"><circle cx="400.42755027054" cy="261.71420936602" r="4.809940543792" fill="red" opacity="0"/></g><g class="schematic-port-hover sch-port-hover" data-schematic-port-id="source_port_0_2__stack1"><circle cx="400.42755027054" cy="297.78876344446" r="4.809940543792" fill="red" opacity="0"/></g><g class="schematic-port-hover sch-port-hover" data-schematic-port-id="source_port_0_3__stack1"><circle cx="400.42755027054" cy="333.8633175229" r="4.809940543792" fill="red" opacity="0"/></g><g class="schematic-port-hover sch-port-hover" data-schematic-port-id="source_port_0_4__stack1"><circle cx="400.42755027054" cy="369.93787160133996" r="4.809940543792" fill="red" opacity="0"/></g><g class="schematic-port-hover sch-port-hover" data-schematic-port-id="source_port_0_5__stack1"><circle cx="400.42755027054" cy="406.01242567978" r="4.809940543792" fill="red" opacity="0"/></g><g class="schematic-port-hover sch-port-hover" data-schematic-port-id="source_port_0_6__stack1"><circle cx="400.42755027054" cy="442.08697975821997" r="4.809940543792" fill="red" opacity="0"/></g><g class="schematic-port-hover sch-port-hover" data-schematic-port-id="source_port_0_7__stack1"><circle cx="400.42755027054" cy="478.16153383666" r="4.809940543792" fill="red" opacity="0"/></g><g class="schematic-port-hover sch-port-hover" data-schematic-port-id="source_port_0_8__stack1"><circle cx="400.42755027054" cy="514.2360879151" r="4.809940543792" fill="red" opacity="0"/></g><g class="schematic-port-hover sch-port-hover" data-schematic-port-id="source_port_0_9__stack1"><circle cx="400.42755027054" cy="550.31064199354" r="4.809940543792" fill="red" opacity="0"/></g><g class="schematic-port-hover sch-port-hover" data-schematic-port-id="source_port_0_10__stack1"><circle cx="400.42755027054" cy="586.38519607198" r="4.809940543792" fill="red" opacity="0"/></g><g class="schematic-port-hover sch-port-hover" data-schematic-port-id="source_port_0_11__stack1"><circle cx="400.42755027054" cy="622.45975015042" r="4.809940543792" fill="red" opacity="0"/></g><g class="schematic-port-hover sch-port-hover" data-schematic-port-id="source_port_1_0__stack1"><circle cx="568.77546930326" cy="243.67693232679997" r="4.809940543792" fill="red" opacity="0"/></g><g class="schematic-port-hover sch-port-hover" data-schematic-port-id="source_port_1_1__stack1"><circle cx="664.9742801791" cy="243.67693232679997" r="4.809940543792" fill="red" opacity="0"/></g><g class="schematic-port-hover sch-port-hover" data-schematic-port-id="source_port_2_0__stack1"><circle cx="903.066337096804" cy="243.49193461357723" r="4.809940543792" fill="red" opacity="0"/></g><g class="schematic-port-hover sch-port-hover" data-schematic-port-id="source_port_2_1__stack1"><circle cx="1023.3148506916041" cy="243.49193461357723" r="4.809940543792" fill="red" opacity="0"/></g><path class="net-label sch-net-label" data-circuit-json-type="schematic_net_label" data-schematic-net-label-id="schematic_net_label_0__stack1" d="
|
|
83
|
+
M 490.61393546664,243.67693232679997
|
|
84
|
+
L 478.58908410716,237.18351259268076
|
|
85
|
+
L 478.58908410716,181.82109693363486
|
|
86
|
+
L 502.63878682612,181.82109693363486
|
|
87
|
+
L 502.63878682612,237.18351259268078
|
|
88
|
+
Z
|
|
89
|
+
" fill="rgba(255, 255, 255, 0.6)" stroke="rgb(132, 0, 0)" stroke-width="2.404970271896px"/><text class="net-label-text sch-net-label-text" data-circuit-json-type="schematic_net_label" data-schematic-net-label-id="schematic_net_label_0__stack1" x="490.61393546664" y="232.85456610326798" fill="rgb(132, 0, 0)" text-anchor="start" dominant-baseline="central" font-family="sans-serif" font-variant-numeric="tabular-nums" font-size="21.644732447064px" transform="rotate(-90 490.61393546664 232.85456610326798)">XXX</text><path class="net-label sch-net-label" data-circuit-json-type="schematic_net_label" data-schematic-net-label-id="schematic_net_label_1__stack1" d="
|
|
90
|
+
M 1049.76952368246,243.67693232679997
|
|
91
|
+
L 1056.2629434165792,231.65208096731996
|
|
92
|
+
L 1139.87574320283,231.65208096731996
|
|
93
|
+
L 1139.87574320283,255.70178368627998
|
|
94
|
+
L 1056.2629434165792,255.70178368627998
|
|
95
|
+
Z
|
|
96
|
+
" fill="rgba(255, 255, 255, 0.6)" stroke="rgb(132, 0, 0)" stroke-width="2.404970271896px"/><text class="net-label-text sch-net-label-text" data-circuit-json-type="schematic_net_label" data-schematic-net-label-id="schematic_net_label_1__stack1" x="1060.591889905992" y="243.67693232679997" fill="rgb(132, 0, 0)" text-anchor="start" dominant-baseline="central" font-family="sans-serif" font-variant-numeric="tabular-nums" font-size="21.644732447064px" transform="">XXXXX</text><path class="net-label sch-net-label" data-circuit-json-type="schematic_net_label" data-schematic-net-label-id="schematic_net_label_2__stack1" d="
|
|
97
|
+
M 779.21036809416,243.67693232679997
|
|
98
|
+
L 767.18551673468,237.18351259268076
|
|
99
|
+
L 767.18551673468,195.94628899723736
|
|
100
|
+
L 791.23521945364,195.94628899723736
|
|
101
|
+
L 791.23521945364,237.18351259268078
|
|
102
|
+
Z
|
|
103
|
+
" fill="rgba(255, 255, 255, 0.6)" stroke="rgb(132, 0, 0)" stroke-width="2.404970271896px"/><text class="net-label-text sch-net-label-text" data-circuit-json-type="schematic_net_label" data-schematic-net-label-id="schematic_net_label_2__stack1" x="779.21036809416" y="232.85456610326798" fill="rgb(132, 0, 0)" text-anchor="start" dominant-baseline="central" font-family="sans-serif" font-variant-numeric="tabular-nums" font-size="21.644732447064px" transform="rotate(-90 779.21036809416 232.85456610326798)">XX</text><text class="sch-text" x="244.10448259729998" y="147.47812145095997" fill="#7e22ce" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="21.644732447064px" transform="rotate(0, 244.10448259729998, 147.47812145095997)">J1 TYPE-C-31-M-12</text><text class="sch-text" x="604.8500233817" y="189.56510120913998" fill="#7e22ce" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="21.644732447064px" transform="rotate(0, 604.8500233817, 189.56510120913998)">R1 1kΩ</text><text class="sch-text" x="965.5955641661001" y="165.51539849017996" fill="#7e22ce" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="21.644732447064px" transform="rotate(0, 965.5955641661001, 165.51539849017996)">D1 white</text><rect class="schematic-box sch-box" x="147.90567172146" y="135.45327009147996" width="192.39762175168" height="24.04970271896002" stroke-width="2.404970271896px" stroke="rgb(132, 0, 0)" fill="transparent" stroke-dasharray="19.239762175168 9.619881087584"/><rect class="schematic-box sch-box" x="580.80032066274" y="177.54024984966" width="48.09940543792004" height="24.049702718959992" stroke-width="2.404970271896px" stroke="rgb(132, 0, 0)" fill="transparent" stroke-dasharray="19.239762175168 9.619881087584"/><rect class="schematic-box sch-box" x="935.5334357674001" y="153.49054713069995" width="60.124256797399994" height="24.04970271896005" stroke-width="2.404970271896px" stroke="rgb(132, 0, 0)" fill="transparent" stroke-dasharray="19.239762175168 9.619881087584"/>
|
|
104
|
+
</g>
|
|
105
|
+
</svg>
|