@tscircuit/capacity-autorouter 0.0.663 → 0.0.664
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 +21 -10
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5093,13 +5093,25 @@ declare class MultipleHighDensityRouteStitchSolver3 extends BaseSolver {
|
|
|
5093
5093
|
visualize(): GraphicsObject;
|
|
5094
5094
|
}
|
|
5095
5095
|
|
|
5096
|
+
type TraceColorMode = "layer" | "net";
|
|
5097
|
+
type ConvertSrjToGraphicsObjectOptions = {
|
|
5098
|
+
traceColorMode?: TraceColorMode;
|
|
5099
|
+
};
|
|
5100
|
+
declare const convertSrjToGraphicsObject: (srj: SimpleRouteJson, options?: ConvertSrjToGraphicsObjectOptions) => {
|
|
5101
|
+
rects: Rect[];
|
|
5102
|
+
circles: Circle[];
|
|
5103
|
+
lines: Line[];
|
|
5104
|
+
points: Point$5[];
|
|
5105
|
+
};
|
|
5106
|
+
|
|
5096
5107
|
declare class PreprocessSimpleRouteJsonSolver$1 extends BaseSolver {
|
|
5097
5108
|
readonly inputSrj: SimpleRouteJson;
|
|
5109
|
+
readonly visualizationOptions: ConvertSrjToGraphicsObjectOptions;
|
|
5098
5110
|
outputSrj?: SimpleRouteJson;
|
|
5099
|
-
constructor(inputSrj: SimpleRouteJson);
|
|
5111
|
+
constructor(inputSrj: SimpleRouteJson, visualizationOptions?: ConvertSrjToGraphicsObjectOptions);
|
|
5100
5112
|
_step(): void;
|
|
5101
5113
|
getOutputSimpleRouteJson(): SimpleRouteJson;
|
|
5102
|
-
getConstructorParams(): readonly [SimpleRouteJson];
|
|
5114
|
+
getConstructorParams(): readonly [SimpleRouteJson, ConvertSrjToGraphicsObjectOptions];
|
|
5103
5115
|
visualize(): GraphicsObject;
|
|
5104
5116
|
}
|
|
5105
5117
|
|
|
@@ -5688,6 +5700,7 @@ interface CapacityMeshSolverOptions$2 {
|
|
|
5688
5700
|
maxNodeDimension?: number;
|
|
5689
5701
|
maxNodeRatio?: number;
|
|
5690
5702
|
minNodeArea?: number;
|
|
5703
|
+
visualizationTraceColorMode?: TraceColorMode;
|
|
5691
5704
|
}
|
|
5692
5705
|
type PipelineStep$2<T extends new (...args: any[]) => BaseSolver> = {
|
|
5693
5706
|
solverName: string;
|
|
@@ -5733,6 +5746,7 @@ declare class AutoroutingPipelineSolver7_MultiGraph extends BaseSolver {
|
|
|
5733
5746
|
maxNodeDimension: number;
|
|
5734
5747
|
maxNodeRatio: number;
|
|
5735
5748
|
minNodeArea: number;
|
|
5749
|
+
visualizationTraceColorMode: TraceColorMode;
|
|
5736
5750
|
startTimeOfPhase: Record<string, number>;
|
|
5737
5751
|
endTimeOfPhase: Record<string, number>;
|
|
5738
5752
|
timeSpentOnPhase: Record<string, number>;
|
|
@@ -5756,6 +5770,10 @@ declare class AutoroutingPipelineSolver7_MultiGraph extends BaseSolver {
|
|
|
5756
5770
|
solveUntilPhase(phase: string): void;
|
|
5757
5771
|
getCurrentPhase(): string;
|
|
5758
5772
|
visualize(): GraphicsObject;
|
|
5773
|
+
visualizeStage(stageSolver: {
|
|
5774
|
+
visualize: () => GraphicsObject;
|
|
5775
|
+
}): GraphicsObject;
|
|
5776
|
+
visualizeFinalOutput(): GraphicsObject;
|
|
5759
5777
|
preview(): GraphicsObject;
|
|
5760
5778
|
_getOutputHdRoutes(): HighDensityRoute$1[];
|
|
5761
5779
|
getOutputSimplifiedPcbTraces(): SimplifiedPcbTraces;
|
|
@@ -6480,13 +6498,6 @@ declare class AssignableAutoroutingPipeline1Solver extends BaseSolver {
|
|
|
6480
6498
|
getOutputSimpleRouteJson(): SimpleRouteJson;
|
|
6481
6499
|
}
|
|
6482
6500
|
|
|
6483
|
-
declare const convertSrjToGraphicsObject: (srj: SimpleRouteJson) => {
|
|
6484
|
-
rects: Rect[];
|
|
6485
|
-
circles: Circle[];
|
|
6486
|
-
lines: Line[];
|
|
6487
|
-
points: Point$5[];
|
|
6488
|
-
};
|
|
6489
|
-
|
|
6490
6501
|
type RerouteRectRegion = {
|
|
6491
6502
|
shape: "rect";
|
|
6492
6503
|
minX: number;
|
|
@@ -6919,4 +6930,4 @@ declare class IntraNodeSolverWithJumpers extends BaseSolver {
|
|
|
6919
6930
|
visualize(): GraphicsObject;
|
|
6920
6931
|
}
|
|
6921
6932
|
|
|
6922
|
-
export { AssignableAutoroutingPipeline1Solver, AssignableAutoroutingPipeline2, AssignableAutoroutingPipeline3, AttachProjectedRectsSolver, AutoroutingPipeline1_OriginalUnravel, AutoroutingPipelineSolver7_MultiGraph as AutoroutingPipelineSolver, AutoroutingPipelineSolver2_PortPointPathing, AutoroutingPipelineSolver3_HgPortPointPathing, AutoroutingPipelineSolver4_TinyHypergraph as AutoroutingPipelineSolver4, AutoroutingPipelineSolver4_TinyHypergraph, AutoroutingPipelineSolver5_HdCache as AutoroutingPipelineSolver5, AutoroutingPipelineSolver5_HdCache, AutoroutingPipelineSolver6_PolyHypergraph as AutoroutingPipelineSolver6, AutoroutingPipelineSolver6_PolyHypergraph, AutoroutingPipelineSolver7_MultiGraph, AutoroutingPipelineSolver8, type AutoroutingPipelineSolverOptions, type CachableSolver, type CacheProvider, CapacityMeshSolver, CurvyIntraNodeSolver, GrowShrinkHighDensityIntraNodeSolver, type HighDensityIntraNodeRouteWithJumpers, JumperHighDensitySolver as HighDensitySolver, HyperSingleIntraNodeSolver, InMemoryCache, IntraNodeSolverWithJumpers, type Jumper, LocalStorageCache, PolyHighDensitySolver, PolySingleIntraNodeSolver as PolyIntraNodeSolver, PolySingleIntraNodeSolver, ProjectHighDensityToPolygonSolver, type RerouteRectRegion, SingleHighDensityRouteWithJumpersSolver, calculateOptimalCapacityDepth, convertSrjToGraphicsObject, getGlobalInMemoryCache, getGlobalLocalStorageCache, getRerouteSimpleRouteJson, getTunedTotalCapacity1, reconnectReroutedSimpleRouteJsonRegion, setupGlobalCaches };
|
|
6933
|
+
export { AssignableAutoroutingPipeline1Solver, AssignableAutoroutingPipeline2, AssignableAutoroutingPipeline3, AttachProjectedRectsSolver, AutoroutingPipeline1_OriginalUnravel, AutoroutingPipelineSolver7_MultiGraph as AutoroutingPipelineSolver, AutoroutingPipelineSolver2_PortPointPathing, AutoroutingPipelineSolver3_HgPortPointPathing, AutoroutingPipelineSolver4_TinyHypergraph as AutoroutingPipelineSolver4, AutoroutingPipelineSolver4_TinyHypergraph, AutoroutingPipelineSolver5_HdCache as AutoroutingPipelineSolver5, AutoroutingPipelineSolver5_HdCache, AutoroutingPipelineSolver6_PolyHypergraph as AutoroutingPipelineSolver6, AutoroutingPipelineSolver6_PolyHypergraph, AutoroutingPipelineSolver7_MultiGraph, AutoroutingPipelineSolver8, type AutoroutingPipelineSolverOptions, type CachableSolver, type CacheProvider, CapacityMeshSolver, type ConvertSrjToGraphicsObjectOptions, CurvyIntraNodeSolver, GrowShrinkHighDensityIntraNodeSolver, type HighDensityIntraNodeRouteWithJumpers, JumperHighDensitySolver as HighDensitySolver, HyperSingleIntraNodeSolver, InMemoryCache, IntraNodeSolverWithJumpers, type Jumper, LocalStorageCache, PolyHighDensitySolver, PolySingleIntraNodeSolver as PolyIntraNodeSolver, PolySingleIntraNodeSolver, ProjectHighDensityToPolygonSolver, type RerouteRectRegion, SingleHighDensityRouteWithJumpersSolver, type TraceColorMode, calculateOptimalCapacityDepth, convertSrjToGraphicsObject, getGlobalInMemoryCache, getGlobalLocalStorageCache, getRerouteSimpleRouteJson, getTunedTotalCapacity1, reconnectReroutedSimpleRouteJsonRegion, setupGlobalCaches };
|