@graphty/graphty-element / session / ImportReport
Interface: ImportReport ​
Defined in: graphty-element/src/data/report.ts:29
What the element did with one load, from the endpoint spelling to the final edge count.
Extended by ​
Properties ​
counts ​
readonlycounts:object
Defined in: graphty-element/src/data/report.ts:42
The numbers that used to be one, and disagreed.
edgeRecords ​
readonlyedgeRecords:number
Edge records handed over, however many of them became edges.
edges ​
readonlyedges:number
Edges the graph holds after the load.
nodeRecords ​
readonlynodeRecords:number
Node records handed over, which is fewer than nodes when an edge named an endpoint the file never declared as a node of its own.
nodes ​
readonlynodes:number
Nodes the graph holds after the load.
rejected ​
readonlyrejected:number
Records that became nothing: an edge record whose endpoint ids the store would not take, and a node record with no usable id (absent, null, or not a string or a finite number). LoadDraft.rows(id, { only: "rejected" }) lists them before a load.
edgeIdentity ​
readonlyedgeIdentity:object
Defined in: graphty-element/src/data/report.ts:78
How a set, a style layer or a saved reference will find the edges this load stored again: by the file's own edge id, or, without one, by position among the edges of the same pair. A reference by position matches a different edge if a later file lists that pair's edges in another order, which is why the report says how many there are.
byId ​
readonlybyId:number
Edges stored with a file id.
byPosition ​
readonlybyPosition:number
Edges stored without one, matched by position among their pair's edges.
idPath ​
readonlyidPath:string|null
The record key file ids were read at (knownFields.edgeIdPath), or null when none is configured.
endpoints ​
readonlyendpoints:object
Defined in: graphty-element/src/data/report.ts:33
Which record keys named the endpoints, and how that was decided.
resolvedFrom ​
readonlyresolvedFrom:EndpointSpelling
Which spelling answered, or "declared" when the caller named the columns.
source ​
readonlysource:string
The JMESPath expression the source endpoint was read with.
target ​
readonlytarget:string
The JMESPath expression the target endpoint was read with.
format ​
readonlyformat:string
Defined in: graphty-element/src/data/report.ts:31
The data source that read the file, or "records" for pushed data.
policy ​
readonlypolicy:DuplicatePolicy
Defined in: graphty-element/src/data/report.ts:64
The repeat policy that was in force.
repeated ​
readonlyrepeated:RepeatedEdgeCounts
Defined in: graphty-element/src/data/report.ts:62
What happened to the records that named a pair the graph already held.
weights ​
readonlyweights:object
Defined in: graphty-element/src/data/report.ts:66
Where each edge's weight came from.
attribute ​
readonlyattribute:string|null
The record key weights were read from, or null when no record carried one.
resolvedFrom ​
readonlyresolvedFrom:"none"|"path"|"legacy"
"path" for the configured key, "legacy" for the value fallback, "none" for neither.