@tscircuit/core 0.0.525 → 0.0.526
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 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7958,11 +7958,15 @@ var Group = class extends NormalComponent {
|
|
|
7958
7958
|
const debug4 = Debug5("tscircuit:core:_runLocalAutorouting");
|
|
7959
7959
|
debug4(`[${this.getString()}] starting local autorouting`);
|
|
7960
7960
|
const autorouterConfig = this._getAutorouterConfig();
|
|
7961
|
-
const
|
|
7961
|
+
const sourceTraceIdsToRoute = this.selectAll("trace").filter((t) => !t.pcb_trace_id).map((t) => t.source_trace_id);
|
|
7962
|
+
const { simpleRouteJson } = getSimpleRouteJsonFromCircuitJson({
|
|
7962
7963
|
db,
|
|
7963
7964
|
minTraceWidth: this.props.autorouter?.minTraceWidth ?? 0.15,
|
|
7964
7965
|
subcircuit_id: this.subcircuit_id
|
|
7965
7966
|
});
|
|
7967
|
+
simpleRouteJson.connections = simpleRouteJson.connections.filter(
|
|
7968
|
+
(conn) => sourceTraceIdsToRoute.includes(conn.name)
|
|
7969
|
+
);
|
|
7966
7970
|
this.root?.emit("autorouting:start", {
|
|
7967
7971
|
subcircuit_id: this.subcircuit_id,
|
|
7968
7972
|
componentDisplayName: this.getString(),
|
|
@@ -10598,7 +10602,7 @@ import { identity as identity4 } from "transformation-matrix";
|
|
|
10598
10602
|
var package_default = {
|
|
10599
10603
|
name: "@tscircuit/core",
|
|
10600
10604
|
type: "module",
|
|
10601
|
-
version: "0.0.
|
|
10605
|
+
version: "0.0.525",
|
|
10602
10606
|
types: "dist/index.d.ts",
|
|
10603
10607
|
main: "dist/index.js",
|
|
10604
10608
|
module: "dist/index.js",
|