Version: dev

Editing

Adding, removing and renaming the parts of a document, and composing, merging and extracting components.

OperationKindBindingsSummary
add_continuous_eventfunctionJulia, TypeScript, Python, GoAdd a continuous event to a model.
add_couplingfunctionJulia, TypeScript, Python, Rust, GoAdd a coupling entry to an ESM file.
add_discrete_eventfunctionJulia, TypeScript, Python, GoAdd a discrete event to a model.
add_equationfunctionJulia, TypeScript, Python, Rust, GoAdd a new equation to a model.
add_reactionfunctionJulia, TypeScript, Python, Rust, GoAdd a new reaction to a reaction system.
add_speciesfunctionJulia, TypeScript, Python, Rust, GoAdd a new species to a reaction system.
add_variablefunctionJulia, TypeScript, Python, Rust, GoAdd a new variable to a model.
component_existsfunctionTypeScript, Python, RustUtility to check if a component exists in the ESM file
composefunctionJulia, TypeScript, Rust, GoConvenience function to create an operator_compose coupling entry linking two systems.
extractfunctionJulia, TypeScript, Python, GoExtract a single component into a standalone ESM file.
get_component_typefunctionTypeScript, RustGet the type of a component by its ID
map_variablefunctionJulia, TypeScript, GoConvenience function to create a variable_map coupling entry that forwards a variable reference from into to.
mergefunctionTypeScript, Python, GoMerge two ESM files
remove_couplingfunctionJulia, TypeScript, Python, Rust, GoRemove a coupling entry by index (1-based).
remove_equationfunctionJulia, TypeScript, Python, RustRemove an equation from a model.
remove_eventfunctionJulia, TypeScript, Python, GoRemove events whose description field equals description from a model.
remove_reactionfunctionJulia, TypeScript, Python, Rust, GoRemove a reaction by its ID.
remove_speciesfunctionJulia, TypeScript, Python, Rust, GoRemove a species from a reaction system.
remove_variablefunctionJulia, TypeScript, Python, Rust, GoRemove a variable from a model.
rename_variablefunctionJulia, TypeScript, Python, GoRename a variable throughout the model.
edit_errorerrorJulia, Rust, GoException thrown when an editing operation cannot be applied — e.g. removing a variable, equation, reaction, event, or coupling entry that does not exist, or extracting a missing…
entity_not_found_errorerrorTypeScript, GoError thrown when attempting an operation on a non-existent entity
variable_in_use_errorerrorTypeScript, GoError thrown when attempting to remove a variable that is still referenced

All topics