# Interface InteractionEdge

Edge in the interaction graph representing a message/interaction.

interface InteractionEdge {
from: string;
to: string;
interactionType: string;
timestamp: string;
outcome: InteractionOutcome;
durationMs?: number;
traceId: string;
weight: number;
}

- Defined in packages/nexus-agents/src/observability/swarm-observer-types.ts:82

##### Index

### Properties

from
to
interactionType
timestamp
outcome
durationMs?
traceId
weight

## Properties

### `Readonly` from

from: string

Source agent

- Defined in packages/nexus-agents/src/observability/swarm-observer-types.ts:84

### `Readonly` to

to: string

Target agent

- Defined in packages/nexus-agents/src/observability/swarm-observer-types.ts:86

### `Readonly` interactionType

interactionType: string

Type of interaction

- Defined in packages/nexus-agents/src/observability/swarm-observer-types.ts:88

### `Readonly` timestamp

timestamp: string

When interaction occurred

- Defined in packages/nexus-agents/src/observability/swarm-observer-types.ts:90

### `Readonly` outcome

outcome: InteractionOutcome

Outcome of interaction

- Defined in packages/nexus-agents/src/observability/swarm-observer-types.ts:92

### `Optional` `Readonly` durationMs

durationMs?: number

Duration if applicable

- Defined in packages/nexus-agents/src/observability/swarm-observer-types.ts:94

### `Readonly` traceId

traceId: string

Trace ID for correlation

- Defined in packages/nexus-agents/src/observability/swarm-observer-types.ts:96

### `Readonly` weight

weight: number

Weight for graph algorithms (default 1)

- Defined in packages/nexus-agents/src/observability/swarm-observer-types.ts:98