addEdge

open override fun addEdge(edge: AIAgentEdge<Output, *>)(source)

Adds a directed edge from the current node, enabling connections between this node and other nodes in the AI agent strategy graph.

Parameters

edge

The edge to be added, representing a connection from this node's output to another node in the strategy graph.