agentskit.js

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?

optional properties?: TProps

Defined in: graph.ts:27


#to

to: string

Defined in: graph.ts:24


#weight?

optional weight?: number

Defined in: graph.ts:26

Optional weight — confidence, recency, or frequency.

Explore nearby

✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page