Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Working with blocks, block diagramsschemes, files, and links is described in the following scenarios:

  • Adding a block to a block diagramscheme
  • Operations on a block
  • Auto-saving a Workflow Project scheme
  • Scenarios for working with files and links

Adding a block to the block

...

scheme

The user uses the computer mouse to select a block from the blocks panel and drags the block onto the editor's workspace.

...

You can select a block in the workflow diagram scheme by clicking on it: 


The block control "points" are located along the boundaries of the selected block:

  • white markers at border vertices - block resizing points
  • on the right side of the rectangle a red marker with a white cross - a button to remove the block diagram scheme from it
  • green marker with ">" sign - point of outgoing connector (arrows)

...

  1. All blocks have input and resulting parameters:
    • Start

    • Robot

    • Screen Form

    • Workflow

  2. The "Finish" block has only resulting parameters.
  3. The "Start" and "Screen Form" blocks have the same resulting parameters as the input parameters.  These are the same parameters. It should be noted that input parameters do not contain values unlike resulting parameters, for example: input parameter - last name, resulting parameter - last name: Smith. Sometimes the input parameters of the "Start" block are called workflow parameters, which makes sense because they are available to all other blocks in the block diagramscheme.
  4. Resulting parameters of "Robot" and "Workflow" blocks are not displayed in the properties of these blocks. But they are available by selecting values for the input parameters of other blocks. 

...

  1. First, create the input parameter of the "Start" block. To do this, click on the "Add parameter +" button located on the properties panel of this block. And then set the name and type of the parameter and its initial value, for example, 10. 


  2.  We do not need to create parameters for the block "SF #1", they are created automatically according to the internal specification of SF #1. We just bind parameter "a" to parameter "s", and parameter "b" will be set by the executor when working with SF: 

  3. In the first block "Adding two numbers", we bind the parameters "a" and "b" respectively to the parameters "a" and "b" of the block "SF #1": 

  4. In the "Exponentiation" block, we bind the parameters "x" and "n" to the parameters "a" and "b" of the "SF #1" block, respectively: 

  5. In the second block " Adding two numbers" we respectively bind the parameters "a" and "b" to the result "s" of the first block "Adding two numbers" and to the result "y" of the block "Exponentiation": 

  6. Finally, in the "Finish" block we set one output parameter equal to the output parameter "y" of the subprocess " Adding two numbers": 

Auto-saving of the workflow project

...

scheme

The editor provides step-by-step auto-saving of the scheme in the database. This means that any update of the scheme - be it placing a block on the scheme or changing its properties - is immediately saved in the database. No user actions are required to save the scheme.

...