MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / BranchingNode

Struct BranchingNode

go/engine/node.go:124–127  ·  view source on GitHub ↗

BranchingNode is a base for a node that can decide between multiple state transitions per port (e.g. LLM agent)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected