Open
Description
Hi, I am trying to create a custom NodeLabelComponent with some controls to expand the node. What I have found is that clicking anywhere on the label/node toggles it. And if I have the collapsible prop set to false, there doesn't seem to be any function that I can call to override it and toggle the node.
Basically, I want to create a conditional to only allow expanding nodes when they have less than a certain number of children. And to do this, I need to turn off the default node toggle, and create my own way of calling it within my NodeLabelComponent.
Is there any way that I can do this?