This commit is contained in:
Nils Schneider 2015-03-22 14:47:33 +01:00
parent 28cbef5bb6
commit cc6fe60a7d

View File

@ -135,8 +135,7 @@ function handle_data(config, map) {
}) })
graph = graph.links.filter( function (d) { graph = graph.links.filter( function (d) {
var ok = d.source !== undefined && d.target !== undefined return d.source !== undefined && d.target !== undefined
return ok
}) })
graph.forEach( function (d) { graph.forEach( function (d) {