Difference between revisions of "Model (host object)"
From BioUML platform
(Host objects added) |
m (Protected "Model (host object)": Autogenerated page ([edit=sysop] (indefinite))) |
Revision as of 14:57, 16 May 2013
- Host object name
- model
- Class
JavaScriptModel
- Plugin
- biouml.workbench (BioUML workbench)
JavaScript host object
ScriptableObject model
Functions for the diagrams changing.
Functions:
- void addEquation(Diagram diagram, String type, String variable, String formula)
- void addEvent(Diagram diagram, String trigger, Double delay, Assignment[] actions)
- void addReaction(Diagram diagram, String formula[, Boolean faste], Double specieReferences)
- void addSpecies(Diagram diagram, String dataElementPath[, Double initialValue])
- void clearAllBoundaryConditions(Diagram diagram)
- void clearAllConstants(Diagram diagram)
- Diagram clone(Diagram diagram, String name)
- Assignment createAssignment(Diagram diagram, String variable, String math)
- SpecieReference createSpecieReference(Diagram diagram, String variable, String role[, Double stoichiometry])
- boolean getBoundaryCondition(Diagram diagram, String variableName)
- String[] getBoundaryConditions(Diagram diagram)
- String[] getConstants(Diagram diagram)
- double getInitialValue(Diagram diagram, String variableName)
- double[] getInitialValues(Diagram diagram, String[] variableNames)
- EModelRole getMath(Diagram diagram, String mathName)
- Variable getVariable(Diagram diagram, String variableName)
- String[] getVariableNames(Diagram diagram)
- Variable[] getVariables(Diagram diagram)
- boolean isConstant(Diagram diagram, String variableName)
- void setBoundaryCondition(Diagram diagram, String variableName, boolean value)
- void setBoundaryConditions(Diagram diagram, String[] variableNames)
- void setConstant(Diagram diagram, String variableName, boolean value)
- void setConstants(Diagram diagram, String[] variableNames)
- void setInitialValue(Diagram diagram, String variableName, double value)
- void setInitialValues(Diagram diagram[, String variableNames], double[] values)