forcegraph: show links with unknown nodes
This commit is contained in:
parent
9f48cb1f3b
commit
97a00b6925
7 changed files with 36 additions and 24 deletions
|
|
@ -1,6 +1,6 @@
|
|||
define(["sorttable", "virtual-dom"], function (SortTable, V) {
|
||||
function linkName(d) {
|
||||
return d.source.node.nodeinfo.hostname + " – " + d.target.node.nodeinfo.hostname
|
||||
return (d.source.node ? d.source.node.nodeinfo.hostname : d.source.id) + " – " + d.target.node.nodeinfo.hostname
|
||||
}
|
||||
|
||||
var headings = [{ name: "Knoten",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue