Open Berianu opened 9 years ago
I suggest using this instead of that indexOf
var array = graph.nodes; var source = array.filter(function( obj ) { return obj.name == "apple"; });
Also, node removal isn't working because of the same issue.
Can you send the pull request for the same ?
I suggest using this instead of that indexOf
var array = graph.nodes; var source = array.filter(function( obj ) { return obj.name == "apple"; });