@tscircuit/core 0.0.858 → 0.0.859
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 +6 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9775,7 +9775,7 @@ function Group_doInitialSchematicLayoutMatchAdapt(group) {
|
|
|
9775
9775
|
source_group_id: group.source_group_id
|
|
9776
9776
|
});
|
|
9777
9777
|
const bpcGraphBeforeGeneratedNetLabels = convertCircuitJsonToBpc(subtreeCircuitJson);
|
|
9778
|
-
if (debug4.enabled && global
|
|
9778
|
+
if (debug4.enabled && global?.debugGraphics) {
|
|
9779
9779
|
global.debugGraphics?.push(
|
|
9780
9780
|
getGraphicsForBpcGraph(bpcGraphBeforeGeneratedNetLabels, {
|
|
9781
9781
|
title: `floatingBpcGraph-${group.name}`
|
|
@@ -9821,7 +9821,7 @@ function Group_doInitialSchematicLayoutMatchAdapt(group) {
|
|
|
9821
9821
|
corpus: {}
|
|
9822
9822
|
}
|
|
9823
9823
|
);
|
|
9824
|
-
if (debug4.enabled && global
|
|
9824
|
+
if (debug4.enabled && global?.debugGraphics) {
|
|
9825
9825
|
global.debugGraphics?.push(
|
|
9826
9826
|
getGraphicsForBpcGraph(laidOutBpcGraph, {
|
|
9827
9827
|
title: `laidOutBpcGraph-${group.name}`
|
|
@@ -10280,7 +10280,7 @@ function Group_doInitialSchematicLayoutMatchPack(group) {
|
|
|
10280
10280
|
}
|
|
10281
10281
|
const solver = new LayoutPipelineSolver(inputProblem);
|
|
10282
10282
|
debug5("Starting LayoutPipelineSolver...");
|
|
10283
|
-
if (debug5.enabled && global
|
|
10283
|
+
if (debug5.enabled && global?.debugGraphics) {
|
|
10284
10284
|
const initialViz = solver.visualize();
|
|
10285
10285
|
global.debugGraphics.push({
|
|
10286
10286
|
...initialViz,
|
|
@@ -10297,7 +10297,7 @@ function Group_doInitialSchematicLayoutMatchPack(group) {
|
|
|
10297
10297
|
const outputLayout = solver.getOutputLayout();
|
|
10298
10298
|
debug5("OutputLayout:", JSON.stringify(outputLayout, null, 2));
|
|
10299
10299
|
debug5("Solver completed successfully:", !solver.failed);
|
|
10300
|
-
if (debug5.enabled && global
|
|
10300
|
+
if (debug5.enabled && global?.debugGraphics) {
|
|
10301
10301
|
const finalViz = solver.visualize();
|
|
10302
10302
|
global.debugGraphics.push({
|
|
10303
10303
|
...finalViz,
|
|
@@ -11791,7 +11791,7 @@ var Group_doInitialPcbLayoutPack = (group) => {
|
|
|
11791
11791
|
});
|
|
11792
11792
|
}
|
|
11793
11793
|
const packOutput = pack(packInput);
|
|
11794
|
-
if (debug6.enabled && global
|
|
11794
|
+
if (debug6.enabled && global?.debugGraphics) {
|
|
11795
11795
|
const graphics = getGraphicsFromPackOutput(packOutput);
|
|
11796
11796
|
graphics.title = `packOutput-${group.name}`;
|
|
11797
11797
|
global.debugGraphics?.push(graphics);
|
|
@@ -17715,7 +17715,7 @@ import { identity as identity6 } from "transformation-matrix";
|
|
|
17715
17715
|
var package_default = {
|
|
17716
17716
|
name: "@tscircuit/core",
|
|
17717
17717
|
type: "module",
|
|
17718
|
-
version: "0.0.
|
|
17718
|
+
version: "0.0.858",
|
|
17719
17719
|
types: "dist/index.d.ts",
|
|
17720
17720
|
main: "dist/index.js",
|
|
17721
17721
|
module: "dist/index.js",
|