Skip to content

@graphty/graphty-element / session / LayerSpec

Interface: LayerSpec ​

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

A layer as it is authored, imported or exported: data, never an object with behaviour.

Extended by ​

Properties ​

enabled? ​

optional enabled?: boolean

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


encode? ​

optional encode?: Partial<Record<Channel, Binding>>

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


kind? ​

optional kind?: LayerKind

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


name ​

name: string

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


selector ​

selector: Selector

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


set? ​

optional set?: Partial<Record<Channel, ChannelValue>>

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


source? ​

optional source?: LayerSource

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


target? ​

optional target?: "node" | "edge"

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


userData? ​

optional userData?: Record<string, unknown>

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