Skip to main content

Module layer

Module layer 

Source

Structs§

ArchLayer
A single detected architectural layer in the dependency hierarchy.
LayerCache
Cache for layer detection results to avoid re-running the full algorithm on unchanged graphs.
LayerDetectionResult
Full output from a layer detection run.
LayerDetector
Architectural layer detector.
LayerHealth
Health metrics for a single architectural layer.
LayerViolation
A single layering violation detected in the dependency graph.
UtilityNode
A node identified as cross-cutting, a bridge between non-adjacent layers, or an orphan.

Enums§

UtilityClassification
Classification of a utility/cross-cutting node.
ViolationSeverity
Severity of a detected layering violation.
ViolationType
Category of a detected layering violation.

Constants§

DEFAULT_MAX_LAYERS
Maximum number of architectural layers the detector will produce (default).
DEFAULT_MIN_NODES_PER_LAYER
Minimum number of nodes a layer must contain before it is merged into an adjacent layer (default).