Function buildFgGraph
-
buildFgGraph(
specs: readonly FgNodeSpec[],
opts?: {
defs?: Record<string, FgBlockDef>;
variables?: Record<string, FgVariableSpec>;
},
): Promise<FgGraph>Parameters
- specs: readonly FgNodeSpec[]
- opts: {
defs?: Record<string, FgBlockDef>;
variables?: Record<string, FgVariableSpec>;
} = {}
Returns Promise<FgGraph>
Build a runnable
FgGraphfrom node specs. Each block's shape is resolved from its def (registry, or an override inopts.defs); edges are wired by id