@graphty/graphty-element / session / ResultSummary
Interface: ResultSummary ​
Defined in: graphty-element/src/session/results/types.ts:804
A result, small enough to hand to anything.
This is the bounded form: a result card reads it, an export embeds it, an AI tool returns it and the plain-language reading is generated from it. It never grows with the graph, which is the rule that keeps a summary a summary -- a tool result is never a list with one entry per node.
Properties ​
caveats ​
readonlycaveats:Caveats
Defined in: graphty-element/src/session/results/types.ts:826
What qualifies these numbers.
count ​
readonlycount:number
Defined in: graphty-element/src/session/results/types.ts:806
How many elements were in scope.
durationMs ​
readonlydurationMs:number
Defined in: graphty-element/src/session/results/types.ts:828
How long the run took, in milliseconds.
groups? ​
readonlyoptionalgroups?: readonlySummaryGroup[]
Defined in: graphty-element/src/session/results/types.ts:824
The groups, largest first, for a result that partitions.
max ​
readonlymax:number|null
Defined in: graphty-element/src/session/results/types.ts:812
The highest value, or null when nothing numeric was measured.
mean ​
readonlymean:number|null
Defined in: graphty-element/src/session/results/types.ts:816
The average value, or null when nothing numeric was measured.
measured ​
readonlymeasured:number
Defined in: graphty-element/src/session/results/types.ts:808
How many of them the run produced a value for.
median ​
readonlymedian:number|null
Defined in: graphty-element/src/session/results/types.ts:814
The middle value, or null when nothing numeric was measured.
min ​
readonlymin:number|null
Defined in: graphty-element/src/session/results/types.ts:810
The lowest value, or null when nothing numeric was measured.
normalization ​
readonlynormalization:Normalization
Defined in: graphty-element/src/session/results/types.ts:820
How the values were scaled.
tiedAtMin ​
readonlytiedAtMin:number
Defined in: graphty-element/src/session/results/types.ts:818
How many measured elements sit at the lowest value.
top ​
readonlytop: readonlySummaryEntry[]
Defined in: graphty-element/src/session/results/types.ts:822
The highest-ranked elements, best first. Bounded however large the graph is.