I'm building an app in Python which I would like to make available on the web. On the server side I will have a networkx graph of nodes and links, each of which will have their own pictoral representation. I'm looking for a way to represent this graph on my webpage, and looking for something that will be interactive and aesthetically pleasing. The interactivity required is that I need the user to be able to interact with the graph in an intuitive way, adding nodes and links, getting info about existing nodes, etc. It would conceptually be somewhat similar to mohiomap in web interface.
I've looked into django and flask, but I don't understand if this could be accomplished using these libraries. It seems like fairly graphic oriented content, more like a game than anything. I was looking at pygame and thought that using pyjsdl this might be more appropriate. My question is, is the above something that could be achieved with python. What would be the preferred language/library? I've looked at django and flask, but am wondering if pyglet or pygame may be actually more appropriate for this task. I mainly want to avoid going to deep into anything before I understand conceptually what constructs best fit the described purpose!
I realise this question is currently vague, please advise how I can make it more specific and I will update.
Web browser can execute only JavaScript so you will have to learn JavaScript and use JavaScript libraries in browser plus Django/Flask on server.
PyGame/Pyglet will be useless.
There are tools to conver Python to JavaScript but it may not be so usefull like pure JavaScript or existing libraries in JavaScript.
BTW: see JSNetworkX