@graphty/graphty-element / session / ValueCounts
Interface: ValueCounts ​
Defined in: graphty-element/src/session/types.ts:736
How many elements carry each value of one readable path: what session.data.valueCounts(path) returns. Unlike ColumnHistogram it reads any path data.readableValues() lists -- a data column, a run's field, a node value read at an edge's end -- and it never bins or truncates.
Since ​
3.31.0
Properties ​
missing ​
readonlymissing:number
Defined in: graphty-element/src/session/types.ts:740
How many elements of the kind carry no value for the path.
total ​
readonlytotal:number
Defined in: graphty-element/src/session/types.ts:742
How many elements of the kind there are: the values' counts plus missing.
values ​
readonlyvalues: readonlyobject[]
Defined in: graphty-element/src/session/types.ts:738
Every value carried, most elements first; a tie keeps the order the values were first seen in.