I am trying to find an easy way to animate at tree where nodes are circles with text in them and edges are lines.
Once in a while an event occurs that changes the status of one of the nodes, and this should change the color of the node.
I have looked at networkx as in Animating Network Growth with NetworkX and Matplotlib but I am unsure if you can get a correct tree layout here, and that the animation is performant.
I do not have a lot of time so I would greatly appreciate suggestions for easy (hacky) ways of doing this.
The the best thing would be to have a function to call:
change_color(node)
that would update a Qt4 gui or something similar. It would be really good if I can use a graph/tree library so that I only have to specify the tree in a simple format and the library takes care of positioning nodes in the gui.