@tscircuit/capacity-autorouter 0.0.276 → 0.0.278
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.d.ts +13 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -715,6 +715,14 @@ type Route$1 = {
|
|
|
715
715
|
B: Point$3;
|
|
716
716
|
connectionName: string;
|
|
717
717
|
};
|
|
718
|
+
/**
|
|
719
|
+
* Solver for exactly two crossing routes where exactly one route transitions
|
|
720
|
+
* between layers.
|
|
721
|
+
*
|
|
722
|
+
* This solver only handles port points that lie on node bounds.
|
|
723
|
+
* - Outside node bounds: treated as invalid input and reported as an error.
|
|
724
|
+
* - Strictly inside node bounds: solver marks itself as failed (out of scope).
|
|
725
|
+
*/
|
|
718
726
|
declare class SingleTransitionCrossingRouteSolver extends BaseSolver {
|
|
719
727
|
getSolverName(): string;
|
|
720
728
|
nodeWithPortPoints: NodeWithPortPoints;
|
|
@@ -748,6 +756,11 @@ declare class SingleTransitionCrossingRouteSolver extends BaseSolver {
|
|
|
748
756
|
* Calculate the bounding box of the node
|
|
749
757
|
*/
|
|
750
758
|
private calculateBounds;
|
|
759
|
+
/**
|
|
760
|
+
* Classifies a point relative to this node's bounds.
|
|
761
|
+
* Uses epsilon to tolerate floating-point noise on boundary coordinates.
|
|
762
|
+
*/
|
|
763
|
+
private getPortPointBoundsPosition;
|
|
751
764
|
/**
|
|
752
765
|
* Check if two routes are crossing
|
|
753
766
|
*/
|