The View Menu is shown below.
The entries are described below:
The Network View is the initial default diagram view. It is the view used when constructing JSD networks.
This menu item builds the SID from a Network. Once the SID has been built any further amendments to the Network are not reflected in the SID until it is rebuilt. If any editing to the SID has been performed then the user is warned that these changes will be lost if the rebuild proceeds.
The Network must have one entity on the diagram nominated as the Scheduler before the SID may be constructed. If the Network diagram is empty then this Menu item will be disabled. When this action is initiated a status message is given indicating its success or failure.
The rules that are applied to the Network in order to construct the SID are as follows:
- A check is made to ensure that one of the Network Process has been nominated as a Scheduler.
- All State Vector Inspections and State Vector Interfaces are removed as they are not present on the SID.
- The Scheduler is examined to check if it has a Merge Symbol joined to its left hand edge. If it hasn't one is added and any input data flows are moved from the Scheduler to the Merge.
- All other Processes System Boundary Input Data Streams are moved from their current process to the Scheduler.
- All Merge Symbols are removed from all Processes except the Scheduler. Any Data Streams that were connected to them are reconnected to their associated Process (if any).
- All Simple and Controlled Data Stream Symbols are replaced by SID Simple Data Stream Symbols.
- All Conversational Data Stream Symbols are replaced by SID Conversational Data Stream Symbols.
- Any processes that have no input Data Streams are connected to the Scheduler via a SID Simple Data Stream.
- All processes are examined to determine if they have output Data Streams that feed back into themselves as shown:
- If they have then the Data stream is removed and replaced on the SID by a SID Buffer joined to the process by a message flow.
- The symbols are then arranged on the SID in order that all data flow inputs to the Scheduler are placed to its left. The Scheduler is at the top of the diagram and all other Processes are placed below.
An simple example Network that illustrates these rules might be:
The resultant SID would be:
This Menu Item displays the SID View. It is only active if the SID has been previously built.
The Zoom submenu is shown below:
The Network and SID views may be magnified to any one of the specified levels.