Module: @@actions/save

Save and load functionality
Source:

Methods

(static) downloadData()

Downloads the model data as .json
Source:

(static) generateSaveData() → {Object}

Generates JSON save data. First updates the entities with their respective graph node positions and exports this data.
Source:
Returns:
Type
Object

(static) saveData() → {void|Promise.<*>}

Saves data either remotely or locally, based on whether a remote save location is already established.
Source:
Returns:
Type
void | Promise.<*>

(static) saveDataLocally()

Saves data locally, prompting the user if they want to overwrite their current browser data should it change significantly.
Source:

(static) updateLocalSettings(update)

Parameters:
Name Type Description
update
Source: