PersistentAI API Documentation / @persistentai/fireflow-types / getFirstNodeId
Function: getFirstNodeId()
getFirstNodeId(
plan):string
Defined in: packages/fireflow-types/src/flow/execution/planner/sp-tree-builder.ts:566
Get the first node ID in a plan (for deterministic branch sorting).
Parameters
plan
Returns
string