edges lets you draw and remove wires from the terminal — useful for scripting Flow construction and for cleaning up after bulk changes.
Commands
edges connect
tr_events (output) to ag_support (input).
Default ports: right (source’s right edge) → left (target’s left edge). Override with side flags:
--source-side left|right— which side of the source block the wire leaves.--target-side left|right— which side of the target block the wire enters.
edges delete
edges list
--json for structured output.
Recipes
Wire a full simple Flow from scratch
Reroute a wire — replace one edge with another
There’s noedges update; delete and reconnect:
flows snapshot → hand-edit JSON → flows apply.
Audit: find blocks with no incoming wires
Audit: find blocks with no outgoing wires
Ports and sides
Every block has ports on its left and right edges. The default port on each side is the primary in/out. Blocks with multiple output paths (Router, Agent with parallel branches) expose additional named ports. Right now the CLI uses side-based wiring (left/right) — not named ports. For Flows that need named ports, use the app canvas or flows apply with a hand-crafted JSON.