Description

System diagram
Add/Delete Port in a SynchonisationGate By default a (De)Composition has two (Out)InDataPorts. To add a new one, select the SynchronisationGate and then Right Click > Add New Port . You can also delete a Port contained by the SynchronisationGate : it should have the right type ('input' for a Composition and 'output' for a Decomposition) and at least two Ports should remain after the deletion.
Inverse Ports of a DataStore By default when you create a DataStore, the InDataPort is drawn on the left and the OuentryataPort on the right of the DataStore figure. To inverse them graphically, select the DataStore and Right Click > Inverse Ports . This is very useful to avoid connections overlapping. inversePorts
Automaton diagram
Transition edition The edition of a transition is realized through a popup window. You can fill the 'condition' and 'emission' properties of the transition. You can also set a priority to the transition : this is useful when for example many transition have the same source state. This priority is represented as a number that will be displayed near the source state.
General
Edit requirement of a SAM element All the SAM objects have a 'requirement' attribute. You can edit by Right Click > Edit Requirement : a popup window appear and a multiLine field is displayed. This is an additional information (as the Documentation one) that will probably be integrated to the Documentation View.
Drag'n'Drop Port with MultiPort and reverse You can Drag'n'Drop a Port to a MultiPort of the same level. You can also drag a Port contained by a MultiPort at drop it into the container of the MultiPort. This make easier the grouping of Ports into a single MultiPort.
Open/Close a MultiPort For a better presentation and readability of the diagram, a MultiPort may be opened (its contained Ports are visible) or closed (the Port that are contained by the MultiPort are hidden). Note that when the MultiPort is closed, the eventual connections of its contained ports are still displayed. multiPortState
Import an external System/Automaton

If you want to import an external System/Automaton into the diagram you're editing, you need to first load it into the 'Instanciables Models' section of the Outline view.

By right-clicking in the Outline, you can either load an external sam model from a file, or load all the sam models a directory contains.

Note: only files having a '.sam' extension will be considered for import, and the systems/automatas added to the 'Instanciables Models' section are only those at the first level in the model.

Once you have loaded some systems/automatas, you can drag them into your diagram. The new System/Automaton is referred to as an 'Instance', and a checknox ('Is an instance') in the property view should reflect wether the current selection is an instance or not. The contained ports and multiports are also instances of those in the external model.

The new system/automaton in your diagram cannot be modified in any way, it is to be seen as a black box which shouldn't be modified.

Once an instance is created, you can 'Unwire' it, which means that it won't reference the external model anymore, and it will be editable (this is done by right-clicking on an instanciated system/automaton and selecting the 'Unwire instance' action).

You can also open the diagram corresponding to the external model (if it exists) by double-clicking on the Instance in your diagram.

Note about synchronization: when reopening a file containing an instance, the external model is read again in order to update the instance. This is the only way to update the instance with external model changes. An example of an instanciated system.