Book a Demo
Prev Next

Built-in Metamodel Diagram View

The 'New Diagram' dialog includes a number of different Views that offer different palette sets and focus goals for diagram types such as UML, SysML, BPMN and UAF, amongst others. As an example, if you have the goal of modeling a simple SysML Block Definition diagram with no advanced features, the 'Basic Blocks View' under the 'SysML 1.5  Block Definition Diagram' section might be a better option than using the full Block Definition diagram set. This example is used to provide values in the procedures in this topic.

Working with Diagram Views

Step

Action

See also

1

In the Browser window, click on the Package or element under which to place the diagram.

Open the 'New Diagram' dialog, select 'SysML 1.4 Views:: Basic Blocks' and click on the OK button to create the diagram.

Showing how to create a diagram with a metamodel view using the New Diagram dialog in Sparx Systems Enterprise Architect.
Add New Diagrams

2

In the Properties window for the created diagram, the 'Applied Metamodel' field will show the applied diagram View. You can also click on the drop-down arrow in this field and select another of the available diagram Views from the list.

Showing how to set the Applied Metamodel property for a diagram in Sparx Systems Enterprise Architect.
Diagram Properties - General

3

In the Diagram Toolbox, the restricted set of elements and relationships associated with the diagram view will be visible.

Showing a reduced diagram toolbox as defined by an applied metamodel, in SParx Systems Enterprise Architect.

Changing the diagram views in the 'Applied Metamodel' option list will change the elements and relationships in the Toolbox.

Diagram Toolbox

4

Selecting the 'Filter to Metamodel' option in the Properties window will gray out any elements that are not part of the current diagram View set. This allows you to correct any parts of your model that don't meet the purpose of the selected View, or to filter out elements that might be required to be there, but do not form part of the current modeling goal.

Showing how the Filter to Metamodel option can be used to hide all elements in a diagram that are not defined as part of the diagram's applied metamodel.