@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 ​
readonlyid:string
Defined in: graphty-element/src/session/types.ts:97
The element-assigned edge id.
source ​
readonlysource:NodeId
Defined in: graphty-element/src/session/types.ts:99
The id of the node the edge leaves.
target ​
readonlytarget:NodeId
Defined in: graphty-element/src/session/types.ts:101
The id of the node the edge enters.