framework_nodes
Identify critical hub modules in Swift codebases by combining structural importance (SIR) and connectivity, returning a ranked list of framework nodes.
Instructions
Identify framework-like (hub) modules using SIR + module connectivity.
A "framework node" is a module that is both:
Structurally important (high SIR/PageRank — central to the graph)
Highly connected (calls/imports many modules — orchestrator/hub role)
Framework score = 0.6 × normalized SIR + 0.4 × normalized connectivity, both auto-computed on first call. High-scoring modules are critical hubs: architecturally central AND complex in their interactions.
:param top: Number of top framework-like modules to return (default 20). :return: Markdown-formatted ranking table of framework nodes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |