Inspect Components in Custom Architecture Views
View the hierarchy and connectivity of a component in a specialized view. Specialized views allow you to create simpler diagrams that show only a subset of the original model elements for a specific design activity or concern.
You will use the System Composer™ architecture model below in this tutorial.
Mobile Robot Architecture Model with Properties
This example shows a mobile robot architecture model with stereotypes applied to components and properties defined.
Create Spotlight Views from Components
Create views dynamically using spotlight views.
Sensorscomponent, then select the
DataProcessingcomponent and select
Create Spotlight from Component. Alternatively, select the
DataProcessingcomponent and navigate to Modeling > Architecture Views > Spotlight.
The spotlight view launches and shows all model elements to which the
DataProcessingcomponent connects. The spotlight diagram is laid out automatically and cannot be edited. However, it allows you to inspect just a single component and study its connectivity to other components.
Spotlight views are transient. They are not saved with the model.
Shift the spotlight to another component. Select the Motion component. Click the ellipsis above the component to open the action menu. To create a spotlight from the component, click .
To view the architecture model at the level of a particular component, select the component and click .
To return to the architecture model view, click .
You can make the hierarchy and connectivity of a component visible at all times during model development by opening the spotlight view in a separate window. To show the spotlight view in a dedicated window, select Open in New Window in the component context menu, then create the spotlight view. Spotlight views are dynamic and transient: any change in the composition refreshes any open spotlight views, and spotlight views are not saved with the model.
Create Filtered Architecture View
Create filtered architecture views to demonstrate specific perspectives with a component diagram or a hierarchy diagram.
Navigate to Modeling > Architecture Views to open the Architecture Views Gallery.
Select New > View to create a new view.
In View Properties on the right pane, in the Name box, enter a name for this view, for example,
System Elements. If necessary, choose a Color and enter a Description.
In the bottom pane, select View Configurations > Filter > Add Component Filter to add new form-based criterion to a component filter.
From the Select list, select
Components. From the Where list, select
Stereotype. In the text box, select
simpleProfile.sysComponentfrom the list.
Click Apply .
An architecture view is created using the query in the Component Filter box. The view is filtered to select all components with the
simpleProfile.sysComponentstereotype applied to them.
Navigate to Diagram > Component Hierarchy to display the components in tree form with parents above children.
Navigate to Diagram > Architecture Hierarchy to display unique architecture types and their relationships using composition connections.