Network visualization (ex: ipysigma) within marimo
Hi ! I am trying to make an app with a graph view to visualize and interract with networks.
I can plot static networks without pb with plotly or altair, but cannot integrate interactive libraries.
Has anyone tried https://github.com/medialab/ipysigma or https://pyvis.readthedocs.io/en/latest/index.html in marimo ?
GitHub
GitHub - medialab/ipysigma: A Jupyter widget using sigma.js to rend...
A Jupyter widget using sigma.js to render interactive networks. - medialab/ipysigma
3 Replies
@Alexis de Hauteclocque (Owkin) : we haven't tried either of these in marimo; sorry they don't work yet! While we try to be compatible with Jupyter's display protocol, sometimes there's a bit of work external library authors need to do to make their libraries render in marimo.
If you wouldn't mind, we'd be grateful if you opened an issue in
ipysigma
asking them to support rendering in marimo. You could point them at our documentation on how to integrate with marimo: https://docs.marimo.io/guides/integrating_with_marimo/index.html.
In parallel, we can work on improving our Jupyter compatibility.Hi @Akshay , thanks for the answer. Dynamic graphs are always impressive, so would make a nice demo for marimo IMO.
I just opened an issue as you suggested https://github.com/medialab/ipysigma/issues/237.
GitHub
Issues · medialab/ipysigma
A Jupyter widget using sigma.js to render interactive networks. - Issues · medialab/ipysigma
Thank you!