Open dmarov opened 1 month ago
I was unable to update ctxRenderer for custom shape in vis-network using function updateOnly
ctxRenderer
updateOnly
Code example: https://codepen.io/Dmitry-Marov/pen/WNqbEXN
Expected result: red square changes to green circle and back every second. Actual result: red square does not change to green circle, even though ctxRenderer function gets updated.
I've fixed this issue in https://www.npmjs.com/package/@diyguy/vis-network since MR got stuck
I was unable to update
ctxRenderer
for custom shape in vis-network using functionupdateOnly
Code example: https://codepen.io/Dmitry-Marov/pen/WNqbEXN
Expected result: red square changes to green circle and back every second. Actual result: red square does not change to green circle, even though
ctxRenderer
function gets updated.