Skip to content

@graphty/graph-io / styles / ColumnRef

Type Alias: ColumnRef ​

ColumnRef = { data: string; } | { style: string; } | { computed: "degree" | "indegree" | "outdegree"; }

Defined in: styles/types.ts:959

A reference to the per-element values a predicate or a mapping reads. Open union.

Union Members ​

Type Literal ​

{ data: string; }

data ​

readonly data: string

An attribute column of the snapshot, by name.


Type Literal ​

{ style: string; }

style ​

readonly style: string

A column of ExtractedStyles.columns, by its generated key.


Type Literal ​

{ computed: "degree" | "indegree" | "outdegree"; }

computed ​

readonly computed: "degree" | "indegree" | "outdegree"

A value computed from the graph itself, live: it follows later edits.