Interactive graph visualization with gravis

1 view
Skip to first unread message

Robert Haas

unread,
Jan 14, 2022, 3:30:55 PMJan 14
to SNAP Users Group
Hi everyone!

I've written an open-source package for interactive graph visualization with Python and HTML/CSS/JS called gravis.

It supports SNAP by accepting its objects (TUNGraph, TNGraph, TUndirNet, TDirNet, TNEANet) as input for the provided plotting functions. The output is a Figure object that can be displayed in a web browser (separate window or inline in Jupyter notebook) and exported to a standalone HTML file or a static image (JPG, PNG, SVG). In the browser you can drag around nodes, play with layout algorithms and their parameters, see additional information when hovering over or clicking on an element, and more.

The package and its documentation can be found here:
https://pypi.org/project/gravis
https://robert-haas.github.io/gravis-docs

The examples in the documentation contain a (preliminary) notebook that demonstrates the combined use of SNAP and gravis:
https://robert-haas.github.io/gravis-docs/code/examples/external_tools/snap.html

I hope you find it useful for inspecting your graphs and networks! Feedback of any sorts is always welcome. Please keep in mind that the package is in its beta version, so things may still change slightly in future releases, but you'll always be able to download any version from PyPI.
Reply all
Reply to author
Forward
0 new messages