I have a diagram in which an arbitrary number of nodes needs to be highlighted. However, I would like to have something similar to the highlighter used in this example Local View.
From a performance point of view, is there any difference between adding and removing a varying number of parts (such as a highlighter in the example above), and doing the same with an varying number of adornment objects (via addAdornment and removeAdornment)?
This would be done programatically.
I presume GoJS objects may be deleted just as plain JavaScript objects once they are removed from the model.
Tnx!