@graphty/graphty-element / session / TopFactCode
Type Alias: TopFactCode ​
TopFactCode =
"top.exact"|"top.tiesLeftOut"|"top.tiesTaken"|"top.fewerMeasured"
Defined in: graphty-element/src/session/styles/explain.ts:351
What a "top N" took, as the code of a StyleCounts.tops fact. Every code's params carry path (the value ranked), n (how many were asked for), taken (how many it took) and ties ("fewer" or "all"); the two tie codes add value (the value the group ties at) and count (how many tie there).
| Code | Meaning |
|---|---|
top.exact | It took exactly n. |
top.tiesLeftOut | A tie group at the cut was left out, so it took fewer than n. |
top.tiesTaken | A tie group at the cut was taken whole, so it took more than n. |
top.fewerMeasured | Fewer than n elements carry a number for path, and it took them all. |
New codes may be added in a minor release: word an unknown one generically.
Since ​
3.26.0