|
|
|
@ -180,7 +180,7 @@ async function drawGraph(
|
|
|
|
|
])
|
|
|
|
|
const neighbourNodes = d3.selectAll(".node").filter((d) => neighbours.includes(d.id))
|
|
|
|
|
const currentId = d.id
|
|
|
|
|
// window.Million.prefetch(new URL(`${baseUrl}${decodeURI(d.id).replace(/\s+/g, "-")}/`))
|
|
|
|
|
window.Million.prefetch(new URL(`${baseUrl}${decodeURI(d.id).replace(/\s+/g, "-")}/`))
|
|
|
|
|
const linkNodes = d3
|
|
|
|
|
.selectAll(".link")
|
|
|
|
|
.filter((d) => d.source.id === currentId || d.target.id === currentId)
|
|
|
|
|