@graphty/graphty-element / session / DraftColumn
Interface: DraftColumn ​
Defined in: graphty-element/src/session/types.ts:1074
One column of a draft table, described as data.attributes() describes it after a load.
Extends ​
Pick<AttributeDescriptor,"name"|"type"|"completeness"|"uniqueCount"|"sampleValues">
Properties ​
completeness ​
completeness:
number
Defined in: graphty-element/src/catalog/types.ts:920
The fraction of elements that carry a value, from 0 to 1.
Inherited from ​
AttributeDescriptor.completeness
name ​
name:
string
Defined in: graphty-element/src/catalog/types.ts:905
Inherited from ​
sampleValues ​
sampleValues: readonly
unknown[]
Defined in: graphty-element/src/catalog/types.ts:924
Inherited from ​
AttributeDescriptor.sampleValues
suggested? ​
readonlyoptionalsuggested?:ColumnRole
Defined in: graphty-element/src/session/types.ts:1079
The role the element gives it by itself; absent when it is a plain attribute.
type ​
type:
"string"|"number"|"boolean"|"integer"|"time"|"category"|"mixed"
Defined in: graphty-element/src/catalog/types.ts:909
Inherited from ​
uniqueCount? ​
optionaluniqueCount?:number
Defined in: graphty-element/src/catalog/types.ts:921