Skip to content

@graphty/graphty-element / session / RankingEntry

Interface: RankingEntry ​

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

One element's place in a ranking.

Properties ​

id ​

readonly id: NodeId

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

The element's id. An edge-shaped result ranks edge ids, which are always strings; both id types are string | number, so one type covers both.


percentile ​

readonly percentile: number

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

The share of measured elements it ranks at or above, from 0 to 1.


rank ​

readonly rank: number

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

Its position, best first, starting at 1.


value ​

readonly value: number

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

The value the element was ranked on.