importfix
v0.1.0Detect circular imports, report the exact cycle per component, and suggest a break point.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
find_import_cycles
Detect circular imports in a module graph. Reports exactly one representative cycle per cyclic strongly connected component (not all elementary cycles), plus single-node self-loops, each with the exact cycle nodes and edges and a suggested break point whose target has the fewest dependents in the graph.
| Parameter | Type | Description |
|---|---|---|
modules * | array | Modules in the graph; each entry names a module path and the paths it imports |