Skip to content

@graphty/graphty-element / session / EdgeRecord

Interface: EdgeRecord ​

Defined in: graphty-element/src/session/types.ts:95

An edge as a consumer reads it: its endpoints, and whatever attributes its record carried.

Indexable ​

[attribute: string]: unknown

Every other key the record carried.

Properties ​

id ​

readonly id: string

Defined in: graphty-element/src/session/types.ts:97

The element-assigned edge id.


source ​

readonly source: NodeId

Defined in: graphty-element/src/session/types.ts:99

The id of the node the edge leaves.


target ​

readonly target: NodeId

Defined in: graphty-element/src/session/types.ts:101

The id of the node the edge enters.