@tscircuit/capacity-autorouter 0.0.518 → 0.0.520
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 +4 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ interface CachableSolver<CacheToSolveSpaceTransform = any, CachedSolution = any>
|
|
|
55
55
|
|
|
56
56
|
type TraceId = string;
|
|
57
57
|
type NetId = string;
|
|
58
|
+
type BusId = string;
|
|
58
59
|
type PointId = string;
|
|
59
60
|
type OffBoardConnectionId = string;
|
|
60
61
|
type ObstacleId = string;
|
|
@@ -76,6 +77,7 @@ type MultiLayerConnectionPoint = {
|
|
|
76
77
|
y: number;
|
|
77
78
|
layers: string[];
|
|
78
79
|
pointId?: PointId;
|
|
80
|
+
busId?: BusId;
|
|
79
81
|
pcb_port_id?: string;
|
|
80
82
|
};
|
|
81
83
|
type ConnectionPoint$1 = SingleLayerConnectionPoint | MultiLayerConnectionPoint;
|
|
@@ -958,6 +960,8 @@ declare class CapacityMeshEdgeSolver extends BaseSolver {
|
|
|
958
960
|
_step(): void;
|
|
959
961
|
handleTargetNodes(): void;
|
|
960
962
|
doNodesHaveSharedLayer(node1: CapacityMeshNode, node2: CapacityMeshNode): boolean;
|
|
963
|
+
hasEdgeBetween(node1: CapacityMeshNode, node2: CapacityMeshNode): boolean;
|
|
964
|
+
doNodesTouchOrOverlap(node1: CapacityMeshNode, node2: CapacityMeshNode): boolean;
|
|
961
965
|
visualize(): GraphicsObject;
|
|
962
966
|
}
|
|
963
967
|
|