Design Structure Matrix (DSM) offers clear analysis on dependency relationships Astah visualizes the dependency relationships between Classes, Interfaces, and Packages. The DSM automatically updates itself as you model. This quickly alerts you to overly specific dependencies and circular references in a concise colorcoded chart. We'll show you the basic operations of DSM with this tutorial.
To create a Generalization, select [Generalization] in the tool bar and then click two Classes that you want to connect with.
Then draw a Class diagram like below.
If you have installed DSM Plug-in correctly, [DSM] tab should appear in the bottom pane just below the Diagram Editor. The colored cell is an alert that you should check up.
Each color alerts the following:
|Red||Circular reference||Could rise the dead lock and closed loop, degrade of the modulability|
|Pink||Indirect circular reference||Same as above|
|Yellow||Has more than 5 dependencies||Too much responsibility on one pole. Changing of this model could rise big influences in wide filed.|
Okay, now let's solve the circular reference.
Circular references are shown in red cells which are the Service 3 and Service 4. Circular references could cause dead lock, memory leak or degrades the modulability. The resolution varies depending on the case. In this tutorial, let's remove the Service 4's dependency from Service Class 3. Then the red cells would disappear.
At last, let's solve the indirect reference.
Clear analysis on DSM could help finding the risks of the dependencies of models as you model.