@graphty/graphty-element / session / RunRecord
Interface: RunRecord ​
Defined in: graphty-element/src/session/runs/types.ts:475
A frozen, structured-cloneable snapshot of a run.
This is what crosses a worker boundary, what an event carries, what the journal stores and what an export embeds. It holds no functions and no live references, so it can be posted, saved and diffed; Run is the live object, and run.record is this.
Properties ​
algorithm ​
readonlyalgorithm:AlgorithmKey
Defined in: graphty-element/src/session/runs/types.ts:481
Which algorithm ran.
caveats ​
readonlycaveats:Caveats
Defined in: graphty-element/src/session/runs/types.ts:505
What qualifies the numbers.
durationMs ​
readonlydurationMs:number|null
Defined in: graphty-element/src/session/runs/types.ts:493
How long it took, in milliseconds, or null until it finishes.
engine ​
readonlyengine:EngineVersions
Defined in: graphty-element/src/session/runs/types.ts:499
Which versions produced the numbers.
fields ​
readonlyfields: readonlyFieldDescriptor[]
Defined in: graphty-element/src/session/runs/types.ts:501
The fields the run published.
id ​
readonlyid:string
Defined in: graphty-element/src/session/runs/types.ts:477
The run id.
label ​
readonlylabel:string
Defined in: graphty-element/src/session/runs/types.ts:479
What the run is called, computed by the element.
params ​
readonlyparams:Readonly<Record<string,unknown>>
Defined in: graphty-element/src/session/runs/types.ts:483
The parameters it ran with, canonicalised.
partial ​
readonlypartial:boolean
Defined in: graphty-element/src/session/runs/types.ts:495
Whether it stopped early and published what it had: true exactly when caveats.partialReason is set.
scope ​
readonlyscope:RunScopeRecord
Defined in: graphty-element/src/session/runs/types.ts:487
The scope it ran over.
seed ​
readonlyseed:number|null
Defined in: graphty-element/src/session/runs/types.ts:485
The seed it used, or null when it needed none.
shape ​
readonlyshape:"node-metric"|"edge-metric"|"community"|"layered-grouping"|"category-table"|"path"|"node-set"|"edge-set"|"pair-list"|"temporal"|"fact"
Defined in: graphty-element/src/session/runs/types.ts:503
The shape, which fixes those field names.
stale ​
readonlystale:StaleNote|null
Defined in: graphty-element/src/session/runs/types.ts:497
Why its numbers no longer describe what is on screen, when they do not.
startedAt ​
readonlystartedAt:string|null
Defined in: graphty-element/src/session/runs/types.ts:491
When it started, as an ISO 8601 timestamp, or null while it is still queued.
status ​
readonlystatus:"succeeded"|"failed"|"removed"|"queued"|"running"|"canceled"
Defined in: graphty-element/src/session/runs/types.ts:489
Where the run got to.
summary? ​
readonlyoptionalsummary?:ResultSummary
Defined in: graphty-element/src/session/runs/types.ts:507
The bounded form of the result, once there is one.