forked from node-red/node-red
-
Notifications
You must be signed in to change notification settings - Fork 1
Cause Helper Functions
geminos-jeff edited this page Jul 7, 2021
·
1 revision
one knowledge model per instance? one causal model per instance?
createInstance(instanceName) deleteInstance(instanceName)
- createModel(modelName,InstanceName)
- deleteModel(modelName,InstanceName)
- listModels(InstanceName)
- loadModel(modelName,InstanceName)
- updateModel(modelName,InstanceName)
- executeModel(modelName,InstanceName)
#Location Functions
- createLocation(modelName,instanceName,location)
- deleteLocation(modelName,InstanceName)
Who should be setting the id?
- createEvent(modelName, InstanceName, id, output, description, startedWhen, endedWhen, startedWhere, endedWhere, code, complexity, score, source)
- updateEvent(modelName, InstanceName, id, output, description, startedWhen, endedWhen, startedWhere, endedWhere, code, complexity, score)
- deleteEvent
- createPath (event1,event2) - Create a connection between two nodes. Implemented as a relation.