APIDiagram Editor APIHistoryManager methodsadd()On this pageadd()DescriptionAdds a new stateinfoAdding the new state is done automatically. Therefore this method is not recommended for manual usageUsageadd(newState: array): void;ParametersnewState - (required) an array of JSON objects of the current state of the diagramChange log: Added in v4.1