Open fatore opened 6 years ago
Looks like its working for me in 4.21.0. Can you create a fiddle or plunker?
I'll try to replicate it in a Plunker, it's a bit tricky because the network is integrated with some AngularJS components. I directly assumed it was something wrong with VisJS because it works when providing a valid string, but I'll double check if it's not something with my Angular code instead.
@dheerajbapat Here's the promised fiddle:
Also a problem for me in 4.21.0. I reverted back to 4.20.1 and issue goes away.
I have a feature in my network to allow the user to display/hide the edges labels.
This piece of code used to work in previous VisJs versions:
However, now (in 4.21.0) empty strings,
null
orundefined
don't trigger a proper update in the graph anymore. Probably there is some falsy property check in the update method. So now I have to resort to something like:Besides not very elegant, this approach doesn't work well because the space string creates a gap in the edge.