Skip to content

@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 ​

readonly caveats: Caveats

Defined in: graphty-element/src/session/results/types.ts:826

What qualifies these numbers.


count ​

readonly count: number

Defined in: graphty-element/src/session/results/types.ts:806

How many elements were in scope.


durationMs ​

readonly durationMs: number

Defined in: graphty-element/src/session/results/types.ts:828

How long the run took, in milliseconds.


groups? ​

readonly optional groups?: readonly SummaryGroup[]

Defined in: graphty-element/src/session/results/types.ts:824

The groups, largest first, for a result that partitions.


max ​

readonly max: number | null

Defined in: graphty-element/src/session/results/types.ts:812

The highest value, or null when nothing numeric was measured.


mean ​

readonly mean: number | null

Defined in: graphty-element/src/session/results/types.ts:816

The average value, or null when nothing numeric was measured.


measured ​

readonly measured: number

Defined in: graphty-element/src/session/results/types.ts:808

How many of them the run produced a value for.


median ​

readonly median: number | null

Defined in: graphty-element/src/session/results/types.ts:814

The middle value, or null when nothing numeric was measured.


min ​

readonly min: number | null

Defined in: graphty-element/src/session/results/types.ts:810

The lowest value, or null when nothing numeric was measured.


normalization ​

readonly normalization: Normalization

Defined in: graphty-element/src/session/results/types.ts:820

How the values were scaled.


tiedAtMin ​

readonly tiedAtMin: number

Defined in: graphty-element/src/session/results/types.ts:818

How many measured elements sit at the lowest value.


top ​

readonly top: readonly SummaryEntry[]

Defined in: graphty-element/src/session/results/types.ts:822

The highest-ranked elements, best first. Bounded however large the graph is.