Is there any JavaScript libraries for graph operations and algorithms?

后端 未结 6 1589
北恋
北恋 2020-12-28 15:36

What I need is a JavaScript implementation of pure mathematical graphs. To be clear I DON\'T mean graph visualization libraries like sigma.js or d3.js.

The library I

6条回答
  •  佛祖请我去吃肉
    2020-12-28 16:28

    With help of StackOverflow's similar question recommendations I found couple questions with similar topic.

    First one, Javascript directed acyclic graph library? (Graph visualization is NOT necessary), is close. There nrabinowitz suggests checking out data.js. I quickly browsed through the source of data.js. It really gives interface for handling graphs but only in very basic manner. No traversal algorithms there. It also seems that the goal of data.js is something other than a comprehensive graph library.

    Second one, Javascript library for graph operations, almost same question as this but has no real answers yet (at 2013-01-23 17:32). The author c0dem4gnetic references to NetworkX which is very much what I need but unfortunately implemented only in Python.

    I would be somewhat excited to implement such a library by myself. Graphs are so cool.

提交回复
热议问题