Bolt 2 will provide a quick way of creating nested graphs called Chunking. Essentially, any selection of nodes (whether in a Flow or State graph) will be convertible to its corresponding nested representation (e.g. a Super Unit) with a simple operation.
The workflow will be:
- Select a group of nodes
- Choose “Chunk” from the context menu, or hit [Ctrl/Cmd]+G
- The chunking dialog will appear with the following options to configure the nested graph:
- Title
- Summary (Optional)
- Icon (Optional)
- Macro or Embed
- Confirming will:
- Show a save file dialog if Macro was selected
- Preserve the previous connections in memory (flow graphs only)
- Create the nested graph and nester element
- Remove all chunked elements from the parent graph
- Position the nester element in the middle of the chunked area
- Match the previous connections with units of the parent graph (flow graphs only)
It will also be possible to dechunk any nester element with this workflow:
- Select a nester element
- Choose “Dechunk” or hit [Ctrl/Cmd]+Shift+G
- A confirmation dialog will appear. Confirming will:
- Preserve the previous connections in memory (flow graphs only)
- Copy the nested elements and center around the nester element
- Remove the nester element from the parent graph
- Match its previous connections with units of the parent graph (flow graphs only)