capture
fun capture(graph: ModuleDependencyGraph, layers: List<LayerSpec> = emptyList(), aalekhVersion: String = ""): ArchitectureSnapshot(source)
Records graph as a snapshot.
Parameters
layers
Declared layers, so the snapshot remembers which layer claimed each module and a later diff can report a module moving between them.