(port string, tr Transition)
| 133 | |
| 134 | func (b *BranchingNode) ID() string { return b.id } |
| 135 | func (b *BranchingNode) AddTransition(port string, tr Transition) error { |
| 136 | b.transitions[port] = append(b.transitions[port], tr) |
| 137 | return nil |
| 138 | } |
| 139 | func (b *BranchingNode) Transitions(port string) []Transition { return b.transitions[port] } |
| 140 | |
| 141 | // ToolNode is embedded by tool-only nodes that never participate in the state machine |
no outgoing calls