Skip to content

@graphty/graphty-element / session / LayerPatch

Interface: LayerPatch ​

Defined in: graphty-element/src/session/styles/StylesApi.ts:383

One layer and what to change about it, for StylesApi.updateMany.

Since ​

3.29.0

Properties ​

id ​

readonly id: string

Defined in: graphty-element/src/session/styles/StylesApi.ts:385

The layer to change.


patch ​

readonly patch: Partial<LayerSpec>

Defined in: graphty-element/src/session/styles/StylesApi.ts:387

What to change about it, as StylesApi.update takes it.