@tscircuit/core 0.0.1396 → 0.0.1397
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 +8 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20107,10 +20107,15 @@ function createSchematicTraceSolverInputProblem(group) {
|
|
|
20107
20107
|
sourceNet.name || sourceNet.source_net_id || connKey
|
|
20108
20108
|
);
|
|
20109
20109
|
userNetIdToConnKey.set(userNetId, connKey);
|
|
20110
|
-
const
|
|
20110
|
+
const netLabelTextWidth = Number(
|
|
20111
20111
|
getSchematicNetLabelTextWidth({ text: String(userNetId) }).toFixed(2)
|
|
20112
20112
|
);
|
|
20113
|
-
|
|
20113
|
+
let netLabelWidth = netLabelTextWidth;
|
|
20114
|
+
let netLabelHeight;
|
|
20115
|
+
if (sourceNet.is_ground || sourceNet.is_power) {
|
|
20116
|
+
netLabelWidth = SCHEMATIC_RAIL_NET_LABEL_HEIGHT;
|
|
20117
|
+
netLabelHeight = netLabelTextWidth;
|
|
20118
|
+
}
|
|
20114
20119
|
netConnections.push({
|
|
20115
20120
|
netId: userNetId,
|
|
20116
20121
|
pinIds: schematicPortIds.map(
|
|
@@ -25281,7 +25286,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
25281
25286
|
var package_default = {
|
|
25282
25287
|
name: "@tscircuit/core",
|
|
25283
25288
|
type: "module",
|
|
25284
|
-
version: "0.0.
|
|
25289
|
+
version: "0.0.1396",
|
|
25285
25290
|
types: "dist/index.d.ts",
|
|
25286
25291
|
main: "dist/index.js",
|
|
25287
25292
|
module: "dist/index.js",
|