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
Astah SysML and Astah System Safety
Latest Version
1.0.1 (January 4, 2024)
Developer
Zsolt Sandor, a founder of Systems Engineering Professionals Community
Support

 

Plugin Overview:

The Astah Model Validator Plug-in checks SysML models in Astah SysML and Astah System Safety against validation rules that you define. You write the rules as Groovy scripts in a YAML file, and the plug-in lists every element that violates them, so you can find and fix inconsistencies and errors in your models. The plug-in is open source and published on GitHub (modeldriven-hu/astah-validator).
Validation results of the Astah Model Validator Plug-in

 

Features:

  • Runs validation rules on the current model.
  • Supports multiple rule suites and rules.
  • Rules are written in Groovy.
  • Shows rule violations in a table, grouped by number of violations.
  • Context menu to jump to an element with errors in the Structure Tree or on a diagram.
  • Sortable result table.

 

Installation Instructions:

  1. Download the latest .jar file from the release page.
  2. In Astah, go to [Plugin] – [Installed Plugin].
  3. In the dialog, click [Install] and select the downloaded .jar file.
  4. Restart Astah and create a new project or open an existing one.
  5. The installation is complete if the [Model Validation] tab appears below the Diagram Editor.
    Model Validation tab in Astah SysML

 

 

How to use

 

1. Defining Validation Rules in a YAML File:

Write your validation rules as Groovy scripts in a YAML file. The plug-in author provides sample validation rules.

 

2. Loading the YAML File:

Save the YAML file on your computer, click the [Select Repository] button and choose the file.
Selecting the YAML file with validation rules

 

3. Selecting Package:

Click the [Select package] button and choose the package to check.
Selecting the package to validate

 

4. Executing the Validation Check:

Click the [Validate] button to check the models against your rules.
Validation results after clicking Validate

 

5. Fixing Errors:

Right-click a model in the results to jump to it in the Structure Tree or on a diagram, and fix the error there.
Context menu to select the model in the Structure Tree or on a diagram