Updated Design: subflows (markdown)

Nick O'Leary 2014-08-23 05:13:13 -07:00
parent 8fefff1f92
commit 009a2f64ed
1 changed files with 22 additions and 1 deletions

@ -41,7 +41,28 @@ A subflow can be used in one of two modes: (this is tbd. Might just stick with s
## Definition
...
A subflow node has the following properties:
* `type` : `subflow`
* `id`
* `name`
A node that is part of a subflow has their `z` property set to the `id` of the subflow.
An instance of a subflow has the following properties:
* `type` : `subflow` ... ?
* `id`
* something to identify mode... if we have modes.
It inherits the `name` of the parent subflow.
**Questions:*
* how does an instance node identify its parent?
* type=subflow:<parent-id>
* type=something other than subflow and parent=<parent-id>