@graphty/graphty-element / session / LOAD_ROLES
Variable: LOAD_ROLES ​
constLOAD_ROLES:Readonly<Record<"nodes"|"edges", {requires: readonlyColumnRole[];takes: readonlyColumnRole[]; }>>
Defined in: graphty-element/src/session/draft.ts:79
The column roles a table of each kind takes (takes), and the ones a load cannot do without (requires). A node table needs no role: without a key its rows are numbered. An edge table needs both ends. Plain data, safe to import in Node.