Interface: Edge
Defined in: model/types.ts:111
Properties
kind
kind: EdgeKind;Defined in: model/types.ts:122
label
label: string;Defined in: model/types.ts:121
Display label (field name, variant name, etc.).
sourceDeclName
sourceDeclName: string;Defined in: model/types.ts:113
Decl that owns the source row.
sourceRowIndex
sourceRowIndex: number;Defined in: model/types.ts:115
Index into fields (record) or variants (union). -1 means "from the decl header itself".
sourceVariantFieldIndex
sourceVariantFieldIndex: number | null;Defined in: model/types.ts:117
For variant payloads pointing to a nested field, the field index inside that variant; otherwise null.
targetDeclName
targetDeclName: string;Defined in: model/types.ts:119
Decl name targeted. Always points to a declared decl (we don't emit edges to externals/primitives).