Base icons
Basic concepts
Basic terminology migrated to Falang from the visual language Dragon
- Skewer: a vertical line on which icons are “skewered.”
- Action icon: an atomic part of the circuit that specifies a specific action.
- Macro icons: composite icons that can contain branches, child icons and skewers within themselves.
- Valence point: a place in the algorithm where other icons can be inserted.
Simple icons
- Action
- Link: If an action links to another diagram, a link icon appears in the corner, clicking on which will take you to the corresponding diagram.
- Output: output data.
- Input: Used to enter data.
- Shelf: similar to the “action” icon, with two fields for entering text.
Function
A function is a macro-icon, which is the only and main one on a diagram of the corresponding type.
It consists of three blocks:
- Title, or comment: can be used for extended description
- Name
- Final block
Life rhythm
A function is a macro-icon, which is the only and main one on a diagram of the corresponding type.
An analogue of the “Silhouette” icon in the Dragon. Allows you to conveniently describe long-term life algorithms.
Tree
A function is a macro-icon, which is the only and main one on a diagram of the corresponding type.
Allows you to describe tree-like data structures.
"If"
A macro icon of a conditional operator that directs the action of the algorithm depending on the fulfillment of the condition described in the main block.
Analogous to "if - else" in programming.
Switch
A switch macro icon that directs the action of the algorithm to a specific child skewer if the value in the main block matches the value in the variant block.
Analogous to "Switch" in programming.
Parallel execution
Macro icon that executes child skewers in parallel. The action moves on only after all parallel processes have completed.
A cycle for everyone
Macro icon passing through a data array, or for a variable from the minimum value to the maximum. Similar to for each.
Loop with condition
A macro icon that repeats the execution of a process while some condition is met. Analogous to while.
Pseudo loop
A loop that actually executes once. Used to use exit or continuation icons (continue, break).
"Outputs"
“Outputs” is a generalized name for a group of icons that change the forward flow of the algorithm.
- Exit - exit from the loop (analogous to break in programming)
- Continue - continue the cycle from the beginning (analogous to continue)
- Return - return from a function (analogous to return)
- Error - interruption of the algorithm as a result of an error (analogous to throw)
In the case of nested loops, the "Exit" and "Continue" icons at the end have indexes 1,2,... The index indicates the level of the outer loop to which the exit applies.