sigma.js icon indicating copy to clipboard operation
sigma.js copied to clipboard

Interactive Label Rendering

Open kradical opened this issue 1 year ago • 1 comments

This is more of a question than a feature request.. But is there a reasonable "library approved" :tm: way to do interactive labels? I would like to render something in a label that when clicked would highlight another node in the graph.

I can kind of muck up something to do that by passing in something to capture state to my custom drawLabel.. or I suppose given the node x/y I can make assumptions about where my links will be on the label and can do some global state song and dance at a slightly higher level..

But is there a good way to do this? or an example somewhere?

kradical avatar Jun 28 '24 23:06 kradical

Ahh I just saw this issue: https://github.com/jacomyal/sigma.js/issues/1319. Pretty related.

kradical avatar Jun 28 '24 23:06 kradical

I'm closing this ticket and I'll reply in #1319 indeed, about what is the main issue about implementing this.

jacomyal avatar Sep 16 '24 13:09 jacomyal