netjsongraph.js
netjsongraph.js copied to clipboard
Utilize callbacks for changing link CSS
Hi!
I want, on click of a node, change the CSS properties of links that source == node.id. I see onClickNode but the arguments passed to that callback didn't seem possible to reference links originating from it. ([node object, node.index, 0])
Can you think of a way to accomplish this? I think it should be fairly simple to do, I just lack the exceptional JS comfort to know off-hand. :)
I think it's not possible right now out of the box, it would be a good feature though.
If you checkout the Network Map tab here, they do something similar to what I'm talking about.