WestHealth / pyvis

Python package for creating and visualizing interactive network graphs.
http://pyvis.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
984 stars 165 forks source link

is there a way to visualize the network while it is getting constructed? #59

Open kant777 opened 4 years ago

kant777 commented 4 years ago

is there a way to visualize the network while it is getting constructed?

I understand this library is very good at providing an easy way to visualize static networks. But in my case I have a stream of edge coming in from a socket connection and I want to visualize them as soon as I receive and edge from the socket connection. How can I do that using library?

if not, any suggestion on a library that can do this in the most simplistic way like pyvis does for static graphs instead of exposing all the low level details?

boludo00 commented 4 years ago

Through the python layer this is not currently possible. We have in the past used custom HTML templates to include custom JavaScript to account for dynamic changes to the graph. VisJS documentation provides an example of how they support dynamic plotting.

I know I would like to implement some more front end features to be able to handle stuff like this. #3 exists to touch on this but just haven't had the time...