Hi all,
I am thinking about using Batman models for loading graphs, so nodes and edges will be loaded through websockets to appropriate models and than will go to some graph visualization script. It will be used in both directions, so the users will be able to delete and update nodes/edges and receive push notifications from the server ( I am going to use my websockets storage adapter for that).
The problem is that I have no clue how to implement this. I have nodes and edges that are connected to each other and if I delete a node all edges that point at it should also be deleted. It seems like associations should be of help here but I have not clue how to use them (unfortunately there are only several sentences about them in documentation and the sourcecode does not give me enough ideas of actual usage).