Search results

ICustomHistoryChangeArgs API in React Diagram API component

ICustomHistoryChangeArgs notifies when the label of an element under goes editing

Properties

entryType

string

returns the type of the entry that means undo or redo

newValue

NodeModel | ConnectorModel | SelectorModel | DiagramModel | ShapeAnnotation | PathAnnotation | PointPortModel

returns an array of objects, where each object represents the changes made in last undo/redo

oldValue

NodeModel | ConnectorModel | SelectorModel | DiagramModel | ShapeAnnotation | PathAnnotation | PointPortModel

returns a collection of objects that are changed in the last undo/redo