Innoslate's N-Squared Diagram is a matrix used to visualize the relationships between Actions and Inputs/Outputs.
Using N-Squared Diagrams
|Creating N-Squared Diagrams||Using ‘Diagrams View’ in Innoslate, you can create a new ‘N-Squared Diagram.’|
|Viewing N-Squared Diagrams||You can ‘View an N-Squared Diagram’ of any new or existing entity of the Action class via the ‘Open’ drop-down menu, where available.|
|Adding an Entity||An entity can be added to an ‘N-Squared Diagram’ via drag-and-drop.|
|Removing an Entity||An entity can be easily removed from an ‘N-Squared Diagram.’|
The ‘N-Squared Diagram’ is a matrix used to visualize the relationships between Actions and Inputs/Outputs. This diagram conforms to the LML Specification 1.1 definition of an ‘N-Squared Matrix.’
The ‘N-Squared Diagram’ is not composed of special diagram constructs. In fact, an ‘N-Squared Diagram’ can be generated by Innoslate on the fly based on the current contents of your project’s database. The ‘N-Squared Diagram’ is built using entities in the database of the ‘Action’ and ‘Input/Output’ classes. The actions are displayed as blocks within the matrix and the I/Os are shown as text within the matrix.
Creating N-Squared Diagrams
Within the ‘Diagrams Dashboard,’ users can create a new diagram by clicking the ‘ Create Diagram’ button in the top right corner of the page.
Clicking the ‘ Create Diagram’ button will open the Create Diagram dialog where you will be directed through the process of creating a new diagram.
Create an N-Squared Diagram
- Choose Which Type of Diagram to Create
In step 1, select ‘N-Squared Diagram,’ under ‘General’, as your diagram type.
Click the ‘Next’ button.
- Specify New Root Action Information
In step 2, you will be prompted to input a diagram ‘Name,’ ‘Number’ (optional), and ‘Description’ (optional). Then, click the ‘Finish’ button.
Viewing N-Squared Diagrams
In Innoslate, you can view an ‘N-Squared Diagram’ from wherever the ‘Open’ drop-down menu is available on the toolbar (Entity View, Database View, within a Diagram).
View an N-Squared Diagram
- Locate and click the ‘Open’ drop-down menu in the toolbar. Select ‘N-Squared Diagram.’
- This will navigate you to view an ‘N-Squared Diagram,’ where you can begin adding and removing entities. Click the ‘Save’ button located on the toolbar to persist your changes to your project’s database.
Adding An Entity
An entity can be added to an ‘N-Squared Diagram’ via drag-and-drop.
- Within an ‘N-Squared Diagram,’ ensure you do not currently have an Action selected, and click the ‘Action’ icon in the ‘New’ tab of the left sidebar and continue to hold down the left mouse button.
- Drag the ‘Action’ icon over to the adjacent diagram canvas.
- Release the left mouse button while over the diagram canvas to drop the new ‘Action’ and add it to the diagram. Notice the ‘Action’ stays selected once it has been dropped. Since it is selected, the toolbar changes to include buttons for functions that can be used on the construct. The sidebar also changes to show the ‘Metadata,’ ‘Attributes’ and ‘Relationships’ tabs.
- Enter a meaningful ‘Name’ for your new ‘Action’ via the ‘Attributes’ tab of the left sidebar (focused automatically for convenience).
- Click the ‘Save’ button located on the toolbar to persist your changes to your project’s database.
* Note: The above process describes using the ‘New’ tab of the left sidebar, which automatically generates a new entity to represent each new block. If you would like to reuse existing entities from your database in your diagram, use the ‘Existing’ tab instead.
Removing an Entity
An entity can be easily removed from an ‘N-Squared Diagram.’
- Within an ‘N-Squared Diagram,’ select the entity you wish to remove. This will make the toolbar appear with applicable functions which can be used on the selected entity.
- Click the ‘Remove’ button to remove the entity from the diagram (as the default action).
* Note: The ‘Remove’ button also includes a drop-down menu where you can select ‘Delete from Database’ or the default option of ‘Remove from Diagram.’
To continue learning about General Diagrams, Click Here.
(Next Article: Physical I/O Diagram)