forcegraph: show links with unknown nodes
This commit is contained in:
parent
9f48cb1f3b
commit
97a00b6925
7 changed files with 36 additions and 24 deletions
|
@ -685,7 +685,7 @@ define(["d3"], function (d3) {
|
|||
d.source.neighbours[d.target.o.id] = {node: d.target, link: d}
|
||||
d.target.neighbours[d.source.o.id] = {node: d.source, link: d}
|
||||
|
||||
if (d.o.source.node && d.o.target.node)
|
||||
if (d.o.source && d.o.target)
|
||||
linksDict[d.o.id] = d
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue