sybila / biodivine-aeon-sketchbook

SketchBook is a multi-platform application for designing and analysing large-scale logical models.
MIT License
0 stars 1 forks source link

Interaction/cooperation between sketch modules #41

Open ondrej33 opened 5 months ago

ondrej33 commented 5 months ago

So far, we have three individual sketch modules - model, properties, and observations. These are now mostly independent (except for the relationship between automatically generated static properties for the model's regulations). We will need the modules to interact more. For example, changing IDs of datasets needs to be propagated to dynamic properties that reference these datasets. We should try to think of ways how to do that, and we should start implementing these interactions.

General design of the communication

The modules will probably interact more and more in the future (several sketch components might need to cooperate in the analysis phase). Currently, that could be done via

Implementing the existing interactions

There are already several events that affect more than one component.

We should propagate the following data changes to dynamic properties:

The following model changes should be propagated to static properties (if needed):

Of course, all of this will need some more complex integration testing. We should update the event testing workflow to reflect that.