Function: topoSort()
ts
function topoSort(nodes): DAGNode[];Defined in: glide-mq/src/dag-utils.ts:113
Topological sort of DAG nodes using Kahn's algorithm. Returns nodes in submission order (leaves first, roots last). Throws CycleError if a cycle is detected.
Parameters
| Parameter | Type |
|---|---|
nodes | DAGNode[] |
Returns
DAGNode[]