Question

I wish to find a library which is able to render the evolution of a graph during the processing phase. Therefore you would be able to see the graph visually growing and/or pruned according to the current results processed by the classes. Is there any library for python which has the following requirements?

Was it helpful?

Solution

Assuming you are talking about a changing dataset (as opposed to the graph-theoretic type) matplotlib can do this. The documentation for the animation functionality is lengthy, but there are many examples at:

http://matplotlib.org/examples/animation/

If you are talking about the other type of a "graph", you can use networkx to manipulate and render the graph with fixed positions. Underneath it uses matplotlib as its drawing backend.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top