VivaGraphJS
VivaGraphJS copied to clipboard
Constant layout does not handle node updates
When node is updated with constant layout, it is removed. Check line 67 of src/Layout/constant.js. I suggest to turn it into
if (change.changeType === 'add' || change.changeType === 'update')
Same goes for line 73. When changed like that, I can successfully update my nodes.
Please comment and fix.
:+1: