Created: 3 years ago Author: Md Mahfoozur Rahman
turned off nodes and edges also disappeared
Topic: Node Topic Creator: Md Mahfoozur Rahman
Comments
Regarding issue turned off nodes and edges also disappeared - I found out that in the new version it is not working like it was working in prior version.. It seems someone in github also raised this issue which is still to be resolved.. https://github.com/visjs/vis-network/issues/552
3 years ago
we are currently using 9.1.2 of vis.. and it was working until 4.20.1
3 years ago
one another note.. the 4.20 version is depreciated also now..
3 years ago
also tried manually updating node color with with color:"rgba(0,0,0,0)",fontColor:"rgba(0,0,0,0)" but no luck. Doing so also removes edges like it does on setOptions({nodes:{'hidden':true}})
3 years ago
var allNodes = nodes.get();
allNodes.forEach(function(n) {
nodes.update({
id: n.id, color:"rgba(0,0,0,0)",fontColor:"rgba(0,0,0,0)"
});
});
3 years ago