infobox/node: change mac used to lookup nodes
This commit is contained in:
parent
0171ebe7e1
commit
2ca2604403
3 changed files with 9 additions and 10 deletions
|
@ -48,7 +48,11 @@ define(["infobox/link", "infobox/node", "infobox/location"], function (Link, Nod
|
|||
}
|
||||
|
||||
self.setData = function (d) {
|
||||
nodeDict = d.nodeDict
|
||||
nodeDict = {}
|
||||
d.graph.nodes.forEach(function (d) {
|
||||
nodeDict[d.id.substr(0, 8)] = d
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
return self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue