Due to the modularization of Geneious It's not clear how one would go about using and sharing a data model.
Let's take this example.
I have a model that is expensive to calculate. It's used for drawing graphs as well as statistics.
It needs to know the content and order all sequences in the viewer for the calculations.
It's dependent on the graph options, plugin preferences and on the content and order of sequences so it needs to be refreshed when this change.
It needs to be loaded before the graphics draw is called.
Given our understanding of the architecture at this point the only possibility is duplication of data, different constructors for the different places and multiple places that refresh needs to be done. None of these is really acceptable for a good quality code.
Please sign in to leave a comment.