@tscircuit/capacity-autorouter 0.0.734 → 0.0.736
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 +19 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import { DatasetSample, HighDensityRepairSolver } from 'high-density-repair02';
|
|
|
16
16
|
import { LayerMergeMode, ConvexRegionsComputeResult, SerializedPolyHyperGraph } from 'pcb-poly-hyper-graph';
|
|
17
17
|
import { PolyHyperGraphLoadResult, PolyHyperGraphSolver } from 'tiny-hypergraph-poly/lib/index';
|
|
18
18
|
import { PostProcessingSolver } from '@tscircuit/length-matching-solver';
|
|
19
|
+
import { PowerTraceExpanderOptions, PowerTraceExpanderSolver } from '@tscircuit/power-trace-expander';
|
|
19
20
|
|
|
20
21
|
interface CacheProvider {
|
|
21
22
|
isSyncCache: boolean;
|
|
@@ -5772,6 +5773,20 @@ declare class MergedComponentTopologyView extends BaseSolver {
|
|
|
5772
5773
|
preview(): GraphicsObject;
|
|
5773
5774
|
}
|
|
5774
5775
|
|
|
5776
|
+
declare class PowerTraceExpansionSolver extends BaseSolver {
|
|
5777
|
+
readonly inputSrj: SimpleRouteJson;
|
|
5778
|
+
readonly options: PowerTraceExpanderOptions;
|
|
5779
|
+
readonly powerTraceExpanderSolver: PowerTraceExpanderSolver;
|
|
5780
|
+
constructor(inputSrj: SimpleRouteJson, options?: PowerTraceExpanderOptions);
|
|
5781
|
+
_step(): void;
|
|
5782
|
+
getConstructorParams(): readonly [
|
|
5783
|
+
SimpleRouteJson,
|
|
5784
|
+
PowerTraceExpanderOptions
|
|
5785
|
+
];
|
|
5786
|
+
getOutput(): SimplifiedPcbTraces;
|
|
5787
|
+
visualize(): GraphicsObject;
|
|
5788
|
+
}
|
|
5789
|
+
|
|
5775
5790
|
interface CapacityMeshSolverOptions$3 {
|
|
5776
5791
|
capacityDepth?: number;
|
|
5777
5792
|
targetMinCapacity?: number;
|
|
@@ -5781,6 +5796,7 @@ interface CapacityMeshSolverOptions$3 {
|
|
|
5781
5796
|
maxNodeRatio?: number;
|
|
5782
5797
|
minNodeArea?: number;
|
|
5783
5798
|
visualizationTraceColorMode?: TraceColorMode;
|
|
5799
|
+
powerTraceExpansion?: PowerTraceExpanderOptions;
|
|
5784
5800
|
}
|
|
5785
5801
|
type PipelineStep$3<T extends new (...args: any[]) => BaseSolver> = {
|
|
5786
5802
|
solverName: string;
|
|
@@ -5814,6 +5830,7 @@ declare class AutoroutingPipelineSolver7_MultiGraph extends BaseSolver {
|
|
|
5814
5830
|
deadEndSolver?: DeadEndSolver;
|
|
5815
5831
|
traceSimplificationSolver?: TraceSimplificationSolver;
|
|
5816
5832
|
postProcessingSolver?: PostProcessingSolver;
|
|
5833
|
+
powerTraceExpansionSolver?: PowerTraceExpansionSolver;
|
|
5817
5834
|
availableSegmentPointSolver?: AvailableSegmentPointSolver;
|
|
5818
5835
|
portPointPathingSolver?: TinyHypergraphPortPointPathingSolver;
|
|
5819
5836
|
multiSectionPortPointOptimizer?: MultiSectionPortPointOptimizer;
|
|
@@ -5843,7 +5860,7 @@ declare class AutoroutingPipelineSolver7_MultiGraph extends BaseSolver {
|
|
|
5843
5860
|
sharedEdgeSegmentsWithNecessaryCrampedPortPoints?: SharedEdgeSegment[];
|
|
5844
5861
|
highDensityNodePortPoints?: NodeWithPortPoints[];
|
|
5845
5862
|
cacheProvider: CacheProvider | null;
|
|
5846
|
-
pipelineDef: (PipelineStep$3<typeof PreprocessSimpleRouteJsonSolver$1> | PipelineStep$3<typeof ComponentDetectionSolver> | PipelineStep$3<typeof EscapeViaLocationSolver> | PipelineStep$3<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$3<typeof MultiGraphTopologyPlannerSolver> | PipelineStep$3<typeof TopologyMergingSolver> | PipelineStep$3<typeof NodeDimensionSubdivisionSolver> | PipelineStep$3<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$3<typeof AvailableSegmentPointSolver> | PipelineStep$3<typeof MultiTargetNecessaryCrampedPortPointSolver> | PipelineStep$3<typeof TinyHypergraphPortPointPathingSolver> | PipelineStep$3<typeof UniformPortDistributionSolver> | PipelineStep$3<typeof HighDensitySolver> | PipelineStep$3<typeof HighDensityForceImproveSolver> | PipelineStep$3<typeof Pipeline4HighDensityRepairSolver> | PipelineStep$3<typeof MultipleHighDensityRouteStitchSolver3> | PipelineStep$3<typeof TraceSimplificationSolver> | PipelineStep$3<typeof TraceWidthSolver> | PipelineStep$3<typeof GlobalDrcForceImproveSolver> | PipelineStep$3<typeof GlobalDrcBranchPortfolioSolver> | PipelineStep$3<typeof PostProcessingSolver>)[];
|
|
5863
|
+
pipelineDef: (PipelineStep$3<typeof PreprocessSimpleRouteJsonSolver$1> | PipelineStep$3<typeof ComponentDetectionSolver> | PipelineStep$3<typeof EscapeViaLocationSolver> | PipelineStep$3<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$3<typeof MultiGraphTopologyPlannerSolver> | PipelineStep$3<typeof TopologyMergingSolver> | PipelineStep$3<typeof NodeDimensionSubdivisionSolver> | PipelineStep$3<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$3<typeof AvailableSegmentPointSolver> | PipelineStep$3<typeof MultiTargetNecessaryCrampedPortPointSolver> | PipelineStep$3<typeof TinyHypergraphPortPointPathingSolver> | PipelineStep$3<typeof UniformPortDistributionSolver> | PipelineStep$3<typeof HighDensitySolver> | PipelineStep$3<typeof HighDensityForceImproveSolver> | PipelineStep$3<typeof Pipeline4HighDensityRepairSolver> | PipelineStep$3<typeof MultipleHighDensityRouteStitchSolver3> | PipelineStep$3<typeof TraceSimplificationSolver> | PipelineStep$3<typeof TraceWidthSolver> | PipelineStep$3<typeof GlobalDrcForceImproveSolver> | PipelineStep$3<typeof GlobalDrcBranchPortfolioSolver> | PipelineStep$3<typeof PostProcessingSolver> | PipelineStep$3<typeof PowerTraceExpansionSolver>)[];
|
|
5847
5864
|
constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$3);
|
|
5848
5865
|
private setSimpleRouteJson;
|
|
5849
5866
|
getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$3];
|
|
@@ -5859,6 +5876,7 @@ declare class AutoroutingPipelineSolver7_MultiGraph extends BaseSolver {
|
|
|
5859
5876
|
preview(): GraphicsObject;
|
|
5860
5877
|
_getOutputHdRoutes(): HighDensityRoute$1[];
|
|
5861
5878
|
getOutputSimplifiedPcbTraces(): SimplifiedPcbTraces;
|
|
5879
|
+
getPrePowerTraceOutputSimplifiedPcbTraces(): SimplifiedPcbTraces;
|
|
5862
5880
|
getOutputSimpleRouteJson(): SimpleRouteJson;
|
|
5863
5881
|
}
|
|
5864
5882
|
|