1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Updated Design: subflows vNext (markdown)

Nick O'Leary 2015-07-23 21:32:32 +01:00
parent 61f54f35cd
commit 73e32035c8

@ -54,8 +54,11 @@ It is fixed to 1-input and 1-output - this cannot be changed.
![](images/subflows/loop_subflow_toolbar.png)
The loop condition is configurable in the toolbar (quick ui mock-up - need to test if theres enough room to do it in the toolbar directly, or via some other means)
The loop condition is configurable in the toolbar (quick ui mock-up - need to test if theres enough room to do it in the toolbar directly, or via some other means).
When a message arrives on the input, the loop condition is evaluated to see if the loop should continue. If so, it passes through the flow defined in the loop. When the message reaches the output of the subflow, the loop condition is evaluated, and so on.
(Need to determine the proper conditions - foreach/while/until/do-loop - and message semantics)
## Lifecycle model
aka - how one thing can become another, and back again.