Skip to main content

Home > @jsplumbtoolkit/core > JsPlumbToolkit > setDoNotUpdateOriginalData

JsPlumbToolkit.setDoNotUpdateOriginalData() method#

Sets whether or not the original dataset will be updated whenever a node/edge is removed or added. This functionality is suspended when a load operation is taking place. Note that for this functionality to work there must be a manager registered for the given data type in jsPlumbToolkitIO. The Toolkit ships with a manager for the default json datatype, but if you have your own custom datatype you will need to provide one of these to support this functionality. See the documentation on data loading for a full discussion.

Signature:

setDoNotUpdateOriginalData(update: boolean): void;

Parameters#

ParameterTypeDescription
updatebooleanTrue if you want the backing data to be updated, false otherwise.

Returns:

void