Vasco Asturiano
Vasco Asturiano
@SilvaLucas92 you have ```js nodeVisibility={node => /* your code */} ``` But keep in mind this won't exclude the nodes from the force engine like in the collapsable example. It...
> so if I want to make a visibility logic I can achieve with this? because I also want to collapse and expand Yes, that's what it's for. It's totally...
Thanks for reaching out @menix1337. First it's important to understand which mode you're using, I assume the 2D mode, right? In 2D the links are always drawn in a layer...
@menix1337 well, you could fork the `force-graph` underlying module and modify the paint order so that links are drawn after nodes. This is happening here, for reference: https://github.com/vasturiano/force-graph/blob/7bb6919c16549e23c493c21f2d5ad60522622383/src/canvas-force-graph.js#L123-L126 But, I...
If there's enough demand for it, we could certainly add a feature for it. But in all the years of existence of this lib, afair this is the first time...
@kalabalik maybe you want to use a [Sprite](https://threejs.org/docs/#api/en/objects/Sprite) like in this example for images: https://vasturiano.github.io/react-force-graph/example/img-nodes/
@cruzmedien this is likely related to this from a different library: https://github.com/vasturiano/react-kapsule/issues/14 However, if this is next.js specific, it's not clear what changed in next.js 15 that makes the behavior...
@cruzmedien are you able to do a simple reproducing example on [codesandbox](https://codesandbox.io/) so we use it as a base to debug this further? That platform allows you to setup an...
@cruzmedien thanks for making that example. I've applied a fix for this. If you upgrade to the latest version of the module (`react-force-graph-3d: 1.24.6`) you shouldn't experience the issue any...
@MahithaSann please provide a simple reproducing example, on https://codesandbox.io/ for instance.