generateHtml
fun generateHtml(trendJson: String = "[]", teamOwners: Map<String, List<String>> = emptyMap(), mainSequence: List<ModuleMainSequence> = emptyList(), hiddenCoupling: List<CoChange> = emptyList(), churn: List<ModuleChurn> = emptyList(), layers: List<LayerSpec> = emptyList()): String(source)
Generates the self-contained HTML report. Returns the complete HTML string.
Parameters
trendJson
JSON array string of historical trend entries to embed in the report. Defaults to "[]" when no trend history is available.
teamOwners
Map of team name to the module path glob patterns it owns, from the teams { } DSL. Drives the ownership colour overlay; empty (the default) disables it.
layers
The layers declared in the layers { } DSL, in declaration order. Groups the Architecture swimlane and the layer purity table by what the build enforces; empty (the default) makes the report fall back to inferring layers from module paths and say so.