Closed hajicj closed 7 years ago
When removing and adding edges, the ObjectGraph
gets modified, but the CropObjects
in question do not get their inlinks
and outlinks
updated accordingly. This then shows up when the Plus/Eraser Lasso re-add the object: the new object is added with all its old inlinks/outlinks.
To fix: reimplement ensure_add_edge
, ensure_remove_edge
, etc. in model, so that it syncs the graph automatically. Basically, this will hide graph operations behind the model.
To replicate: