This is a proposal for a new feature which would allow the user to interactively edit relationships between ImageLocated objects. The TrackEditor already implements this functionality for TRACK links only. It would be really useful to create a generic version of this.
The initialisation and genericity of this functionality could be implemented by enabling the user to choose 2 options:
- Choose the type of Links to be edited (with a Predicate on Links to make sure that it connects ImageLocated)
- Choose an Association Rule.
This 'Association Rule' can be an interface with a linkEdited() method which would trigger rearrangements of other relationships if necessary. For example nuclei to centrosomes associations could be edited this way since associations mistakes may propagate to neighbouring nuclei, corrections would do the same.