* Roll the edge table up to module granularity, for a file → module * assignment the caller decides. * * The architecture map's single query: cross-module edge counts by kind, * the `declared` subset of each (see QueryBuilder.aggregateModuleGraph), * and the busiest symbol pai
(
assignments: ReadonlyArray<{ filePath: string; module: string }>,
options: {
kinds: readonly Edge['kind'][];
minConfidence: number;
topPairsPerLink: number;
pairKinds: readonly Edge['kind'][];
}
)
| 2569 | * the number of modules rather than the number of edges. |
| 2570 | */ |
| 2571 | getModuleAggregation( |
| 2572 | assignments: ReadonlyArray<{ filePath: string; module: string }>, |
| 2573 | options: { |
| 2574 | kinds: readonly Edge['kind'][]; |
| 2575 | minConfidence: number; |
| 2576 | topPairsPerLink: number; |
| 2577 | pairKinds: readonly Edge['kind'][]; |
| 2578 | } |
| 2579 | ): ReturnType<QueryBuilder['aggregateModuleGraph']> { |
| 2580 | return this.queries.aggregateModuleGraph(assignments, options); |
| 2581 | } |
| 2582 | |
| 2583 | /** |
| 2584 | * Every ordered pair of files where one reaches into the other. See |
no test coverage detected