Something 2 GSN Plug-in

The plugin converts models on Class diagrams, Activity Diagrams, Block Definition diagrams and Mindmaps created in Astah Products to GSN (Goal Structuring Notation) models.

   Versions


   How to Install

Choose your edition.
      


How to Install on Astah Professional

  1. Download the Plug-in file by clicking the blue Download button at the top of this page.
  2. Launch Astah and drag the downloaded .jar file to an open instance of Astah. A pop-up will appear asking you to confirm installation, choose [Yes]
  3. If the pop-up opens, restart Astah and open any project.
    astah plugin menu
    The [Plugin] menu exists in Astah Professional version 7.2 or later. If you are using other editions, read FAQ.
  4. Now you will have [GSN generator] item under [Tools] menu.
  5. Go to "How to Use"

How to Install on Astah SysML

  1. Download the Plug-in file by clicking the blue Download button at the top of this page.
  2. Launch Astah and go to [Help] - [Plugin List].
    astah-sysml plugin menu
  3. Click [Install] button and select the .jar file you donwloaded.
    astah-sysml plugin menu
  4. Restart Astah and open any project.
    astah-sysml plugin menu
  5. Now you will have [GSN generator] item under [Tools] menu. (This is a screenshot of Astah Professional.)
  6. Go to "How to Use"



   How to Use

Diagrams to convert

  • Below is a sample MindMap before converting to GSN:
    astah something2gsn
  • Each topic must have a suffix starting with a colon followed by strings like "goal" or "strategy", which to specify the GSN model type to convert in to. All the supported model types are as follows:
    • goal
    • strategy
    • solution
    • context
    • assumption
    • justification
  • As I explain later, the plugin supports the following model types and diagrams other than MindMap:
    • Classes and Objects in Class diagrams,
    • Objects in Activity Diagrams and
    • Blcks in Block Definition Diagrams.
  • The plugin cannot convert to GSN/D-Case models correctly if the relations among models (structure in Mind Map) are incorrect in terms of the GSN syntax.


Generating GSN/D-Case from a MindMap

  1. Select a MindMap you want to convert to GSN/D-Case in the structure tree view.
    astah something2gsn
  2. Go to [Tools] - [GSN Generator] - [Generating GSN for the current diagram].
    astah something2gsn
  3. A dialog appears to ask you to save this file, name it and save with "xmi" extension.


Import converted models in Astah GSN

  1. Launch Astah GSN and open an existing project or create new.
  2. From main menu, go to [Tools] - [XMI] - [XMI import].
    astah something2gsn
  3. A file chooser appears. Select the.xmi file you've generated by this plugin, then imported models will appear in the tree.
    astah something2gsn
  4. So create a new GSN diagram or open an existing one. Drag & drop the models from the tree to GSN diagram to decipt them on the diagram.
    astah something2gsn
  5. Go to [Alignment] - [Auto Layout].
    astah something2gsn
  6. GSN-converted models would be aligned nicely keeping its structure.
    astah something2gsn


   Converting from other diagram types than Mind Maps

Objects in a class diagram

  • Objects and connected links in the following Class diagram can be converted to GSN. (Note the converted GSN models will lose color setting.) To convert to GSN, all the objects need to have the following class type : "goal", "strategy", "context", "assumption", and "justification", set to specify which GSN model type that you want them convert into.astah something2gsn
  • Here's a sample GSN that was converted from the Class diagram above.astah something2gsn


Converting Classes in a class diagram

  • Classes and all the associations would be converted to GSN models. Specify which GSN model type to be converted by adding the stereptype.astah something2gsn

Converting Objects in Activity diagram

  • Objects and connected relations would be converted to GSN models. All the objects need to have the following class type : "goal", "strategy", "context", "assumption", and "justification", set to specify which GSN model type that you want them convert into, and same goes for Blocks in Astah SysML's activity diagrams.astah something2gsn
  • For the case of Astah SysML, the diagram can be as follows.astah something2gsn

Converting Blocks in a Block definition diagram

  • Blocks and all the relationships in Block Definition Diagram would be converted to GSN. Add stereotype to specify what GSN model type you want them to convert into.astah something2gsn

Others

  • If necessary, you can re-order the ID number of GSN-converted models by choosing [Reset GSN ID] from the context menu which you can open by right-clickng on the diagram editor.astah something2gsn