GraphEdge
Auto-generated API reference for GraphEdge.
Interface: GraphEdge<TProps>
Defined in: graph.ts:19
#Type Parameters
#TProps
TProps = Record<string, unknown>
#Properties
#from
from:
string
Defined in: graph.ts:23
#id
id:
string
Defined in: graph.ts:20
#label
label:
string
Defined in: graph.ts:22
Verb / relation type — 'knows', 'works-at', 'cites'.
#properties?
optionalproperties?:TProps
Defined in: graph.ts:27
#to
to:
string
Defined in: graph.ts:24
#weight?
optionalweight?:number
Defined in: graph.ts:26
Optional weight — confidence, recency, or frequency.