N2 Diagram

 

The N2 (pronounced "N-squared") diagram represents the logical data flow for a system or system segment. Part of the behavioral (logical architecture) representation set, the N2 diagram displays the data dimension of the behavior model and helps focus attention on this subset of the model. In particular, this is helpful in partitioning and allocating the system behavior to manage internal and external interfaces.

 

The N2 diagram is available for entities in the Function class (as well as any other subclasses of ProcessingUnit).

 

 

On a functional N2 diagram, the subfunctions are shown on the main diagonal forming an N x N matrix of cells. Items that are output from a function are shown in the function's row. Items that are input to or trigger a function are shown in the function's column. If multiple items are output from and input to / trigger the same pair of functions, multiple items will be shown in the same item cell. If no items are exchanged between a pair of functions, the item cell will be empty.

 

GENESYS' N2 diagram has been extended to display external inputs and outputs which represent external interfaces for this function. Items appearing in the top row are inputs / triggers for the function that either (i) are output by a function not displayed on this diagram or (ii) are not output by any function at all. Similarly, items in the right-hand column are outputs that are either (i) input to / trigger a function not displayed on this diagram, or (ii) are not input to / trigger any function in the system model. This extension of classic N2 diagrams provides valuable context but can be toggled off, as desired.

 

A functional N2 diagram displays only the inputs, triggers, and outputs at that level (inputs, triggers, and outputs lower in the decomposition are not displayed). However, the decomposition of functions is considered when placing an item in a cell. For example, if an item is output from Function ABC and input to a descendant of Function XYZ, the item will be shown connecting Function ABC and Function XYZ rather than being shown as an external output.

 

    

 NOTE:

The order of functions on an N2 diagram is computed by traversing the structure of the parent function (as shown graphically in an activity diagram or EFFBD). The structure is traversed left to right with parallel and select constructs traversed one branch at a time.

Toolbox Properties

In addition to the classic diagram options, the N2 diagram settings include:

Toolbox Insert

The constructs and key entities tabs allow you to quickly develop your N2 diagram, while the all entities tab enables you to relate your functions and items to the remainder of your system definition.

 

Constructs

Utilities

Key Entities

All Entities - all classes and entities in the system model, allowing you to drag any entity on top of a diagram node to establish relationships with the balance of your system model

Context Menu Commands

Tips and Tricks