Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JavaScript Graph Traversal Libraries

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.

like image 763
SooDesuNe Avatar asked Apr 01 '12 21:04

SooDesuNe


1 Answers

JSNetworkX is the closest you can get, but it is in a very early stage of development (e.g., shortest path is implemented only for unweighted graphs).

data.js (which takes inspiration from underscore.js) has a Graph object implementation, but the library is not really specialized on graphs.

like image 109
adrianp Avatar answered Oct 06 '22 05:10

adrianp