Skip to content

@graphty/graphty-element / session / StyleDocumentRow

Type Alias: StyleDocumentRow ​

StyleDocumentRow = { layer: number; } | { children: readonly StyleDocumentRow[]; folder: string; } & object

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

One row of a saved style tree: a layer, by its place in the document, or a folder.

Type Declaration ​

hidden? ​

optional hidden?: boolean

Whether the row is hidden.

locked? ​

optional locked?: boolean

The reader's lock.

pin? ​

optional pin?: "top" | "bottom" | "none"

Where the row is pinned among its siblings; absent means not pinned.