# Interface Edge

An edge connecting two nodes in the lineage graph.

interface Edge {
expression?: string;
from: string;
id: string;
metadata?: Record<string, unknown>;
operation?: string;
to: string;
type: EdgeType;
}

- Defined in types.ts:128

##### Index

### Properties

expression?
from
id
metadata?
operation?
to
type

## Properties

### `Optional` expression

expression?: string

Optional: SQL expression if this edge represents a transformation

- Defined in types.ts:138

### from

from: string

Source node ID

- Defined in types.ts:132

### id

id: string

Stable content-based hash ID

- Defined in types.ts:130

### `Optional` metadata

metadata?: Record<string, unknown>

Extensible metadata for future use

- Defined in types.ts:142

### `Optional` operation

operation?: string

Optional: operation label ('JOIN', 'UNION', 'AGGREGATE', etc.)

- Defined in types.ts:140

### to

to: string

Target node ID

- Defined in types.ts:134

### type

type: EdgeType

Edge type

- Defined in types.ts:136