@tscircuit/core 0.0.193 → 0.0.194
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 +10 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4432,6 +4432,16 @@ searched component ${targetComponent.getString()}, which has ports: ${targetComp
|
|
|
4432
4432
|
connectedTo: []
|
|
4433
4433
|
});
|
|
4434
4434
|
}
|
|
4435
|
+
if (elm.type === "schematic_box") {
|
|
4436
|
+
obstacles.push({
|
|
4437
|
+
type: "rect",
|
|
4438
|
+
layers: ["top"],
|
|
4439
|
+
center: { x: elm.x, y: elm.y },
|
|
4440
|
+
width: elm.width,
|
|
4441
|
+
height: elm.width,
|
|
4442
|
+
connectedTo: []
|
|
4443
|
+
});
|
|
4444
|
+
}
|
|
4435
4445
|
}
|
|
4436
4446
|
const portsWithPosition = connectedPorts.map(({ port }) => ({
|
|
4437
4447
|
port,
|