@tscircuit/capacity-autorouter 0.0.509 → 0.0.510
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/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @tscircuit/capacity-autorouter
|
|
2
2
|
|
|
3
|
-
An MIT-licensed full-pipeline PCB autorouter
|
|
3
|
+
An MIT-licensed full-pipeline PCB autorouter for node.js and TypeScript projects. Part of [tscircuit](https://github.com/tscircuit/tscircuit)
|
|
4
4
|
|
|
5
5
|
[View Online Playground](https://autorouter.tscircuit.com) · [tscircuit docs](https://docs.tscircuit.com) · [discord](https://tscircuit.com/join) · [twitter](https://x.com/seveibar) · [try tscircuit online](https://tscircuit.com) · [Report/Debug Autorouter Bugs](https://docs.tscircuit.com/contributing/report-autorouter-bugs)
|
|
6
6
|
|
|
@@ -25,10 +25,10 @@ bun add @tscircuit/capacity-autorouter
|
|
|
25
25
|
### Basic Usage
|
|
26
26
|
|
|
27
27
|
```typescript
|
|
28
|
-
import {
|
|
28
|
+
import { AutoroutingPipelineSolver } from "@tscircuit/capacity-autorouter"
|
|
29
29
|
|
|
30
30
|
// Create a solver with SimpleRouteJson input
|
|
31
|
-
const solver = new
|
|
31
|
+
const solver = new AutoroutingPipelineSolver(simpleRouteJson)
|
|
32
32
|
|
|
33
33
|
// Run the solver until completion
|
|
34
34
|
while (!solver.solved && !solver.failed) {
|