microsoft / msagljs

A JavaScript graph layout engine: port of MSAGL
https://microsoft.github.io/msagljs/
MIT License
146 stars 15 forks source link

How do I listen to mouse events on a node in WebGL renderer? #65

Open LasmGratel opened 10 months ago

LasmGratel commented 10 months ago

I found node related events https://github.com/microsoft/msagljs/blob/94939059600a5497a2e5711aa9141b1d94308878/modules/renderer-webgl/src/renderer.ts#L283-L297

certainly need to emit some mouse events here

levnach commented 10 months ago

Sorry, I was not subscribed to the notifications and missed the issue. @LasmGratel, why don't you submit a pull request with a fix?