Hi everyone, for those interested in showing graphs (@chris_klose, @Charly_Wargnier), I’ve found that with Pyvis is very easy to work out within streamlit. Here is an example of what can be done:
You can play with the app here:
https://share.streamlit.io/napoles-uach/streamlit_network/main/app.py
and here is the repo:
https://github.com/napoles-uach/streamlit_network
15 Likes
Super job Jose! I’ll definitely try it for my app!
1 Like
Wow that is almost comparable to agraph-component! Petty nice.
I could not quite grasp why the html files are needed.
Neither I could find them in the source code.
Is there a chance that you upload them to Github too?
I also like the option bar at the bottom. The idea could have come from me .
Maybe there is a general way to build a component out of it?
Anyways, good job and thanks for keeping me posted!
2 Likes
Hi Chris, the html files are generated by pyvis translated from the python code. I think this is part of the beauty of the library, because as I understand, it practically works out the component!!
The html files are build in the streamlit share instance, and there is nothing special about them, but if you want I can put them in the repo.
yeah, it is really cool, that comes with pyvis.
Glad you liked. Do you have some idea to integrate this in agraph-component??
Thanks a lot Charly!! I think this is far way easier that using Bokeh, what do you think?