Skip to content
Merged
6 changes: 3 additions & 3 deletions lib/utils/autorouting/CapacityMeshAutorouter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CapacityMeshSolver } from "@tscircuit/capacity-autorouter"
import { AutoroutingPipelineSolver } from "@tscircuit/capacity-autorouter"
import { AutorouterError } from "lib/errors/AutorouterError"
import type { SimpleRouteJson, SimplifiedPcbTrace } from "./SimpleRouteJson"
import type {
Expand All @@ -18,7 +18,7 @@ export interface CapacityMeshAutoRouterOptions {
export class CapacityMeshAutorouter implements GenericLocalAutorouter {
input: SimpleRouteJson
isRouting = false
private solver: CapacityMeshSolver
private solver: AutoroutingPipelineSolver
private eventHandlers: {
complete: Array<(ev: AutorouterCompleteEvent) => void>
error: Array<(ev: AutorouterErrorEvent) => void>
Expand All @@ -40,7 +40,7 @@ export class CapacityMeshAutorouter implements GenericLocalAutorouter {
const { capacityDepth, targetMinCapacity, stepDelay = 0 } = options

// Initialize the solver with input and optional configuration
this.solver = new CapacityMeshSolver(input as any, {
this.solver = new AutoroutingPipelineSolver(input as any, {
capacityDepth,
targetMinCapacity,
cacheProvider: null,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@tscircuit/capacity-autorouter": "^0.0.123",
"@tscircuit/capacity-autorouter": "^0.0.129",
"@tscircuit/checks": "^0.0.79",
"@tscircuit/circuit-json-util": "^0.0.67",
"@tscircuit/footprinter": "^0.0.236",
Expand Down Expand Up @@ -59,7 +59,7 @@
"circuit-json-to-gltf": "^0.0.7",
"circuit-json-to-simple-3d": "^0.0.9",
"circuit-json-to-spice": "^0.0.10",
"circuit-to-svg": "^0.0.217",
"circuit-to-svg": "^0.0.221",
"concurrently": "^9.1.2",
"connectivity-map": "^1.0.0",
"debug": "^4.3.6",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading