forcegraph: show links with unknown nodes
This commit is contained in:
parent
9f48cb1f3b
commit
97a00b6925
7 changed files with 36 additions and 24 deletions
|
|
@ -20,7 +20,7 @@ define(function () {
|
|||
|
||||
this.gotoLink = function (d) {
|
||||
if (d)
|
||||
setTitle(d.source.node.nodeinfo.hostname + " – " + d.target.node.nodeinfo.hostname)
|
||||
setTitle((d.source.node ? d.source.node.nodeinfo.hostname : d.source.id) + " – " + d.target.node.nodeinfo.hostname)
|
||||
}
|
||||
|
||||
this.gotoLocation = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue