Skip to content

PersistentAI API Documentation / @persistentai/fireflow-types / buildAdjacencyList

Function: buildAdjacencyList()

buildAdjacencyList(flow, nodeFilter?): AdjacencyList

Defined in: packages/fireflow-types/src/flow/execution/planner/graph-analysis.ts:39

Build adjacency list from flow, optionally filtering to specific nodes.

Parameters

flow

Flow

nodeFilter?

Set<string>

Returns

AdjacencyList

Licensed under BUSL-1.1