Introduce
In the multi property layout, the upper part of the middle area is the multi property panel, which contains Process chart tab And Process block tabs.
What is the Process block tab? When you edit a Process block in a Process diagram or double-click a Process block in the Process tree, a tab with the same name will be created, that is, the Process block tab.
Each Process block tab has two view modes: visualization mode and source code mode. Click the switch or the shortcut key Alt + ← / →toswitch the modes.
The two views share a unified line number, but are not displayed continuously in the visual mode.
Both views support the collapse or expansion of block statements, and the corresponding position synchronization is affected during operation.
Each newly created Process block displays the visualization mode by default. The two modes can be switched freely. It supports automatic memory of the current mode of each opened Process block in the Process, and restores to the closed mode when it is opened next time.
Visual view
The visualization mode of the Process block shows a set of commands with a sequence structure. The selected commands can be added to the sequence by dragging or double clicking from the command property panel (list) in the left area. Generally, we call this sequence structure area "assembly area":
As shown in the figure above, when a command is selected in the assembly area, the attribute property panel in the right area will respond in time to display the relevant attribute of the selected command.
The target command in the assembly area supports quick target selection, which is consistent with the effect of "find target" in the toolbar.
Select a single line or multiple lines command, and a suspended run button will appear for operation.
It supports dragging else, else if and case sub statements to the assembly area separately.
When you drag a statement, you can automatically display the insertion position marker line and automatically judge whether it is a legal insertion position. Blue indicates that insertion is allowed and red indicates that insertion is not allowed.
After dragging a target command to the assembly area, the target picker is displayed as "unspecified" by default. It supports configuration in two ways: "select from interface" and "select from Interface Library". After selection, it will be directly displayed in the default name. You can enter the Interface Library to edit the name. Move the mouse over the name to display the target screenshot (click to enlarge).
Before specifying a target:
Target specified:
Goals have been set to support editing in the Interface Library.
Source view
When the Process block tab is activated, you can click the switch in the upper right corner of the property to switch the view to source code mode.
You can directly enter the code to edit the command, or drag the corresponding command from the command tree on the left to edit it.
Support intelligent prompt and code completion.
The source code block statement command also supports expand / collapse.
When switching from source code view to visual view encounters an error, the error location will be prompted.