@tscircuit/capacity-autorouter 0.0.178 → 0.0.180

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 CHANGED
@@ -57,6 +57,8 @@ interface Obstacle {
57
57
  }
58
58
  interface SimpleRouteConnection {
59
59
  name: string;
60
+ rootConnectionName?: string;
61
+ mergedConnectionNames?: string[];
60
62
  isOffBoard?: boolean;
61
63
  netConnectionName?: string;
62
64
  nominalTraceWidth?: number;
@@ -118,6 +120,7 @@ type CapacityPathId = string;
118
120
  interface CapacityPath {
119
121
  capacityPathId: CapacityPathId;
120
122
  connectionName: string;
123
+ rootConnectionName?: string;
121
124
  nodeIds: CapacityMeshNodeId[];
122
125
  /** True if this path was created by splitting at an offboard edge */
123
126
  isFragmentedPath?: boolean;
@@ -187,6 +190,7 @@ interface NodePortSegment {
187
190
  };
188
191
  availableZ: number[];
189
192
  connectionNames: string[];
193
+ rootConnectionNames?: string[];
190
194
  }
191
195
 
192
196
  /**
@@ -215,6 +219,7 @@ declare class CapacityEdgeToPortSegmentSolver extends BaseSolver {
215
219
 
216
220
  type PortPoint = {
217
221
  connectionName: string;
222
+ rootConnectionName?: string;
218
223
  x: number;
219
224
  y: number;
220
225
  z: number;
@@ -246,6 +251,7 @@ type NodeWithPortPoints = {
246
251
  */
247
252
  type HighDensityIntraNodeRoute$1 = {
248
253
  connectionName: string;
254
+ rootConnectionName?: string;
249
255
  traceThickness: number;
250
256
  viaDiameter: number;
251
257
  route: Array<{
@@ -263,6 +269,7 @@ type HighDensityRoute$1 = HighDensityIntraNodeRoute$1;
263
269
  interface SegmentWithAssignedPoints extends NodePortSegment {
264
270
  assignedPoints?: {
265
271
  connectionName: string;
272
+ rootConnectionName?: string;
266
273
  point: {
267
274
  x: number;
268
275
  y: number;
@@ -289,6 +296,7 @@ declare class CapacitySegmentToPointSolver extends BaseSolver {
289
296
  solvedSegments: (NodePortSegment & {
290
297
  assignedPoints: {
291
298
  connectionName: string;
299
+ rootConnectionName?: string;
292
300
  point: {
293
301
  x: number;
294
302
  y: number;
@@ -1088,6 +1096,7 @@ interface SegmentPoint {
1088
1096
  segmentPointId: SegmentPointId;
1089
1097
  directlyConnectedSegmentPointIds: SegmentPointId[];
1090
1098
  connectionName: string;
1099
+ rootConnectionName?: string;
1091
1100
  segmentId: string;
1092
1101
  capacityMeshNodeIds: CapacityMeshNodeId[];
1093
1102
  x: number;
@@ -1837,12 +1846,6 @@ declare class AutoroutingPipelineSolver extends BaseSolver {
1837
1846
  * 3. High Density Route Solver Output, max 200 lines
1838
1847
  */
1839
1848
  preview(): GraphicsObject;
1840
- /**
1841
- * Get original connection name from connection name with MST suffix
1842
- * @param mstConnectionName The MST-suffixed connection name (e.g. "connection1_mst0")
1843
- * @returns The original connection name (e.g. "connection1")
1844
- */
1845
- private getOriginalConnectionName;
1846
1849
  _getOutputHdRoutes(): HighDensityRoute$1[];
1847
1850
  /**
1848
1851
  * Returns the SimpleRouteJson with routes converted to SimplifiedPcbTraces
@@ -2667,12 +2670,6 @@ declare class AssignableViaAutoroutingPipelineSolver extends BaseSolver {
2667
2670
  * 3. High Density Route Solver Output, max 200 lines
2668
2671
  */
2669
2672
  preview(): GraphicsObject;
2670
- /**
2671
- * Get original connection name from connection name with MST suffix
2672
- * @param mstConnectionName The MST-suffixed connection name (e.g. "connection1_mst0")
2673
- * @returns The original connection name (e.g. "connection1")
2674
- */
2675
- private getOriginalConnectionName;
2676
2673
  _getOutputHdRoutes(): HighDensityRoute$1[];
2677
2674
  /**
2678
2675
  * Returns the SimpleRouteJson with routes converted to SimplifiedPcbTraces