Astah Model Validator Plug-in

Refine SysML models with the Astah Model Validator Plug-in. Create custom Groovy-scripted validation rules in YAML files, and efficiently detect and correct rule violations!

Details

Compatible with
Latest Version
1.0.1 (January 4, 2024)
Developer
Zsolt Sandor, a founder of Systems Engineering Professionals Community
Support

 

Plugin Overview:

Maximize your SysML modeling accuracy with the Astah Model Validator Plug-in.
Designed for use with Astah SysML and Astah System Safety, this tool empowers users to define their own validation rules in Groovy script, stored within YAML files. It conducts thorough checks on SysML models against these custom rules, effectively identifying and highlighting any rule violations.
This plug-in is essential for users seeking to pinpoint and correct inconsistencies or errors, ensuring high-quality and compliant model designs.
Astah Model Validator Plugin Sample Image

 

Features:

  • Execute validation rules on the current model.
  • Support for multiple suites and validation rules.
  • Groovy scripting for rules description.
  • Tabular display of rule violations, categorized by the number of violations.
  • Context menu support for direct navigation to erroneous elements in the structure tree or diagram.
  • Sorting capabilities in the table.
colorful divider

 

Installation Instructions:

  1. Download the latest .jar from the release page.
  2. In Astah, navigate to [Plugin] -> [Installed Plugins].
  3. In the dialogue box, click [Install], then select the downloaded .jar file.
  4. Restart Astah and either start a new project or open an existing file.
  5. The installation is successful if you see the [Model Validation] tab beneath the diagram editor.
    Installation of model validator plugin in Astah SysML

 

colorful divider

 

How to use

 

1. Defining Validation Rules in a YAML File:

Create validation rules using Groovy script, stored in a standard YAML file.
Sample validation rules provided by the plug-in author here.

 

2. Loading the YAML File:

Save your defined validation rules on your computer.
Click the [Select Repository] button and choose the .yaml file.
Select Validation Rule Files

 

3. Selecting Package:

Click the [Select package] button and choose the package for the validation check.
Select Package to run the validation check for

 

 

4. Executing the Validation Check:

Click the [Validate] button to run the validation check based on your defined rules.
Run Validation Check

 

5. Fixing Errors:

Right-click on a model in the results to open a menu for direct access to the model in the tree or diagram, then facilitate the error correction.
Select the model in the tree view or diagram in Astah SysML

 

What are you looking for?