JonThom

Results 23 comments of JonThom

@Simon-12 a workaround with pyinstaller is to write the long callbacks in a separate file and include it using 'datas'. Downside is that this exposes the long callbacks source code...

@Simon-12 Here is a sketch of the suggested approach: Here we create a file`long_callbacks.py` in the root project folder (for simplicity; you probably want to put it somewhere else) with...

> @JonThom @Simon-12 > > > Downside is that this exposes the long callbacks source code to the user. > > Just a warning, Pyinstaller doesn't obfuscate any part of...

In the meantime, a workaround is to simply use a callback to replace the upload component after reading its contents.

Edited example slightly: adds super_rel_role_2 to avoid raising unrelated exception due to undefining last role

@JMSwag As a potential user, is the current release fit for use?

@vasturiano thank you for attempting to reproduce the phenomenon. I'll try to pinpoint what might be causing it in my component and get back here.

@diegozuro I achieved it using the `onRenderFramePre` argument: ``` const onRenderFramePre = (ctx, globalScale) => { const centreCoordinates = {"x":250, "y":250} const backgroundImg = new Image(); backgroundImg.src = "www.my-image-url.com"; ctx.drawImage(backgroundImg,...

It's a prop for the React component - check the docs at https://github.com/vasturiano/react-force-graph

@carllau999 check out the [Click to expand/collapse nodes example](https://vasturiano.github.io/react-force-graph/example/expandable-nodes/) ( [source](https://github.com/vasturiano/react-force-graph/blob/master/example/expandable-nodes/index.html) ). If think that's the closest you will get with this library. Alternatively, cytoscape.js has nested nodes. (If this...