JonThom

Results 23 comments of JonThom

@micahstubbs @ItFlyingStart @chaitali-pathak I have implemented such a feature in my app. Something like this should work: set a reference on the graph: ``` const fgRef = useRef(null); ``` .....

@csansz jumping in here. Pretty sure the library has no built-in ways to lay out nodes in clusters. You can set the node coordinates whichever way you want by updating...

@andrea-grapl, seems to me the answer is basically in the last sentence of @vasturiano's comment. You basically need to set up a mechanism to set the`f*` attributes before adding the...

@s2t2 this solved it for me - can we close the issue?

Hi, Here is an example using the higher-order component setup. Note that only the width resizing worked for me. Edit: in the below example, I have wrapped ForceGraph2D in a...

Edited my comment above since I had omitted passing `width={props.size.width}` to the ForceGraph2D component

Looks good, thanks for sharing!

Hi @DeKhaos Not sure for cx_freeze, but pyinstaller makes it possible to include 'data' files with the app, and as described above, I included the long callbacks in such a...

@DeKhaos I have taken your code and [made a working app using pyinstaller](https://github.com/JonThom/dash-background-callbacks-pyinstaller) Instructions in the README. I used pyinstaller since I have no experience with cz_freeze and imagine the...

@DeKhaos Sorry to hear the pyinstaller repo isn't working for you, either. Maybe it is linked to the OS (I am on macOS 13.2). I would at least try to...