Skip to content

pivotick v3.0.0


pivotick / History / HistoryPreview

Interface: HistoryPreview ​

Defined in: interfaces/History.ts:99

What a span would do, before it is committed.

Properties ​

canvasOnly ​

canvasOnly: HistoryEntry[]

Defined in: interfaces/History.ts:108

Inside the span and reversed, but written through to a backend that keeps its copy — so the reversal is canvas-only. What the footer warns about.


edges ​

edges: Edge[]

Defined in: interfaces/History.ts:114


effect ​

effect: HistoryEffect

Defined in: interfaces/History.ts:116

The simulated net effect of committing it.


entries ​

entries: HistoryEntry[]

Defined in: interfaces/History.ts:101

The span, newest first — the rows the menu marks.


forecast ​

forecast: GraphForecast

Defined in: interfaces/History.ts:122

The same thing as something the canvas can wear: what would go, what would be hidden, and where what is not on the canvas would come back. Hand it to graph.showForecast.


nodes ​

nodes: Node[]

Defined in: interfaces/History.ts:113

The elements the span touches that are on the canvas now. An entry whose elements are gone names none, honestly — see forecast for those.


skipped ​

skipped: HistoryEntry[]

Defined in: interfaces/History.ts:103

Inside the span, left alone because they are sealed.