Skip to content

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

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 ​

AttributeDescriptor.name


sampleValues ​

sampleValues: readonly unknown[]

Defined in: graphty-element/src/catalog/types.ts:924

Inherited from ​

AttributeDescriptor.sampleValues


suggested? ​

readonly optional suggested?: 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 ​

AttributeDescriptor.type


uniqueCount? ​

optional uniqueCount?: number

Defined in: graphty-element/src/catalog/types.ts:921

Inherited from ​

AttributeDescriptor.uniqueCount