MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / buildFlow

Function buildFlow

packages/server/src/utils/index.ts:516–756  ·  view source on GitHub ↗
({
    startingNodeIds,
    reactFlowNodes,
    reactFlowEdges,
    graph,
    depthQueue,
    componentNodes,
    question,
    uploadedFilesContent,
    chatHistory,
    apiMessageId,
    chatId,
    sessionId,
    chatflowid,
    appDataSource,
    overrideConfig,
    apiOverrideStatus = false,
    nodeOverrides = {},
    availableVariables = [],
    variableOverrides = [],
    cachePool,
    isUpsert,
    stopNodeId,
    uploads,
    baseURL,
    orgId,
    workspaceId,
    subscriptionId,
    usageCacheManager,
    updateStorageUsage,
    checkStorage
}: BuildFlowParams)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

executeUpsertFunction · 0.90
executeFlowFunction · 0.90
buildAndInitToolFunction · 0.90

Calls 9

constructGraphsFunction · 0.85
replaceInputsWithConfigFunction · 0.85
saveUpsertFlowDataFunction · 0.85
getAllConnectedNodesFunction · 0.85
resolveVariablesFunction · 0.70
initMethod · 0.65
callMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected