I'd like a recommendation on a good javascript library for operating on graphs/networks. I'm not interested in visualization, just things like finding the shortest path and spanning trees.
I've looked at crow, it seems pretty good, but is object oriented.
A functional model, like underscore.js is my preference, but not a requirement.