WorkflowbeginnerWorkflows

Two-Way Switch

Route a single data input to one of two outputs based on a boolean switch. Cleaner than If/Else for data-only routing decisions without exec-flow overhead.

11 nodesData-Flow · Routing · 14 connections

Graph Preview

two-way-switch.vnwView source

Node Breakdown

Input DataData
Switch BoolLogic
Output AOutput
Output BOutput

Tags

#switch#routing#conditional#data-flow#pattern

Source

workflows/two_way_switch.json

General workflow demonstrating core patterns

Related Examples

Browse all →
Workflow

ForEach Iteration Pattern

beginner

Canonical ForEach usage: pass a list into ForEach, process each item through a sub-chain, collect results with Collect node, and output the aggregated list.

7 nodesAsync DAG
#foreach#iteration#list
Workflow

If/Else Branching

beginner

Route execution through one of two branches based on a boolean condition. The canonical conditional pattern in Vibrante-Node exec-flow graphs.

4 nodesExec-Flow
#conditional#if-else#branching
Workflow

While Loop with Break

intermediate

Run a loop until a condition is met or a max iteration count is reached. Demonstrates WhileLoop with BreakLoop and continue/stop exec pins.

4 nodesExec-Flow
#while#loop#break