System models tend to be large and complex. You can create a custom subset of components from architecture models by filtering model elements based on criteria such as stereotypes, properties, and requirement links. This custom subset is called an architecture view and is a simplified way of working with complex systems. You can use views to focus on certain parts of the architectural design and create operational, functional, or physical views for analysis.
Use queries to define custom viewpoints on the architecture model. View filters rely on the constraints defined by queries. Define queries programmatically.
Define architecture views and hierarchical views in the Architecture Views Gallery. Hierarchical views show the same set of components in tree form.
|Find architecture model elements using query|
|Open architecture views editor|
|Create architecture view|
|Find architecture view|
|Delete architecture view|
|Modify architecture view query and property groupings|
|Re-run architecture view query on model|
|Remove architecture view query|
|Add component to element group of view|
|Remove component from element group of view|
|Create subgroup in element group of view|
|Get subgroup in element group of view|
|Delete subgroup in element group of view|
|Remove model element|
View structural and functional model hierarchies interactively.
View structural and functional model hierarchies programmatically.
This example shows how to use hierarchy views to visualize component hierarchy as a tree diagram with component stereotypes, stereotype properties, and the reference type a component instantiates.