Home / Model Expert Homepage / Model Expert Help / Using Reference Models / Validate a Diagram against a Reference Model
Import an MDG to create a Reference Model
Importing and exporting Reference Models
Editing RM Connector type properties
Stereotypes inheriting from other Element Types
Customizing Reference Model Properties
Customizing Reference Model Element Properties
Table of contents
2Managed and Unmanaged Diagrams
2.1Options
2.2What Model Expert will check
2.4Results
Validate a Diagram against a Reference Model
Table of contents
2Managed and Unmanaged Diagrams
2.1Options
2.2What Model Expert will check
2.4Results
Access
EA Project browser > Select diagram > Right Click > Specialize > Model Expert > Check Diagram
Open EA diagram > Right Click > Specialize > Model Expert > Check Diagram
Managed and Unmanaged Diagrams
You can check any diagram with Model Expert.
- Managed diagrams are automatically checked against both the applicable Reference Model AND the diagram type definition in that Reference Model as content is added, so the Check Diagram dialogue is not presented for these diagrams.
- Un-managed diagrams will be checked against the Reference Model you select, and optionally the diagram type you select, defined in the Check diagram dialogue.
- Instance diagrams will ONLY be checked against the classifiers of all elements, not against a Reference Model. Choose this option in the Check diagram dialogue.
Options
Item | Description | See Also |
---|---|---|
Check against a Reference Model
|
Choose a Reference Model from the drop down list, and, if defined, a diagram type | Finding Reference Models |
OR | ||
Instance Diagram | Select if appropriate | Checking Instance Models |
Options:
|
|
Writing scripted rules |
What Model Expert will check
Results
Once you have run the analyzer, if there are violations (errors) they appear as annotations on a copy of the diagram you have analyzed.
You have the option to see the violations in a list – useful if it’s not clear in the diagram exactly where the problem is – and then save the violations as EA elements.
Error Sensitivity
If you are getting too many ‘error’ messages on your diagrams, you can switch-off some of the errors.
When using a Reference Model to validate the diagram, then in the RM details, on the Validation Rules page, change the severity of any types of error you don’t want to see to zero.
See Also
Checking some Example Diagrams
Reference Model Context Properties