@tscircuit/hypergraph 0.0.32 → 0.0.33

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +2 -1
package/dist/index.js CHANGED
@@ -14760,12 +14760,13 @@ function generateConvexViaTopologyRegions(opts) {
14760
14760
  const obstaclePolygons = viaRegions.map((r) => ({
14761
14761
  points: r.d.polygon
14762
14762
  }));
14763
- const solver = new ConvexRegionsSolver({
14763
+ const solverInput = {
14764
14764
  bounds,
14765
14765
  polygons: obstaclePolygons,
14766
14766
  clearance,
14767
14767
  concavityTolerance
14768
- });
14768
+ };
14769
+ const solver = new ConvexRegionsSolver(solverInput);
14769
14770
  solver.solve();
14770
14771
  const solverOutput = solver.getOutput();
14771
14772
  if (!solverOutput) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/hypergraph",
3
3
  "main": "dist/index.js",
4
- "version": "0.0.32",
4
+ "version": "0.0.33",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "start": "cosmos",
@@ -17,6 +17,7 @@
17
17
  "devDependencies": {
18
18
  "@biomejs/biome": "^2.3.11",
19
19
  "@tscircuit/find-convex-regions": "^0.0.7",
20
+ "@tscircuit/jumper-topology-generator": "^0.0.1",
20
21
  "@tscircuit/math-utils": "^0.0.29",
21
22
  "@types/bun": "latest",
22
23
  "bun-match-svg": "^0.0.15",