plotly / react-cytoscapejs

React component for Cytoscape.js network visualisations
MIT License
470 stars 69 forks source link

Question: Could the nodes be interactive? #120

Open dkozar opened 1 year ago

dkozar commented 1 year ago

Could the nodes be:

  1. clickable
  2. have a custom renderer (for showing spinner etc.)?
wojciechteclaw commented 9 months ago
  1. Check the lib: https://github.com/cytoscape/cytoscape.js-cxtmenu if you want to have more options available onCtxMenu click
  2. You can customize it by yourself. I don't know any library doing this except D3
snakeM commented 7 months ago

What I've done in past is use Cytoscape to compute the coordinates of nodes, and then render them using a library which has more interactive features like React Flow .

Example: https://reactflow.dev/examples/layout/dagre