Python: Simulate search algorithms in network models
I am using networkx package to draw power law graphs. I want to simulate a search algorithm on this graph and want to visually see the开发者_开发问答 algorithm move from one node to another on the graph. How do I do that?
On a mac you could use NodeBox: http://nodebox.net/.
NetworkX supports drawing using Graphviz and matplotlib. Did you read the drawing-chapter in its documentation?
精彩评论