@tscircuit/capacity-autorouter 0.0.159 → 0.0.160
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 +23 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1007,6 +1007,28 @@ declare class SingleHighDensityRouteStitchSolver extends BaseSolver {
|
|
|
1007
1007
|
visualize(): GraphicsObject;
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
|
+
/**
|
|
1011
|
+
* Optimizes route directions by comparing pad-to-endpoint distances.
|
|
1012
|
+
* Reverses routes when cross-connections provide better alignment.
|
|
1013
|
+
*/
|
|
1014
|
+
declare class RouteDirectionFixSubSolver extends BaseSolver {
|
|
1015
|
+
private routes;
|
|
1016
|
+
private reversedRoutes;
|
|
1017
|
+
private currentIndex;
|
|
1018
|
+
private colorMap;
|
|
1019
|
+
constructor(routes: HighDensityIntraNodeRoute$1[], colorMap?: Record<string, string>);
|
|
1020
|
+
getConstructorParams(): HighDensityIntraNodeRoute$1[];
|
|
1021
|
+
_step(): void;
|
|
1022
|
+
/**
|
|
1023
|
+
* Gets the processed routes with optimized directions
|
|
1024
|
+
*/
|
|
1025
|
+
getProcessedRoutes(): HighDensityIntraNodeRoute$1[];
|
|
1026
|
+
/**
|
|
1027
|
+
* Visualization showing route direction optimization progress
|
|
1028
|
+
*/
|
|
1029
|
+
visualize(): GraphicsObject;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1010
1032
|
type UnsolvedRoute = {
|
|
1011
1033
|
connectionName: string;
|
|
1012
1034
|
hdRoutes: HighDensityIntraNodeRoute$1[];
|
|
@@ -1023,7 +1045,7 @@ type UnsolvedRoute = {
|
|
|
1023
1045
|
};
|
|
1024
1046
|
declare class MultipleHighDensityRouteStitchSolver extends BaseSolver {
|
|
1025
1047
|
unsolvedRoutes: UnsolvedRoute[];
|
|
1026
|
-
activeSolver: SingleHighDensityRouteStitchSolver | null;
|
|
1048
|
+
activeSolver: SingleHighDensityRouteStitchSolver | RouteDirectionFixSubSolver | null;
|
|
1027
1049
|
mergedHdRoutes: HighDensityIntraNodeRoute$1[];
|
|
1028
1050
|
colorMap: Record<string, string>;
|
|
1029
1051
|
defaultTraceThickness: number;
|