react-cytoscapejs
react-cytoscapejs copied to clipboard
React component for Cytoscape.js network visualisations
The docs indicate this technique for straight jsx: ``` class MyApp extends React.Component { render() { return { this.cy = cy }}>; } } ``` When I change my component...
Trying out the README example which renders the nodes but not able to move the nodes individually no matter what. Entire layout (two nodes and the edge) move in unison...
run `npm audit fix` to fix possible audit errors Moreover, I export the library as an ESM build by adapting the source.
Where would you put the Cytoscape.use(), when using this library with Gatsby? The registration of extensions work fine for the standard cytoscape, but using this library I get the following...
I cannot install this libraray. If I run : **npm install react-cytoscapejs** I get : > "npm ERR! EINVAL: invalid argument, read" I already have "cytoscape": "3.10.2", in my project
Hi, We are using this component in a context where users can add/remove nodes dynamically, and it seems useful to re-run the layout after patching regardless of whether the layout...
React 18 brings some infamous changes to the way StrictMode works during development (see https://coderpad.io/blog/development/why-react-18-broke-your-app/). This also seems to cause some issues with this library. I encountered the first error...
I've tried to use a basic example, then switch to FC approach, but simple graph app still fails. Here is a code: ``` import React, {useRef, useCallback, FC} from 'react';...
update custom layout example to work out of the box
I'm seeing this error but the graph is rendered without any visible issues. I only this error when using "cose" layout. ``` Unhandled Runtime Error TypeError: renderer is null Call...