User Tools

Site Tools


modeling_2.0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

modeling_2.0 [2024/11/06 13:44]
montse [Library Management Page]
modeling_2.0 [2025/06/19 11:58] (current)
ale [Renaming variables in the diagram]
Line 49: Line 49:
   * **Delete elements**: allows you to delete the selected diagram object(s) using the 'trash can' icon.   * **Delete elements**: allows you to delete the selected diagram object(s) using the 'trash can' icon.
   * **Diagram actions**: groups a series of actions that can be performed at the diagram level:\\ \\ {{ :​acciones_de_diagramaen.png?​direct&​300 |}}\\  ​   * **Diagram actions**: groups a series of actions that can be performed at the diagram level:\\ \\ {{ :​acciones_de_diagramaen.png?​direct&​300 |}}\\  ​
-  * **Assistants**:​ displays a list of available assistants:​\\ \\  {{ :asistentesen.png?​direct&​300 |}}\\ \\ +  * **Assistants**:​ displays a list of available assistants:​\\ \\ {{ :en:​edit_diagram:​newassistants.png?​direct&​300 |}}\\ \\ 
   * **View diagram map**: by clicking this button, a thumbnail of the current diagram (at a scale of 4:1) is displayed in a box at the top right of the Canvas. ​   * **View diagram map**: by clicking this button, a thumbnail of the current diagram (at a scale of 4:1) is displayed in a box at the top right of the Canvas. ​
   * **Magnifying glass**: allows you to perform free text searches on all diagram elements, and also allows you to narrow the searches on those elements that interest you at a given moment. ​   * **Magnifying glass**: allows you to perform free text searches on all diagram elements, and also allows you to narrow the searches on those elements that interest you at a given moment. ​
Line 69: Line 69:
   - **Optional step:** The result of this step will not impact the test result.\\ ​   - **Optional step:** The result of this step will not impact the test result.\\ ​
   - **Comment out:** If this check is marked, the message will not be executed.   - **Comment out:** If this check is marked, the message will not be executed.
-  - **Breakpoint:​** The breakpoint check is used to stop the execution of the test in this step. It is helpfull during the creation of the diagram.\\ \\   ​+  - **Breakpoint:​** The breakpoint check is used to stop the execution of the test in this step. It is helpfull during the creation of the diagram.\\ \\   
 + 
 +==== Renaming variables in the diagram ==== 
 + 
 +This new functionality is accessed through a new context menu option with the right mouse button, by clicking on a certain element of the diagram. To do this, the diagram must be unlocked. This option appears by clicking on: a message, a gate or a fragment of the diagram. 
 +\\ \\ {{ :​en:​edit_diagram:​picture1renamingvariables.png?​nolink&​500 |}}\\ 
 +If no variable is declared in the element on which this action is executed, then the following message will appear: 
 + 
 +\\ \\ {{ :​en:​edit_diagram:​picture2renamingvariables.png?​nolink&​500 |}}\\ 
 +On the other hand, if there are variables declared in the element, the following modal dialog for renaming variables appears: 
 + 
 +Renaming variables dialog. 
 +\\ \\ {{ :​en:​edit_diagram:​picture3renamingvariables.png?​nolink&​500 |}}\\ 
 +In this modal there are different **items**:​\\ 
 +  * **Variable list**: This combo shows the list with all the variables declared in the selected item. This list does not contain neither global variables nor repository variables. 
 +  * **“Variable name” field**: Not editable field. This shows the variable selected in the list. 
 +  * **New variable name**: Here we will enter the new name for the selected variable.  
 +  * **“Rename” button**: Once the new variable name has been entered in its field, pressing this button automatically replaces all occurrences of that variable in the diagram. ​ Once the variables have been renamed in the diagram, a message will appear for information purposes indicating the number of elements in which the variable has been renamed. 
 + 
 +\\ \\ {{ :​en:​edit_diagram:​picture4renamingvariables.png?​nolink&​500 |}}\\ 
 +  * **Revert the changes**: After renaming a variable, if for some reason you want to revert the changes and leave the diagram in its previous state, just press the **“Undo”** option from the context menu, or use the **CTRL+Z** key combination. 
 +   
  
 ==== Guards ==== ==== Guards ====
Line 976: Line 998:
 When a user is modeling a diagram and editing the javascript or sql code of a message, and would like to bring the code from one of the libraries, this is the way:​\\  ​ When a user is modeling a diagram and editing the javascript or sql code of a message, and would like to bring the code from one of the libraries, this is the way:​\\  ​
   ​   ​
-1. Open the //Library Management//​ screen in a new tab of your browser and locate the desired code, then **copy** the code,\\ \\ 2. and simply **paste** the code into the //Modeling Javascript/​Sql//​ code editing window. +1. Open the //Library Management//​ screen in a new tab of your browser and locate the desired code, then **copy** the code,\\ \\ 2. and simply **paste** the code into the //Modeling Javascript/​Sql//​ code editing window.\\ \\ {{ :​en:​librarymanagement26.png?​direct&​500 |}}\\ {{ :​en:​librarymanagementflecha.png?​direct&​40 |}}\\ {{ :​en:​librarymanagement27.png?​direct&​500 |}}
-  +
-{{ :​en:​librarymanagement26.png?​direct&​500 |}}\\ {{ :​en:​librarymanagementflecha.png?​direct&​40 |}}\\ {{ :​en:​librarymanagement27.png?​direct&​500 |}}+
  
  
modeling_2.0.1730900655.txt.gz · Last modified: 2024/11/06 13:44 (external edit)