Main Content

Create Custom Views

Create custom viewpoints of an architecture model

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.

Classes

expand all

systemcomposer.view.ViewClass that represents architecture view
systemcomposer.view.ElementGroupClass that represents architecture view element group
systemcomposer.query.ConstraintClass that represents query constraint

Functions

findFind architecture model elements using query
openViewsOpen architecture views editor
createViewCreate architecture view
getViewFind architecture view
deleteViewDelete architecture view
modifyQueryModify architecture view query and property groupings
runQueryRe-run architecture view query on model
removeQueryRemove architecture view query
addElementAdd component to element group of view
removeElementRemove component from element group of view
createSubGroupCreate subgroup in element group of view
getSubGroupGet subgroup in element group of view
deleteSubGroupDelete subgroup in element group of view
destroyRemove model element

Topics

Create Architecture Views Interactively

View structural and functional model hierarchies interactively.

Create Architectural Views Programmatically

View structural and functional model hierarchies programmatically.

Display Component Hierarchy Using Hierarchy Views

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.

Featured Examples