Module: @@actions/load.js

Handles loading of the model
Source:

Members

(static, constant) loadGraphFromURL

Polymorphic function. Loads the graph based on whether it receives data schema URL or a model file URL.
Source:

(static, constant) loadLocalData

Loads model data from browser storage.
Source:

Methods

(static) loadLabels()

Loads human readable labels.
Source:

(static) loadLocalSettings()

Source:

(static) loadModel(json)

Loads the model from json and initializes the graph.
Parameters:
Name Type Description
json
Source:

(async, inner) loadDataFromFile(modelURL) → {Promise.<(boolean|*|undefined)>}

Loads the application model from a remote URL.
Parameters:
Name Type Description
modelURL URL of the model file to load.
Source:
Returns:
Type
Promise.<(boolean|*|undefined)>

(async, inner) loadGraph(url) → {Promise.<void>}

Loads the graph for the provided URL. Downloads it and initializes it while displaying notification in the process.
Parameters:
Name Type Description
url
Source:
Returns:
Type
Promise.<void>

(async, inner) loadNewGraph(dataSchemaURL) → {Promise.<void>}

Loads new graph from provided URL.
Parameters:
Name Type Description
dataSchemaURL
Source:
Returns:
Type
Promise.<void>