analyze

fun analyze(graph: ModuleDependencyGraph, layers: List<LayerSpec> = emptyList(), teams: Map<String, List<String>> = emptyMap()): RegionMap(source)

Groups graph into regions.

Return

The best available partition, or RegionMap.EMPTY for a project small enough to read directly.

Parameters

layers

Declared layers, in declaration order. Tried first.

teams

Declared team name to module glob patterns. Tried second.