@tscircuit/capacity-autorouter 0.0.663 → 0.0.665
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 +22 -10
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -4754,6 +4754,7 @@ interface HgPortPointPathingSolverParams {
|
|
|
4754
4754
|
flags: {
|
|
4755
4755
|
FORCE_CENTER_FIRST: boolean;
|
|
4756
4756
|
RIPPING_ENABLED: boolean;
|
|
4757
|
+
USE_SELECTIVE_RERIP_ROUTING?: boolean;
|
|
4757
4758
|
};
|
|
4758
4759
|
weights: {
|
|
4759
4760
|
/** Seed used for deterministic shuffling in rip-selection ordering. */
|
|
@@ -5093,13 +5094,25 @@ declare class MultipleHighDensityRouteStitchSolver3 extends BaseSolver {
|
|
|
5093
5094
|
visualize(): GraphicsObject;
|
|
5094
5095
|
}
|
|
5095
5096
|
|
|
5097
|
+
type TraceColorMode = "layer" | "net";
|
|
5098
|
+
type ConvertSrjToGraphicsObjectOptions = {
|
|
5099
|
+
traceColorMode?: TraceColorMode;
|
|
5100
|
+
};
|
|
5101
|
+
declare const convertSrjToGraphicsObject: (srj: SimpleRouteJson, options?: ConvertSrjToGraphicsObjectOptions) => {
|
|
5102
|
+
rects: Rect[];
|
|
5103
|
+
circles: Circle[];
|
|
5104
|
+
lines: Line[];
|
|
5105
|
+
points: Point$5[];
|
|
5106
|
+
};
|
|
5107
|
+
|
|
5096
5108
|
declare class PreprocessSimpleRouteJsonSolver$1 extends BaseSolver {
|
|
5097
5109
|
readonly inputSrj: SimpleRouteJson;
|
|
5110
|
+
readonly visualizationOptions: ConvertSrjToGraphicsObjectOptions;
|
|
5098
5111
|
outputSrj?: SimpleRouteJson;
|
|
5099
|
-
constructor(inputSrj: SimpleRouteJson);
|
|
5112
|
+
constructor(inputSrj: SimpleRouteJson, visualizationOptions?: ConvertSrjToGraphicsObjectOptions);
|
|
5100
5113
|
_step(): void;
|
|
5101
5114
|
getOutputSimpleRouteJson(): SimpleRouteJson;
|
|
5102
|
-
getConstructorParams(): readonly [SimpleRouteJson];
|
|
5115
|
+
getConstructorParams(): readonly [SimpleRouteJson, ConvertSrjToGraphicsObjectOptions];
|
|
5103
5116
|
visualize(): GraphicsObject;
|
|
5104
5117
|
}
|
|
5105
5118
|
|
|
@@ -5688,6 +5701,7 @@ interface CapacityMeshSolverOptions$2 {
|
|
|
5688
5701
|
maxNodeDimension?: number;
|
|
5689
5702
|
maxNodeRatio?: number;
|
|
5690
5703
|
minNodeArea?: number;
|
|
5704
|
+
visualizationTraceColorMode?: TraceColorMode;
|
|
5691
5705
|
}
|
|
5692
5706
|
type PipelineStep$2<T extends new (...args: any[]) => BaseSolver> = {
|
|
5693
5707
|
solverName: string;
|
|
@@ -5733,6 +5747,7 @@ declare class AutoroutingPipelineSolver7_MultiGraph extends BaseSolver {
|
|
|
5733
5747
|
maxNodeDimension: number;
|
|
5734
5748
|
maxNodeRatio: number;
|
|
5735
5749
|
minNodeArea: number;
|
|
5750
|
+
visualizationTraceColorMode: TraceColorMode;
|
|
5736
5751
|
startTimeOfPhase: Record<string, number>;
|
|
5737
5752
|
endTimeOfPhase: Record<string, number>;
|
|
5738
5753
|
timeSpentOnPhase: Record<string, number>;
|
|
@@ -5756,6 +5771,10 @@ declare class AutoroutingPipelineSolver7_MultiGraph extends BaseSolver {
|
|
|
5756
5771
|
solveUntilPhase(phase: string): void;
|
|
5757
5772
|
getCurrentPhase(): string;
|
|
5758
5773
|
visualize(): GraphicsObject;
|
|
5774
|
+
visualizeStage(stageSolver: {
|
|
5775
|
+
visualize: () => GraphicsObject;
|
|
5776
|
+
}): GraphicsObject;
|
|
5777
|
+
visualizeFinalOutput(): GraphicsObject;
|
|
5759
5778
|
preview(): GraphicsObject;
|
|
5760
5779
|
_getOutputHdRoutes(): HighDensityRoute$1[];
|
|
5761
5780
|
getOutputSimplifiedPcbTraces(): SimplifiedPcbTraces;
|
|
@@ -6480,13 +6499,6 @@ declare class AssignableAutoroutingPipeline1Solver extends BaseSolver {
|
|
|
6480
6499
|
getOutputSimpleRouteJson(): SimpleRouteJson;
|
|
6481
6500
|
}
|
|
6482
6501
|
|
|
6483
|
-
declare const convertSrjToGraphicsObject: (srj: SimpleRouteJson) => {
|
|
6484
|
-
rects: Rect[];
|
|
6485
|
-
circles: Circle[];
|
|
6486
|
-
lines: Line[];
|
|
6487
|
-
points: Point$5[];
|
|
6488
|
-
};
|
|
6489
|
-
|
|
6490
6502
|
type RerouteRectRegion = {
|
|
6491
6503
|
shape: "rect";
|
|
6492
6504
|
minX: number;
|
|
@@ -6919,4 +6931,4 @@ declare class IntraNodeSolverWithJumpers extends BaseSolver {
|
|
|
6919
6931
|
visualize(): GraphicsObject;
|
|
6920
6932
|
}
|
|
6921
6933
|
|
|
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 };
|
|
6934
|
+
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 };
|