Difference between revisions of "Model (host object)"
From BioUML platform
m (Protected "Model (host object)": Autogenerated page ([edit=sysop] (indefinite))) |
(Automatic synchronization with BioUML) |
||
Line 13: | Line 13: | ||
==== Functions: ==== | ==== Functions: ==== | ||
+ | * void '''addBuses'''(Diagram diagram) | ||
* void '''addEquation'''(Diagram diagram, String type, String variable, String formula) | * void '''addEquation'''(Diagram diagram, String type, String variable, String formula) | ||
* void '''addEvent'''(Diagram diagram, String trigger, Double delay, Assignment<nowiki>[]</nowiki> actions) | * void '''addEvent'''(Diagram diagram, String trigger, Double delay, Assignment<nowiki>[]</nowiki> actions) | ||
Line 38: | Line 39: | ||
* void '''setInitialValue'''(Diagram diagram, String variableName, double value) | * void '''setInitialValue'''(Diagram diagram, String variableName, double value) | ||
* void '''setInitialValues'''(Diagram diagram<nowiki>[</nowiki>, String variableNames<nowiki>]</nowiki>, double<nowiki>[]</nowiki> values) | * void '''setInitialValues'''(Diagram diagram<nowiki>[</nowiki>, String variableNames<nowiki>]</nowiki>, double<nowiki>[]</nowiki> values) | ||
+ | * Diagram '''split'''(Diagram diagram, String<nowiki>[]</nowiki> names, String result) | ||
[[Category:Autogenerated pages]] | [[Category:Autogenerated pages]] |
Latest revision as of 16:34, 12 March 2019
- Host object name
- model
- Class
JavaScriptModel
- Plugin
- biouml.workbench (BioUML workbench)
[edit] JavaScript host object
ScriptableObject model
Functions for the diagrams changing.
[edit] Functions:
- void addBuses(Diagram diagram)
- 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)
- Diagram split(Diagram diagram, String[] names, String result)