@tscircuit/matchpack 0.0.11 → 0.0.12
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.js +3 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -645,7 +645,7 @@ var SingleInnerPartitionPackingSolver = class extends BaseSolver {
|
|
|
645
645
|
components: packComponents,
|
|
646
646
|
minGap: this.inputProblem.chipGap,
|
|
647
647
|
packOrderStrategy: "largest_to_smallest",
|
|
648
|
-
packPlacementStrategy: "
|
|
648
|
+
packPlacementStrategy: "minimum_closest_sum_squared_distance"
|
|
649
649
|
};
|
|
650
650
|
}
|
|
651
651
|
createLayoutFromPackingResult(packedComponents) {
|
|
@@ -668,7 +668,8 @@ var SingleInnerPartitionPackingSolver = class extends BaseSolver {
|
|
|
668
668
|
return this.activeSubSolver.visualize();
|
|
669
669
|
}
|
|
670
670
|
if (!this.layout) {
|
|
671
|
-
|
|
671
|
+
const basicLayout = doBasicInputProblemLayout(this.inputProblem);
|
|
672
|
+
return visualizeInputProblem(this.inputProblem, basicLayout);
|
|
672
673
|
}
|
|
673
674
|
return visualizeInputProblem(this.inputProblem, this.layout);
|
|
674
675
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tscircuit/matchpack",
|
|
3
3
|
"main": "dist/index.js",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.12",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@tscircuit/schematic-viewer": "^2.0.26",
|
|
22
22
|
"@types/bun": "latest",
|
|
23
23
|
"bpc-graph": "^0.0.66",
|
|
24
|
-
"calculate-packing": "^0.0.
|
|
24
|
+
"calculate-packing": "^0.0.31",
|
|
25
25
|
"circuit-json": "^0.0.226",
|
|
26
26
|
"graphics-debug": "^0.0.62",
|
|
27
27
|
"react-cosmos": "^7.0.0",
|