I have an algorithm that calculates a critical path in a network. To highlight the path I tried to use node auras. The critical path (and it's color) depends on node-items. If I hover of an item I want to show the corresponding critical path.
Because the calculation is independent of the nodes no property of the nodes will be updated and mostly the style (aura) of the node that corresponds to the hovered item is not changed at all.
So I use the function updateStyle() for updating the nodes. This works perfect when updating only node coloring or node label (as you can see in jsfiddle) and node-item updates (which is done by my app) but it does not work correctly with aura updating.
I tried to create a jsfiddle to illustrate the problem. If you hover over an item the aura color should be changed.
To reproduce my setting I do not update the hovered node in nodeStyle function to stop propagating style changes in the network. So I need to call updateStyle() in hover function. You can see in the jsfiddle that this does not work as expected the aura colors are not updated correctly but the node label is.
If you comment out line 41, 63 and 64 you can see how it should work. But I need it to work the way shown because without calling updateStyle() in my program nothing will be updated.
See example here