BranchingNode is a base for a node that can decide between multiple state transitions per port (e.g. LLM agent)
| 122 | // BranchingNode is a base for a node that can decide between multiple |
| 123 | // state transitions per port (e.g. LLM agent) |
| 124 | type BranchingNode struct { |
| 125 | id string |
| 126 | transitions map[string][]Transition |
| 127 | } |
| 128 | |
| 129 | // NewBranchingNode creates a new BranchingNode |
| 130 | func NewBranchingNode(id string) BranchingNode { |
nothing calls this directly
no outgoing calls
no test coverage detected