One way to learn an application’s architecture is to identify patterns in the code and study the way these patterns are connected. The feature that detects patterns automatically is called architectural discovery.
Each pattern that architectural discovery detects is displayed in a topic diagram. You can review topic diagrams to become familiar with the architecture of the code. A topic diagram displays classes and interfaces that constitute an underlying pattern. For example, an abstraction would be in one topic diagram and an inheritance tree would be in another. Automated architectural discovery is an efficient way to gain an understanding of how an application is designed because it enables you to review the patterns in the code architecture.
Discovering patterns in the architecture
You select a pattern and click Discover Architecture to find code that displays classes and interfaces that constitute the selected pattern. Reviewing the patterns in code architecture is an efficient way to gain an understanding of how an application is designed.Exploring patterns in the architecture
You can explore a pattern in the code architecture by reviewing a topic diagram, which is a UML diagram of the classes and interfaces that constitute the underlying pattern. By reviewing the patterns, you gain an understanding of how an application is designed.
Related concepts
Scope and benefits of architectural discovery
Patterns in architectural discovery
Related information
Architectural discovery patterns reference