@tscircuit/schematic-trace-solver 0.0.163 → 0.0.165
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/dist/index.d.ts +5 -1
- package/dist/index.js +160 -23
- package/lib/solvers/NetLabelToTraceSolver/NetLabelToTraceSolver.ts +225 -24
- package/lib/solvers/SchematicTraceLinesSolver/SchematicTraceSingleLineSolver2/SchematicTraceSingleLineSolver2.ts +15 -4
- package/package.json +1 -1
- package/tests/assets/example51.json +6 -0
- package/tests/bug-reports/bug-report-20260730T061837Z/__snapshots__/bug-report-20260730T061837Z.snap.svg +166 -166
- package/tests/examples/__snapshots__/example51.snap.svg +42 -78
- package/tests/examples/example51.test.ts +24 -0
- package/tests/fixtures/convertSolverOutputToCircuitJson.ts +22 -3
- package/tests/repros/__snapshots__/board-1273-trace-overlap-cycle.snap.svg +26 -26
- package/tests/repros/__snapshots__/repro-bluetooth-controller-ground-decoupling-groups.snap.svg +1 -15
- package/tests/repros/__snapshots__/repro-core-ground-inline-label-fallback.snap.svg +2 -16
- package/tests/repros/__snapshots__/repro-pga300-redundant-ground-traces.snap.svg +1 -15
- package/tests/repros/__snapshots__/repro-pmp11282-endpoint-trace-through-component-text.snap.svg +76 -0
- package/tests/repros/__snapshots__/repro-pmp11282-isolated-dcdc.snap.svg +114 -110
- package/tests/repros/__snapshots__/repro-tida010076-page02.snap.svg +1681 -1690
- package/tests/repros/repro-pmp11282-endpoint-trace-through-component-text.test.ts +82 -0
- package/tests/repros/repro-pmp11282-isolated-dcdc.test.ts +5 -5
package/package.json
CHANGED
|
@@ -2589,6 +2589,7 @@
|
|
|
2589
2589
|
"netConnections": [
|
|
2590
2590
|
{
|
|
2591
2591
|
"netId": "NET_01",
|
|
2592
|
+
"isGround": false,
|
|
2592
2593
|
"netLabelWidth": 0.42,
|
|
2593
2594
|
"netLabelHeight": 0.84,
|
|
2594
2595
|
"pinIds": [
|
|
@@ -2649,6 +2650,7 @@
|
|
|
2649
2650
|
},
|
|
2650
2651
|
{
|
|
2651
2652
|
"netId": "NET_08",
|
|
2653
|
+
"isGround": false,
|
|
2652
2654
|
"netLabelWidth": 0.42,
|
|
2653
2655
|
"netLabelHeight": 0.84,
|
|
2654
2656
|
"pinIds": [
|
|
@@ -2666,6 +2668,7 @@
|
|
|
2666
2668
|
},
|
|
2667
2669
|
{
|
|
2668
2670
|
"netId": "BAT",
|
|
2671
|
+
"isGround": false,
|
|
2669
2672
|
"netLabelWidth": 0.42,
|
|
2670
2673
|
"netLabelHeight": 0.48,
|
|
2671
2674
|
"pinIds": [
|
|
@@ -2678,6 +2681,7 @@
|
|
|
2678
2681
|
},
|
|
2679
2682
|
{
|
|
2680
2683
|
"netId": "NET_03",
|
|
2684
|
+
"isGround": false,
|
|
2681
2685
|
"netLabelWidth": 0.42,
|
|
2682
2686
|
"netLabelHeight": 0.84,
|
|
2683
2687
|
"pinIds": [
|
|
@@ -2690,6 +2694,7 @@
|
|
|
2690
2694
|
},
|
|
2691
2695
|
{
|
|
2692
2696
|
"netId": "NET_05",
|
|
2697
|
+
"isGround": false,
|
|
2693
2698
|
"netLabelWidth": 0.42,
|
|
2694
2699
|
"netLabelHeight": 0.84,
|
|
2695
2700
|
"pinIds": [
|
|
@@ -2725,6 +2730,7 @@
|
|
|
2725
2730
|
},
|
|
2726
2731
|
{
|
|
2727
2732
|
"netId": "PPHV",
|
|
2733
|
+
"isGround": false,
|
|
2728
2734
|
"netLabelWidth": 0.42,
|
|
2729
2735
|
"netLabelHeight": 0.6,
|
|
2730
2736
|
"pinIds": [
|