Using Layer Diagrams
How often have we seen a well-thought-out design degrade because we lose control over the way our code evolves? One common reason for that is badly managed dependencies. In Chapter 12 we looked at how Architecture Explorer and the dependency diagram can be used to visualize code dependencies and to help us detect problem areas in our codebase. It would be better, though, if instead of having a tool to help us find issues in our code, we had one that would help us prevent the problems in the first place.
One such tool is the layer diagram. Part of the architecture tools in Visual Studio Ultimate, the layer diagram ...