maximevaillancourt / digital-garden-jekyll-template

Start your own digital garden using this Jekyll template 🌱

Home Page:https://digital-garden-jekyll-template.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Moving and Zooming of the Graph View throws Errors

phibr0 opened this issue · comments

If you zoom in or out of the Graph View or just move it in any direction following Error gets thrown in the Console:

your-first-note:402 Uncaught TypeError: Cannot set property 'innerHTML' of null
    at SVGSVGElement.resize (your-first-note:402)
    at H.apply (d3.min.js:2)
    at kt (d3.min.js:2)
    at w.emit (d3.min.js:2)
    at w.zoom (d3.min.js:2)
    at d3.min.js:2
    at d3.min.js:2
resize @ your-first-note:402
apply @ d3.min.js:2
kt @ d3.min.js:2
emit @ d3.min.js:2
zoom @ d3.min.js:2
(anonymous) @ d3.min.js:2
(anonymous) @ d3.min.js:2

image

I've noticed this as well, but couldn't figure it out immidiately either.

On my site, I also noticed that the graph overflows to the right.

@maximevaillancourt , would you mind if we (or even me specifically) update the graph to what is currently supported by the Foam VSCode extension? Personally, I believe it looks better.

Alternatively, we could simply fix this.

Thanks for the bug report! Fixed in e6e2ea2.

@maximevaillancourt , would you mind if we (or even me specifically) update the graph to what is currently supported by the Foam VSCode extension? Personally, I believe it looks better.

Pull requests are welcome! 🙂