Skip to content

@graphty/graphty-element / session / FileStyleColumnValues

Interface: FileStyleColumnValues ​

Defined in: graphty-element/src/session/styles/fileStyles/store.ts:32

One column of a load's style values, as plain data: what a project file saves and the data.setFileStyles command carries. ids[i] holds values[i]; a null value holds nothing.

Properties ​

ids ​

readonly ids: readonly NodeId[]

Defined in: graphty-element/src/session/styles/fileStyles/store.ts:38

The elements, by node id or edge id.


key ​

readonly key: string

Defined in: graphty-element/src/session/styles/fileStyles/store.ts:36

The column's key, read at graphty.style.<namespace>.<kind>.<key>.


kind ​

readonly kind: FileStyleKind

Defined in: graphty-element/src/session/styles/fileStyles/store.ts:34

Nodes or edges.


values ​

readonly values: readonly (FileStyleScalar | null)[]

Defined in: graphty-element/src/session/styles/fileStyles/store.ts:40

One value per id.