Open jgraley opened 1 year ago
To insert into an ordering, your new XLink needs to be compared with potentially any of those already there, and the whole idea is that the XLinks in the preserved tree zones stay in the orderings all the way through. So: all the XLinks in preserved tree zones must be fit for comparison on any ordering whenever anything is inserted:
Conclusion is that if you want to insert into the orderings, you have to do so on a complete tree. Options for DB update then are:
Implication is that TreeZones are always embedded in the tree and have ordering entries and we don't try to "remove" them from the tree, instead working around them on the free zones.
Note different strategy for DF and SC ordering. Ordering dependencies:
So, if some node or zone changes then:
Thus we accept differences in strategy:
Note that alternatives for the DF ordering constraint exist:
It would be nice of the
stimuli
s wereTreePtr<Node>
, but they're not.