Hey community, recently I did a new component called stvis for rendering pyvis graphs. This was for the Tigergraph hackaton, and it is based on a previous work, but hopefully it could be of help for someone else.
here is how it looks:
So if you want to play with this, you can pip install by doing:
pip install stvis
and here is a working example:
from pyvis import network as net import streamlit as st from stvis import pv_static g=net.Network(height='500px', width='500px',heading='') g.add_node(1) g.add_node(2) g.add_node(3) g.add_edge(1,2) g.add_edge(2,3) pv_static(g)