generate
Generates the full HTML string for the interactive dependency report.
Parameters
Root project name shown in the report title
The complete module dependency graph
Pre-computed summary statistics
Rule violations (empty for pure visualization, populated when rules run)
The active rule set (one entry per rule id), injected as summary.rules so the report's Rules panel can list every enforced rule, its severity, and whether it passed - not only the rules that failed. Empty when no rules run.
JSON array string of historical trend entries, injected into the report so the client-side chart can plot module/edge counts over time. Defaults to "[]" when no history is available yet.
Map of team name to the module path glob patterns it owns, from the teams { } DSL. Injected as summary.teamOwners; the report resolves module→team client-side and draws the ownership colour overlay. Empty map (the default) leaves the overlay disabled.
The layers declared in the layers { } DSL, in declaration order. Injected as summary.layers so the Architecture swimlane and the layer purity table group modules by what the build actually enforces. When empty, the report falls back to inferring layers from module path segments and labels them as inferred - it never presents a guess as a declaration.