Skip to content

@graphty/graphty-element / session / RunRemoval

Interface: RunRemoval ​

Defined in: graphty-element/src/session/runs/types.ts:654

What removing a run took with it.

Returned so a consumer can say "Removes 1 style layer" BEFORE it asks for confirmation, which is the difference between a delete a reader can consent to and one they discover afterwards.

Properties ​

layerIds ​

readonly layerIds: readonly string[]

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

Which ones, so an undo can name them.


removedLayers ​

readonly removedLayers: number

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

How many style layers were removed with the run.