react-cytoscapejs icon indicating copy to clipboard operation
react-cytoscapejs copied to clipboard

React component for Cytoscape.js network visualisations

Results 57 react-cytoscapejs issues
Sort by recently updated
recently updated
newest added

When my component re-renders or i mutate the state with a setter, the array containing the nodes is not cleared so we end up with a progressively larger array containing...

Can the newly added nodes to the graph rendered with animations?

Here is my react component that renders the graph on the DOM. import PropTypes from "prop-types"; import React, { Component} from "react"; import cytoscape from "cytoscape"; import dagre from "cytoscape-dagre";...

How to avoid overlapping paths to the nodes ?

Could you please add TypeScript typings to this repo or to a new `@types/react-cytoscapejs` package? Looks like someone already wrote them https://github.com/manuc66/react-cytoscapejs-typescript-sample/blob/master/typings/react-cytoscapejs.d.ts

I'm trying to create a functional component with this lib, and `useState` hooks, but having problems dealing with the `cy` instance. I need to add events to the cy instance,...

Hello everyone, There are several states on my page. When I update a state (onClick, onChange etc.) my nodes positions also change immediately. I looked at Cytoscape.js docs to avoid...

Hi, here is and example and my question why data is mutated when I change position of a node. Link for demo: https://codesandbox.io/s/cytoscapemutatingdata-uq9kh?file=/src/Component.js Recreation path: 1).Click red button 2). Drag...

When I make changes to elements variable, nodes are newly being created well but not edges. I logged out the result but edges exist with exact source and target. What...