The selectNode/deselectNode methods on the NodeView work great for handling custom styles for single node selections, but I am not seeing a way to handle this when the element is inside of a SelectionRange. In the case of one of my node views the only visible element when the node isn’t directly selected in a canvas element and it doesn’t get any selection styling from the browser. I am no CSS expert, but I also haven’t found a working CSS only solution. This is especially bad when it is the last node in the selection and there is no way of telling if the selection ends before or after the node.
Does anyone have advice/suggestions for the best way to handle this? It doesn’t seem possible just using the NodeView interface since update only gets called with the node changes and selectNode/deselectNode on get called with node selections.