I would like to simply show/hide the labels of the edges of my vis.js-network – is this possible?
I have tried to update the edges in the vis.js-data structure:
- Delete the
label
property – doesn’t work - Set the
label
toundefined
– doesn’t work - Set the
label
to''
– doesn’t work - Set the
label
to' '
– works
I would prefer a network-wise toggle of some kind, but I haven’t found one.
Is there a better way of doing this?