Jacky Zhao
2023-08-19 dd47be1bc65d3a8050d6ce9e77cd0e3b10e2a1a9
quartz/components/scripts/graph.inline.ts
@@ -177,7 +177,7 @@
      window.spaNavigate(new URL(targ, window.location.toString()))
    })
    .on("mouseover", function (_, d) {
      const neighbours: SimpleSlug[] = data[slug].links ?? []
      const neighbours: SimpleSlug[] = data[fullSlug].links ?? []
      const neighbourNodes = d3
        .selectAll<HTMLElement, NodeData>(".node")
        .filter((d) => neighbours.includes(d.id))