# Interface GraphExecuteOptions

Options for graph execution.

interface GraphExecuteOptions {
signal?: AbortSignal;
timeout?: number;
maxSteps?: number;
onNodeComplete?: (result: NodeResult) => void;
checkpointStore?: ICheckpointStore;
executionId?: string;
onEvent?: (event: GraphEvent) => void;
resumeValues?: Readonly<Record<string, unknown>>;
}

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:293

##### Index

### Properties

signal?
timeout?
maxSteps?
onNodeComplete?
checkpointStore?
executionId?
onEvent?
resumeValues?

## Properties

### `Optional` `Readonly` signal

signal?: AbortSignal

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:294

### `Optional` `Readonly` timeout

timeout?: number

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:295

### `Optional` `Readonly` maxSteps

maxSteps?: number

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:296

### `Optional` `Readonly` onNodeComplete

onNodeComplete?: (result: NodeResult) => void

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:297

### `Optional` `Readonly` checkpointStore

checkpointStore?: ICheckpointStore

Optional checkpoint store for durable execution (Issue #837).

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:299

### `Optional` `Readonly` executionId

executionId?: string

Execution ID for checkpoint grouping. Required with checkpointStore.

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:301

### `Optional` `Readonly` onEvent

onEvent?: (event: GraphEvent) => void

Event listener for streaming observation (Issue #838).

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:303

### `Optional` `Readonly` resumeValues

resumeValues?: Readonly<Record<string, unknown>>

Values supplied for HITL resume. Keyed by Interrupt id; passed to each NodeHandler via its NodeContext on this run only. Empty when not resuming. (#1895)

- Defined in packages/nexus-agents/src/orchestration/graph/graph-types.ts:309