MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / nextFlowPriority

Function nextFlowPriority

yaml-flow-editor/src/utils/layout.ts:406–409  ·  view source on GitHub ↗

Main-flow handle first (next/bottom), then branch handles.

(handle: string | undefined)

Source from the content-addressed store, hash-verified

404
405/** Main-flow handle first (next/bottom), then branch handles. */
406function nextFlowPriority(handle: string | undefined): number {
407 if (handle === undefined || handle === 'next' || handle === 'bottom' || handle === '') return 0;
408 return 1;
409}
410
411/**
412 * BFS order with "next" (main flow) edge first at each node. First column is strictly

Callers 1

topoOrderIdsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected