I'm writing an application that manipulates some sort of social network data, so the ideal underlying data structure is weighted directed graph. I'd like to do the manipulation (and searching) directly on the data, without first loading the entire graph into memory and serializing after.
This could be simulated using a standard SQL database, or key/value store, but that would be very inefficient (for the graph-traversal algorithms I'd like to use, e.g shortest path, etc.).
I'm half a mind to write my own since googling didn't turn up any useful results, but I'd much rather use an existing solution (if there is any and I missed it) than reinvent the wheel. The project is for fun / personal research, so the software would have to be open source (and prefferably capable of running under Linux).
So, are there any projects that would fit the above description?
Thanks!