mirror of
https://github.com/falsycat/ar.falsy.cat.git
synced 2024-12-26 16:34:51 +00:00
uncomment window.Million
This commit is contained in:
parent
e809896338
commit
ac0dd50c04
@ -180,7 +180,7 @@ async function drawGraph(
|
|||||||
])
|
])
|
||||||
const neighbourNodes = d3.selectAll(".node").filter((d) => neighbours.includes(d.id))
|
const neighbourNodes = d3.selectAll(".node").filter((d) => neighbours.includes(d.id))
|
||||||
const currentId = 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
|
const linkNodes = d3
|
||||||
.selectAll(".link")
|
.selectAll(".link")
|
||||||
.filter((d) => d.source.id === currentId || d.target.id === currentId)
|
.filter((d) => d.source.id === currentId || d.target.id === currentId)
|
||||||
|
Loading…
Reference in New Issue
Block a user