Some notes on graph manipulation with python.
My main goal was to provide a graphic output, I finally went to use pydot
This lib allows to generate dot files (for graphviz use)
it's simple and intuitive and allowed me to provide 2 controller methods, one for the image and one for the image map associated with it. This and a small script based on jquery drag and drop plugin, I could provide a nice and intuitive interface for manipulating my graphs.
I successfully managed to use the cytoscape flash widget to display my graphs, but I stumbled upon some restriction.
networkx seems a good lib to create and search path in a graph, I studied it briefly but I didn't fill my current needs.
No comments:
Post a Comment