add_edge
Connect two node ports with an edge to establish data flow between nodes in the 247afk Block Editor. Use after retrieving node IDs from get_graph to create functional connections in scripts.
Instructions
Connect two node ports with an edge. Use get_graph first to know existing node ids.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceNodeId | Yes | The id of the source node (from get_graph) | |
| sourceHandle | Yes | Output port name on the source node (e.g. exec_out, result, health) | |
| targetNodeId | Yes | The id of the target node (from get_graph) | |
| targetHandle | Yes | Input port name on the target node (e.g. exec_in, condition, message) |