Viewing Modules
The righthand side pane in the Movida NCES Generator provides a view of
the currently selected module and its inner modules and their connections.
The view can be scrolled with the scroll bars if it is too large to fit in
the pane.
By right-clicking on the view you can bring up a popup menu with several
options regarding the NCES:
- Hide/Show Content (Module name)
- Switches between the drawing modes where the internal elements of
the modules are shown or hidden.
- Convert to XMI
- Generates XML file for the NCES.
- Generate SESA Input files
- Generates the PNT and TNT file that are needed in order to analyze
the net with SESA.
- Show/Hide CA and EA
- Shows/Hides the signal arcs in the clicked module. If a module
contains a large number of signal arcs then hiding them may speed up
scrolling the view and also make the view more clear.
- Show Module Connections (Module name)
- Select this to view only those signal arcs which originate or end
at the module.
- Show Module Statistics (Module name)
- By selecting this option you can view the statistics of the
module.
- Show All Connections
- Shows signal arcs between all modules.
- Go to the module
- This option lets you choose a module from the list of all of the
internal modules in the module. Then scrolls the view to show that
module. This item appears only if the clicked module contains
internal modules.
- Add Stub for Condition Inputs
- Select this option to add a stub module for sending constant input
values to condition inputs.
- Add Event Latch
- Like the previous option this lets you add a stub module to the
system. An Event Latch is useful for determining whether a change has
occurred in the system. See the
Basic Steps page for
an example of using these features.
- Upload a module
- Select this to load an external module which can then be added to
the current system. A file open dialog will appear to let you select
the file that contains the external module's XML representation.
- Rename Module name
- Selecting this option lets you specify a new name for the clicked module.
- Save as jpeg file
- Saves the current module view to a file in JPG format.
- Save as png file
- Saves the module view to a file in PNG format.
Note that many of the above listed menu items appear only if the popup
menu is opened when the mouse cursor is above a module. In some cases it
is also required that the module contains internal modules.
Manipulating Modules
The displayed modules can be manipulated in several ways. In addition to
creating new connections between the signal inputs and outputs of modules it
is also possible to remove modules and arcs.
- To remove an arc first select it by clicking on it. When an arc is selected
green points are displayed at each of its ends. Then press the
Delete key on the keyboard.
- To remove an NCES module you can either use the keyboard as with arcs.
When a module is selected its boundaries are displayed in green.
Alternatively you can select the module in the project tree and then press
the Delete button. A third way to remove a module is to right click
on it in the tree view and then select the delete option in the popup menu
that appears.
When deleting modules be careful because all of the internal modules will
also be deleted. Whenever you are about to delete an arc or a module a warning
is displayed so that the deletion can be cancelled. Deleted modules cannot be
recovered.
Modules can be renamed either via the project tree popup menu or the popup
menu that can be opened by right-clicking on a module in the NCES view.