Well, seems I can use onNodesChange() from useVueFlow(). I have simply to implement logic to distinguish between a single node selected from multiple node selected, because the routine is called for every single selection event. So the problem is in my code, not in vue-flow. Sorry for the noise.