Edit POOSL models graphically

There are multiple graphical views on a POOSL model. All graphical (layout) information is stored in the project's representations.aird file, which is automatically created when opening a graphical editor.

Class diagram

A class diagram shows the inheritance structure of the data and process classes, including their parameters, variables and methods. In addition it shows the containment structure of the system and cluster classes. The scope is restricted to one .poosl file, and does not consider any imported classes.

The graphical editor can be opened from the textual editor, when the cursor is outside any system or cluster class. Perform a right mouse click and select "Open Graphical Editor", or use keyboard shortcut <F2>. The following features are useful:

  1. Switch back to a textual editor
    How? Right-mouse click outside any class and select "Open Textual Editor", or keyboard shortcut <F2>.
  2. Show a class in a textual editor
    How? Double-click on the class, or right-mouse on the class and select "Open Textual Editor".
  3. Add a new element
    How? First click on a Creation tool in the Palette at the right-hand side, and then click on the graphical location where this element must be added.
  4. Change an element
    How? First click on the element, and then either use the "Properties" view, or right-click and select "Edit Method/Variable/Parameter".
  5. Delete an element
    How? First click on the element, and then either right-click and select "Edit" and "Delete From Model", or use keyboard shortcut <DEL>.
Note: Graphical editing is incomplete; sometimes textual editing is needed.

Architectural diagram

An architectural diagram shows the ports and instances of a single system or cluster class, in combination with the channels that connect them.

The graphical editor can be opened from the textual editor, when the cursor is inside a system or cluster class. Perform a right mouse click and select "Open Graphical Editor", or use keyboard shortcut <F2>. The following features are useful:

  1. Switch back to a textual editor
    How? Right-mouse click outside any instance and select "Open Textual Editor", or keyboard shortcut <F2>.
  2. Show an instance of a cluster class in a graphical editor
    How? Double-click on the instance, or right-mouse click on the instance "Open Graphical Editor".
  3. Show an instance of a process class in a textual editor
    How? Double-click on the instance, or right-mouse click on the instance "Open Textual Editor".
  4. Add a new element
    How? First click on a Creation tool in the Palette at the right-hand side, and then click on the graphical location where this element must be added. Channels can be drawn between two ports, and between a port and an existing channel.
  5. Change an element
    How? First click on the element, and then use the "Properties" view.
  6. Delete an element
    How? First click on the element, and then either right-click and select "Edit" and "Delete From Model", or use keyboard shortcut <DEL>.
  7. Change the color of a channel
    How? Double-click on the channel, and pick a color.
Note: Graphical editing is incomplete; sometimes textual editing is needed.