@graphty/graphty-element / session / TableMapping
Interface: TableMapping ​
Defined in: graphty-element/src/session/types.ts:1129
The column roles of one table. Every value is a column name exactly as DraftColumn.name spells it, never an expression. Absent means the element's own reading; null means none. A name that is not a column of the table is refused with E_UNKNOWN_ATTRIBUTE.
Extended by ​
Properties ​
edgeId? ​
readonlyoptionaledgeId?:string|null
Defined in: graphty-element/src/session/types.ts:1145
The column holding an edge's own id. Written to data.knownFields.edgeIdPath.
key? ​
readonlyoptionalkey?:string|null
Defined in: graphty-element/src/session/types.ts:1133
A node table's id column; null numbers the rows instead.
label? ​
readonlyoptionallabel?:string|null
Defined in: graphty-element/src/session/types.ts:1135
The column that names a node. Written to data.knownFields.nodeLabelPath.
rowsAre? ​
readonlyoptionalrowsAre?:"edges"|"nodes"
Defined in: graphty-element/src/session/types.ts:1131
Whether each row is a node or an edge.
source? ​
readonlyoptionalsource?:string|Endpoint
Defined in: graphty-element/src/session/types.ts:1137
The column holding the node an edge leaves.
target? ​
readonlyoptionaltarget?:string|Endpoint
Defined in: graphty-element/src/session/types.ts:1139
The column holding the node an edge enters.
time? ​
readonlyoptionaltime?:string|null
Defined in: graphty-element/src/session/types.ts:1143
The column holding a time. Written to data.knownFields.nodeTimePath or edgeTimePath.
weight? ​
readonlyoptionalweight?:string|null
Defined in: graphty-element/src/session/types.ts:1141
The edge weight column; null weighs every edge 1, and the legacy value column is not read.