# Function buildDependencyGraph

Workflows exports - Workflow engine with parallel execution Split from index.ts for file size compliance (Issue #285)

- buildDependencyGraph(workflow: WorkflowDefinition): DependencyGraph

  Builds a dependency graph from a workflow definition.

  #### Parameters

  - workflow: WorkflowDefinition

    The workflow definition

  #### Returns DependencyGraph

  The constructed dependency graph

  - Defined in packages/nexus-agents/src/workflows/dependency-graph.ts:252