Skip to content
1 min read · 62 words

Function: outgoing()

ts
function outgoing(
  view: RawPlanView | PlanGraphView,
  nodeId: string,
): PlanEdge[];

Defined in: src/batteries/orchestration/plan.ts:125

The edges leaving a node.

Parameters

ParameterTypeDescription
view| RawPlanView | PlanGraphViewThe graph to search.
nodeIdstringThe source node id.

Returns

PlanEdge[]

Every edge whose from is nodeId, in view order.