2025-05-12 by Chris
If connecting two nodes with an edge already forms a causal relationship -
"If A happens, then B follows" - then why should logic be defined anywhere else?
That question became the foundation of Wanderer's architecture.
In many visual flow builders, connecting two nodes with an arrow (or "edge") implies a relationship:
The edge represents logic - even if it's just temporal ("then do this") or conditional ("if this, then that").
So the next step was obvious:
What if all logic - even complex logical gates - could live in the edges?
Most visual tools mix logic in two places:
This causes problems:
In such systems, the graph is no longer a visual representation of program logic - it's just a UI for wiring hidden internals.
In Wanderer, edges aren’t just wires - they are logic gates.
Each edge defines:
Node types remain simple:
But they never decide what comes next. That’s the edge’s job.
When logic lives in the edges:
This aligns perfectly with Wanderer’s goal:
WYSIWYG logic. What you draw is what it does.
Since conditions are declared on edges:
Because logic is fully embedded in the graph:
This makes flows easier to:
Let’s say we have a node that sets the state user.stressed = true
.
You can now create two must-edges leading to the next question node:
user.stressed == true
user.age > 30
Only if both edges are traversed successfully will the next question appear.
You’ve just built an AND gate, entirely visually - and entirely through edges.
Nodes are actions.
Edges are decisions.
By giving all logic to the edges, we create a system where:
This is what makes Wanderer different.
Title image: https://pixabay.com/illustrations/brain-left-logic-science-5662028/