Support for CytoscapeJS

Hello there, I made a very super early release component for this. Here’s streamlit-cytoscapejs which really just wraps react-cytoscape that Plotly uses for dash-cytoscape.

This is very WIP and also I won’t immediately have the bandwith to push this, but if anyone wants to help on this I’m ready to lend a hand :slight_smile:.

Also if you’re using Cytoscape.js, do tell us about your use cases + code samples, here or in the Github project so we see how to orient the roadmap for this.

PS: while my component uses the bidirectional Streamlit component template, it looks like most graphs don’t need data collected back to Streamlit so for that, if you know how to map your Cytoscape.js data to some clean HTML with Cytoscape.js loaded from CDN in a single string, you could just put this string in st.html. I wrote 2 examples of this for loading Lottie animations using Jinja and loading MaterialUI table. If you need help on this we can talk about this here too.

Best,
Fanilo

3 Likes