Question about handling onNodeClick function
Hello!
I'm currently using the force-graph library in my project and I'm trying to understand how the onNodeClick function is being handled internally. I'm having trouble locating where the event listener or function call for this event is in the codebase.
I've reviewed the documentation and source code, but I couldn't find the exact location where the onNodeClick or others (onNodeRightClick, onLickClick ...) function is being triggered. Could you please provide some guidance on this? I want to understand the internals better to customize the behavior to my project's requirements.
Thank you for your help!
https://github.com/vasturiano/force-graph/blob/9391348223d01d372bbf078628eae42b52867f83/src/force-graph.js#L539-L566