Function: nodeById()
ts
function nodeById(
view: RawPlanView | PlanGraphView,
id: string,
): PlanNode | undefined;Defined in: src/batteries/orchestration/plan.ts:115
Look up a node by id.
Parameters
| Parameter | Type | Description |
|---|---|---|
view | | RawPlanView | PlanGraphView | The graph to search. |
id | string | The node id to find. |
Returns
PlanNode | undefined
The node, or undefined when no node carries that id.