Search results

History API in React Diagram API component

Properties

canLog

Function

Used to decide to stored the changes to history

canRedo

boolean

Set the history entry can be redo

canUndo

boolean

set the history entry can be undo

currentEntry

HistoryEntry

Set the current entry object

endGroupAction

Function

Used to intimate the group action is end

push

Function

Stores a history entry to history list

redo

Function

Used for custom redo option

redoStack

HistoryEntry[]

Used to store the redostack

stackLimit

number

Used to restrict or limits the number of history entry will be stored on the history list

startGroupAction

Function

Used to intimate the group action is start

undo

Function

Used for custom undo option

undoStack

HistoryEntry[]

Used to store the undoStack