Raúl Ibáñez
Raúl Ibáñez
I'm using this library in an angular client. I thought of creating a small library that bundles this library in an angular component or directive, but I don't have time...
You just need to fetch the `d3-dependencies.json` as you like and then fill the `nodes` and `links` properties [like in the example](https://github.com/vasturiano/3d-force-graph/blob/master/example/tree/index.html#L50).
The problem is that `jsonURL` is async ([check this issue](https://github.com/vasturiano/3d-force-graph/issues/498)), so there are no nodes yet when you call `graphData`. You can either do your own call to get the...
In the gData you can set the property `fz` [like this https://codepen.io/raulprop/pen/GROdJWd](https://codepen.io/raulprop/pen/GROdJWd). Otherwise, you could do it programatically afterwards by accessing the node using the `graphData().nodes` accessor. i.e.: ```javascript const...
That is because `.jsonUrl()` sets the data asynchronously, so when you call the `setZPosition` function the data is not loaded yet. In order to know that the data has been...
You can already do all of this using some attributes (check the [Link Styling](https://github.com/vasturiano/3d-force-graph#link-styling) section in the documentation). Some attributes you can use for your requests: - Link type -...
This is another approach (I don't know if it has better performance): I have used a second scene that renders the visible objects with a unique color (from 0x000001 to...
> Having issues with raycasting correctly there. This is what I'm trying but it's not picking up any intersections unless I make one of the hulls take up the entire...
The trick that I use to do something as soon as the graph load is the `onEngineTick` property. ```js graph.onEngineTick(() => { // Do something the first time the engine...
I have the exact same problem with the same phone