# Interface GraphNode

A node in the workflow graph.

interface GraphNode {
id: string;
handler: NodeHandler;
timeout?: number;
retries?: number;
preconditions?: readonly PreconditionConfig[];
verify?: NodeHook;
}

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

##### Index

### Properties

id
handler
timeout?
retries?
preconditions?
verify?

## Properties

### `Readonly` id

id: string

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

### `Readonly` handler

handler: NodeHandler

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

### `Optional` `Readonly` timeout

timeout?: number

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

### `Optional` `Readonly` retries

retries?: number

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

### `Optional` `Readonly` preconditions

preconditions?: readonly PreconditionConfig[]

Precondition hooks run before node execution (Issue #997).

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

### `Optional` `Readonly` verify

verify?: NodeHook

Post-step verification hook run after node execution (Issue #994).

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