Iterate from the TOP of the tree, we only have to skip the one node on links.

This commit is contained in:
Herbert Wolverson 2024-07-17 16:18:10 -05:00
parent 85e7835444
commit 21a1c48dca

View File

@ -66,7 +66,7 @@ function start() {
}
});
if (i > 1) {
if (i > 0) {
let immediateParent = data[i][1].immediate_parent;
links.push({
source: data[immediateParent][1].name,