You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I want the node to keep the same visual size but have larger hit-box trigger for click. I understand that for this I would need to create a custom renderer but I'm struggling to understand how to write the code for this and I couldn't find much in the docs. I tried replicating the node-circle program class but there was some importing problems and also I'm not sure which property would allow this to happen.
Could you give me the code snippet or throw me in the right direction. I appreciate it a lot.
The text was updated successfully, but these errors were encountered:
At the moment, there are no easy way to customize nodes or edges hitbox sizes. Since sigma uses picking, the best way for now is for you to implement your own nodes renderer (@sigma/node-square is certainly the easiest example yet), but with the nodes displayed larger on the picking layer.
I'll leave this ticket opened and flag it for v4, though, since I know you are not the first person to meet this need, and it should be handled directly in sigma, through some settings, for instance.
Hello, I want the node to keep the same visual size but have larger hit-box trigger for click. I understand that for this I would need to create a custom renderer but I'm struggling to understand how to write the code for this and I couldn't find much in the docs. I tried replicating the node-circle program class but there was some importing problems and also I'm not sure which property would allow this to happen.
Could you give me the code snippet or throw me in the right direction. I appreciate it a lot.
The text was updated successfully, but these errors were encountered: