wrap links/nodes in graph

This commit is contained in:
Nils Schneider 2015-03-31 17:21:58 +02:00
parent 3c3cb4047d
commit b8a9ac9a26
4 changed files with 8 additions and 5 deletions

View file

@ -121,7 +121,7 @@ define(function () {
objects.nodes[d.nodeinfo.node_id] = d
})
data.links.forEach( function (d) {
data.graph.links.forEach( function (d) {
objects.links[linkId(d)] = d
})
}