     }
                    let remaining = JSON.parse(JSON.stringify(graphData.nodes));
                    let links = JSON.parse(JSON.stringify(graphData.links));
                    let currentLink = decodeURI(window.location.pathname);
                    let currentNode = remaining[currentLink] || Object.values(remaining).find((v) => v.home);
                    delete remaining[currentNode.url];
                    if (!currentNode.home) {
                    let home = Object.values(remaining).find((