Skip to main content

add()

Description

Adds a new state

info

Adding the new state is done automatically. Therefore this method is not recommended for manual usage

Usage

add(newState: array): void;

Parameters

  • newState - (required) an array of JSON objects of the current state of the diagram

Change log: Added in v4.1