Effects & Interactions
Some effects can also be used to only target specific objects, this is the case for the god rays effect, the outline effect and the selective bloom effect. Especially the outline effect can be used in combination with interactions to create an outline around selected objects. Read more about the interactions feature here.
In the example below we add the outline effect to the outputs that are currently being selected. This is done in the event listener of the drag event, but can be done in any other event listener as well. We always clear the selection before adding the currently selected nodes.